]> rtime.felk.cvut.cz Git - vajnamar/linux-xlnx.git/commit
dwc3: core: Enable GUCTL1 chicken bit 9 for correcting Inter Packet Delay(IPD)
authorAnurag Kumar Vulisha <anurag.kumar.vulisha@xilinx.com>
Wed, 10 May 2017 14:12:01 +0000 (19:42 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 20 Jun 2017 12:13:35 +0000 (14:13 +0200)
commit30c4cdcdf2cde5a81fe826e073de0f486797a0d3
tree18ab11a1350f024e1077917f490c0c4ca1b3f686
parentb28afbcf7f87a6cfe256ec77a91586614246f411
dwc3: core: Enable GUCTL1 chicken bit 9 for correcting Inter Packet Delay(IPD)

SNPS controller when configureed in HOST mode maintains Inter Packet
Delay (IPD) of ~380ns which works with most of super-speed hubs except
VIA-LAB hubs. When IPD is ~380ns HOST controller fails to enumerate FS/LS
devices when connected behind VIA-LAB hubs.
Enabling bit 9 of GUCTL1 enables the workaround in HW to reduce the ULPI
clock latency by 1 cycle, thus reducing the IPD (~360ns) and making
controller enumerate FS/LS devices connected behind VIA-LAB.
This patch fixes the same.

Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Documentation/devicetree/bindings/usb/dwc3.txt
drivers/usb/dwc3/core.c
drivers/usb/dwc3/core.h