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)
commit88607a821ffc04034dea91747f79f2d83fe5c232
tree027626a6aabe9a9bd21ae7ce6dc0ec3a8f4c2171
parent9584a60a3b34f3408690bd3f310137494727f10a
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