* [PATCH] arm64: dts: rockchip: disable tx ipgap linecheck for rk3399 dwc3
@ 2017-08-17 8:24 William Wu
2017-08-18 9:18 ` Heiko Stuebner
0 siblings, 1 reply; 2+ messages in thread
From: William Wu @ 2017-08-17 8:24 UTC (permalink / raw)
To: heiko
Cc: robh+dt, mark.rutland, linux, linux-arm-kernel, devicetree,
linux-kernel, linux-rockchip, frank.wang, huangtao, daniel.meng,
william.wu
RK3399 USB DWC3 controller has a issue that FS/LS devices not
recognized if inserted through USB 3.0 HUB. It's because that
the inter-packet delay between the SSPLIT token to SETUP token
is about 566ns, more then the USB spec requirement.
This patch adds a quirk "snps,dis-tx-ipgap-linecheck-quirk" to
disable the u2mac linestate check to decrease the SSPLIT token
to SETUP token inter-packet delay from 566ns to 466ns.
Signed-off-by: William Wu <william.wu@rock-chips.com>
---
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index 27a4616..69cb311 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
@@ -412,6 +412,7 @@
snps,dis-u2-freeclk-exists-quirk;
snps,dis_u2_susphy_quirk;
snps,dis-del-phy-power-chg-quirk;
+ snps,dis-tx-ipgap-linecheck-quirk;
status = "disabled";
};
};
@@ -439,6 +440,7 @@
snps,dis-u2-freeclk-exists-quirk;
snps,dis_u2_susphy_quirk;
snps,dis-del-phy-power-chg-quirk;
+ snps,dis-tx-ipgap-linecheck-quirk;
status = "disabled";
};
};
--
2.0.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: disable tx ipgap linecheck for rk3399 dwc3
2017-08-17 8:24 [PATCH] arm64: dts: rockchip: disable tx ipgap linecheck for rk3399 dwc3 William Wu
@ 2017-08-18 9:18 ` Heiko Stuebner
0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2017-08-18 9:18 UTC (permalink / raw)
To: William Wu
Cc: robh+dt, mark.rutland, linux, linux-arm-kernel, devicetree,
linux-kernel, linux-rockchip, frank.wang, huangtao, daniel.meng
Am Donnerstag, 17. August 2017, 16:24:32 CEST schrieb William Wu:
> RK3399 USB DWC3 controller has a issue that FS/LS devices not
> recognized if inserted through USB 3.0 HUB. It's because that
> the inter-packet delay between the SSPLIT token to SETUP token
> is about 566ns, more then the USB spec requirement.
>
> This patch adds a quirk "snps,dis-tx-ipgap-linecheck-quirk" to
> disable the u2mac linestate check to decrease the SSPLIT token
> to SETUP token inter-packet delay from 566ns to 466ns.
>
> Signed-off-by: William Wu <william.wu@rock-chips.com>
applied for 4.14
Thanks
Heiko
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-18 9:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-17 8:24 [PATCH] arm64: dts: rockchip: disable tx ipgap linecheck for rk3399 dwc3 William Wu
2017-08-18 9:18 ` Heiko Stuebner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).