u-boot-brain/drivers/usb
Jagan Teki dc18413adb 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.

Reference from below Linux commit,

commit <65db7a0c9816> ("usb: dwc3: add disable u2mac linestate
check quirk")

Cc: Marek Vasut <marex@denx.de>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2020-05-29 18:13:19 +08:00
..
cdns3 common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
common common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
dwc3 usb: dwc3: Add disable u2mac linestate check quirk 2020-05-29 18:13:19 +08:00
emul common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
eth eth/r8152: fix typo in register name 2020-05-22 15:22:37 +02:00
gadget common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
host usb: dwc3: fix NULL pointer issue 2020-05-22 15:22:36 +02:00
musb common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
musb-new common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
phy common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ulpi common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
Kconfig sunxi: Move common defconfig options to Kconfig 2020-03-18 18:25:00 +05:30