• William Wu's avatar
    usb: dwc3: add disable u2mac linestate check quirk · 65db7a0c
    William Wu authored
    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: default avatarRob Herring <robh@kernel.org>
    Reviewed-by: default avatarGuenter Roeck <groeck@chromium.org>
    Signed-off-by: default avatarWilliam Wu <william.wu@rock-chips.com>
    Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
    65db7a0c
dwc3.txt 3.34 KB