u-boot-brain/drivers
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
..
adc common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ata common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
axi common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
bios_emulator common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
block common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
board common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
bootcount common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
cache common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
clk clk: rk3399: Enable/Disable TCPHY clocks 2020-05-29 18:08:49 +08:00
core common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00
cpu cpu: imx8: use intended cpu-thermal device when getting temp value 2020-05-22 13:27:46 +02:00
crypto drivers: crypto: mod_exp_sw: Re-add DM_FLAG_PRE_RELOC 2020-05-19 14:01:47 -04:00
ddr common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
demo common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
dfu common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
dma common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
fastboot common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
firmware common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
fpga common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
gpio common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
hwspinlock common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
i2c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
input common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
led common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mailbox common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
memory SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
misc common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mmc common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mtd mtd: rawnand: denali: deassert write protect pin 2020-05-22 11:21:06 +09:00
net net: ks8851: Add Kconfig entries 2020-05-22 19:46:45 +02:00
nvme common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pch common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pci pci: Make Rockchip PCIe voltage regulators optional 2020-05-29 17:59:49 +08:00
pci_endpoint common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
phy phy: rockchip: Add Rockchip USB TypeC PHY driver 2020-05-29 18:13:19 +08:00
pinctrl common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
power common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
pwm common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
qe common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
ram common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
remoteproc common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
reset common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
rng common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
rtc common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
scsi common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
serial common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
smem common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00
soc common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
sound common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
spi common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
spmi dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
sysreset common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
tee common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
thermal thermal: imx_scu_thermal: prevent boot hang with zero pdata 2020-05-22 13:29:25 +02:00
timer common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
tpm common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ufs common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
usb usb: dwc3: Add disable u2mac linestate check quirk 2020-05-29 18:13:19 +08:00
video common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
virtio common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
w1 common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
w1-eeprom common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
watchdog common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
Kconfig dm: rng: Add random number generator(rng) uclass 2020-01-07 18:08:21 +01:00
Makefile phy: rockchip: Add Rockchip USB2PHY driver 2020-05-29 18:13:19 +08:00