Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1713665 > unrolled thread

[PATCH] arm64: dts: rockchip: disable tx ipgap linecheck for rk3399 dwc3

Started byWilliam Wu <william.wu@rock-chips.com>
First post2017-08-17 10:30 +0200
Last post2017-08-18 11:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] arm64: dts: rockchip: disable tx ipgap linecheck for rk3399 dwc3 William Wu <william.wu@rock-chips.com> - 2017-08-17 10:30 +0200
    Re: [PATCH] arm64: dts: rockchip: disable tx ipgap linecheck for rk3399 dwc3 Heiko Stuebner <heiko@sntech.de> - 2017-08-18 11:20 +0200

#1713665 — [PATCH] arm64: dts: rockchip: disable tx ipgap linecheck for rk3399 dwc3

FromWilliam Wu <william.wu@rock-chips.com>
Date2017-08-17 10:30 +0200
Subject[PATCH] arm64: dts: rockchip: disable tx ipgap linecheck for rk3399 dwc3
Message-ID<ufolI-2dr-1@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1714737

FromHeiko Stuebner <heiko@sntech.de>
Date2017-08-18 11:20 +0200
Message-ID<ufLBD-1uG-1@gated-at.bofh.it>
In reply to#1713665
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web