Skip to contentSkip to conversation

ARM: dts: exynos: Use dwc3 quirk for USB3 and LAN on Odroid XU4

PATCH In review Jochen Sprickerhof 3 participants 3 messages Sep 30, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: exynos: Use dwc3 quirk for USB3 and LAN on Odroid XU4

Without this, the USB3 and LAN ports don't show up.

See also https://bugs.debian.org/843448

This was first proposed in https://lkml.org/lkml/2015/3/18/400 but for exynos5420.dtsi. I only tested it on Odroid XU4, so I propose it only for that board. Also I found the dis_u2_susphy_quirk to make no difference, so it's not included.

A second proposal is in https://lkml.org/lkml/2017/1/24/402, but only for USB3, not for the LAN port.

---
arch/arm/boot/dts/exynos5422-odroidxu4.dts | 7 +++++++

1 file changed, 7 insertions(+)
arch/arm/boot/dts/exynos5422-odroidxu4.dts +0 -0
index 2faf88627a48..30fc4d35422e 100644
@@ -43,6 +43,13 @@
	status = "okay";
};

+&usbdrd_dwc3_0 {
+ /* quirk is needed to make USB3 ports work */
+ snps,dis_u3_susphy_quirk;
+};
+

&usbdrd_dwc3_1 {
	dr_mode = "host";

+ /* quirk is needed to make LAN port work */
+ snps,dis_u3_susphy_quirk;
};

Signature · 1 line
2.14.2
#1 lore raw
Quoted 11 lines · Jochen Sprickerhof

Without this, the USB3 and LAN ports don't show up.

See also https://bugs.debian.org/843448

This was first proposed in https://lkml.org/lkml/2015/3/18/400 but for exynos5420.dtsi. I only tested it on Odroid XU4, so I propose it only for that board. Also I found the dis_u2_susphy_quirk to make no difference, so it's not included.

A second proposal is in https://lkml.org/lkml/2017/1/24/402, but only for USB3, not for the LAN port.

No external references in commit msg (if really needed it could go to BugLink but this should be just described here) and no links to lkml.org please (it just does not work, instead for example
http://lkml.kernel.org/r/).

It looks like already merged:
https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git/commit/?h=next/dt&id=3bf689f9275ff73de1ffad3e571837c8bff41d27

What is the difference?

Best regards,
Krzysztof

Quoted 26 lines

---
arch/arm/boot/dts/exynos5422-odroidxu4.dts | 7 +++++++

1 file changed, 7 insertions(+)
arch/arm/boot/dts/exynos5422-odroidxu4.dts +7 -0
index 2faf88627a48..30fc4d35422e 100644
@@ -43,6 +43,13 @@
 	status = "okay";
 };
 
+&usbdrd_dwc3_0 {
+	/* quirk is needed to make USB3 ports work */
+	snps,dis_u3_susphy_quirk;
+};
+
 &usbdrd_dwc3_1 {
 	dr_mode = "host";
+	/* quirk is needed to make LAN port work */
+	snps,dis_u3_susphy_quirk;
 };
Signature · 1 line
2.14.2