linux_dsm_epyc7002/drivers/usb/dwc3
William Wu 65db7a0c98 usb: dwc3: add disable u2mac linestate check quirk
This patch adds a quirk to disable USB 2.0 MAC linestate check
during HS transmit. Refer the dwc3 databook, we can use it for
some special platforms if the linestate not reflect the expected
line state(J) during transmission.

When use this quirk, the controller implements a fixed 40-bit
TxEndDelay after the packet is given on UTMI and ignores the
linestate during the transmit of a token (during token-to-token
and token-to-data IPGAP).

On some rockchip platforms (e.g. rk3399), it requires to disable
the u2mac linestate check to decrease the SSPLIT token to SETUP
token inter-packet delay from 566ns to 466ns, and fix the issue
that FS/LS devices not recognized if inserted through USB 3.0 HUB.

Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: William Wu <william.wu@rock-chips.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2017-05-17 14:16:57 +03:00
..
core.c usb: dwc3: add disable u2mac linestate check quirk 2017-05-17 14:16:57 +03:00
core.h usb: dwc3: add disable u2mac linestate check quirk 2017-05-17 14:16:57 +03:00
debug.h usb: dwc3: expose dwc3_trb_type_string() 2017-04-11 10:58:26 +03:00
debugfs.c usb: dwc3: core: make dwc3_set_mode() work properly 2017-04-11 10:58:30 +03:00
drd.c usb: dwc3: Add dual-role support 2017-04-11 10:58:31 +03:00
dwc3-exynos.c usb: dwc3: exynos: change goto labels to meaningful names 2017-04-11 10:58:19 +03:00
dwc3-keystone.c
dwc3-of-simple.c
dwc3-omap.c usb: dwc3: use BIT() macro where possible 2017-04-11 10:58:23 +03:00
dwc3-pci.c usb: dwc3: pci: Switch to devm_acpi_dev_add_driver_gpios() 2017-03-23 13:39:13 +01:00
dwc3-st.c
ep0.c usb: dwc3: simplify ZLP handling 2017-04-11 10:58:29 +03:00
gadget.c usb: dwc3: gadget: lazily map requests for DMA 2017-05-17 13:21:14 +03:00
gadget.h usb: dwc3: use BIT() macro where possible 2017-04-11 10:58:23 +03:00
host.c usb: dwc3: host: pass quirk-broken-port-ped property for known broken revisions 2017-01-26 11:17:37 +02:00
io.h
Kconfig usb: changes for v4.12 2017-04-11 16:47:26 +02:00
Makefile usb: dwc3: Add dual-role support 2017-04-11 10:58:31 +03:00
trace.c
trace.h usb: dwc3: expose dwc3_trb_type_string() 2017-04-11 10:58:26 +03:00
ulpi.c