]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: tegra-xudc: add port_speed_quirk
authorNagarjuna Kristam <nkristam@nvidia.com>
Mon, 4 May 2020 06:34:41 +0000 (12:04 +0530)
committerFelipe Balbi <balbi@kernel.org>
Mon, 25 May 2020 08:09:40 +0000 (11:09 +0300)
commit1a8814010511652a2f5c0f3f3882ef625e707599
tree027626a6aabe9a9bd21ae7ce6dc0ec3a8f4c2171
parentd1d293ac71ec26e50570e401d9e53b7fc42a8eaf
usb: gadget: tegra-xudc: add port_speed_quirk

OTG port on Tegra194 supports GEN1 speeds when in device mode and GEN2
speeds when in host mode. dd port_speed_quirk that configures port to
GEN1/GEN2 speds, corresponding to the mode.

Based on work by WayneChang <waynec@nvidia.com>

Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/gadget/udc/tegra-xudc.c