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


Groups > linux.kernel > #1713665

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

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From William Wu <william.wu@rock-chips.com>
Newsgroups linux.kernel
Subject [PATCH] arm64: dts: rockchip: disable tx ipgap linecheck for rk3399 dwc3
Date Thu, 17 Aug 2017 10:30:02 +0200
Message-ID <ufolI-2dr-1@gated-at.bofh.it> (permalink)
X-263anti-Spam KSV:0;
X-Mail-Delivery 1
X-Abs-Checked 4
X-Rl-Sender william.wu@rock-chips.com
X-Fst-To heiko@sntech.de
X-Sender-IP 58.22.7.114
X-Login-Name william.wu@rock-chips.com
X-Unique-Tag <5e409a314493af80b265a052ece61c6c>
X-Sender wulf@rock-chips.com
X-Mailer git-send-email 2.0.0
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 36
Organization linux.* mail to news gateway
X-Original-Cc robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, frank.wang@rock-chips.com, huangtao@rock-chips.com, daniel.meng@rock-chips.com, william.wu@rock-chips.com
X-Original-Date Thu, 17 Aug 2017 16:24:32 +0800
X-Original-Message-ID <1502958272-1384-1-git-send-email-william.wu@rock-chips.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1713665

Show key headers only | View raw


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

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[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

csiph-web