Skip to contentSkip to conversation

ARM: dts: imx6qdl-dhcom: Add USB overcurrent pin on SoM layer

PATCH Applied Christoph Niedermaier 4 participants 4 messages Dec 14, 2021 – Dec 16, 2021

Subsystems (3)
lore
Share & tools
lore

Christoph Niedermaier

author maintainer
#0 lore raw

PATCH v2 1/1 ARM: dts: imx6qdl-dhcom: Add USB overcurrent pin on SoM layer

Add USB overcurrent pin muxing on SoM layer. On DRC02 and PDK2 the USB overcurrent pin isn't connected, but a USB hub on the board takes care of the USB overcurrent instead. Therefore disable it there with the property disable-over-current.

Cc Shawn Guo <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Marek Vasut <[email protected]>
Cc NXP Linux Team <[email protected]>

To: [email protected]

---
 arch/arm/boot/dts/imx6qdl-dhcom-drc02.dtsi | 4 ++++
 arch/arm/boot/dts/imx6qdl-dhcom-pdk2.dtsi  | 4 ++++
 arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi   | 1 +
 3 files changed, 9 insertions(+)
arch/arm/boot/dts/imx6qdl-dhcom-drc02.dtsi +4 -0
index 3d0a50a9ab21..702cd4a1b2e6 100644
@@ -95,6 +95,10 @@
 	rts-gpios = <&gpio7 13 GPIO_ACTIVE_HIGH>; /* GPIO P */
 };
 
+&usbh1 {
+	disable-over-current;
+};
+
 &usdhc2 { /* SD card */
 	status = "okay";
 };
arch/arm/boot/dts/imx6qdl-dhcom-pdk2.dtsi +4 -0
index dc21853706a5..dc89b554e694 100644
@@ -260,6 +260,10 @@
 	status = "okay";
 };
 
+&usbh1 {
+	disable-over-current;
+};
+
 &usdhc2 { /* SD card */
 	status = "okay";
 };
arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi +1 -0
index 5d10c40313cb..ed5ba358d4cb 100644
@@ -728,6 +728,7 @@
 	pinctrl_usbh1: usbh1-grp {
 		fsl,pins = <
 			MX6QDL_PAD_EIM_D31__GPIO3_IO31		0x120b0
+			MX6QDL_PAD_EIM_D30__USB_H1_OC		0x1b0b1
 		>;
 	};
 
Signature · 7 lines
2.11.0


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Reviewed-by on v2 1/1
#1 lore raw
Quoted 5 lines · Christoph Niedermaier

Add USB overcurrent pin muxing on SoM layer. On DRC02 and PDK2 the USB overcurrent pin isn't connected, but a USB hub on the board takes care of the USB overcurrent instead. Therefore disable it there with the property disable-over-current.

Quoted 7 lines
Cc Shawn Guo <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Marek Vasut <[email protected]>
Cc NXP Linux Team <[email protected]>

To: [email protected]

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

reviewer Reviewed-by on v2 1/1
#2 lore raw
In reply to Christoph Niedermaier
Quoted 6 lines · Christoph Niedermaier

Add USB overcurrent pin muxing on SoM layer. On DRC02 and PDK2 the USB overcurrent pin isn't connected, but a USB hub on the board takes care of the USB overcurrent instead. Therefore disable it there with the property disable-over-current.

Quoted 7 lines
Cc Shawn Guo <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Marek Vasut <[email protected]>
Cc NXP Linux Team <[email protected]>

To: [email protected]

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Applied
#3 lore raw
In reply to Christoph Niedermaier
Quoted 5 lines · Christoph Niedermaier

Add USB overcurrent pin muxing on SoM layer. On DRC02 and PDK2 the USB overcurrent pin isn't connected, but a USB hub on the board takes care of the USB overcurrent instead. Therefore disable it there with the property disable-over-current.

Quoted 7 lines
Cc Shawn Guo <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Marek Vasut <[email protected]>
Cc NXP Linux Team <[email protected]>

To: [email protected]

Applied, thanks!

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel