[PATCH] ARM: dts: imx6qdl-dhcom: Add USB overcurrent pin on SoM layer
Christoph Niedermaier
cniedermaier at dh-electronics.com
Wed Dec 8 07:15:04 PST 2021
Add USB overcurrent pin muxing on SoM layer, but disable it
by default. If a board has connected this pin like the
picoITX, this property should be removed in the board file.
Signed-off-by: Christoph Niedermaier <cniedermaier at dh-electronics.com>
Cc: Shawn Guo <shawnguo at kernel.org>
Cc: Fabio Estevam <festevam at gmail.com>
Cc: Marek Vasut <marex at denx.de>
Cc: NXP Linux Team <linux-imx at nxp.com>
Cc: kernel at dh-electronics.com
To: linux-arm-kernel at lists.infradead.org
---
arch/arm/boot/dts/imx6qdl-dhcom-picoitx.dtsi | 4 ++++
arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi | 2 ++
2 files changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/imx6qdl-dhcom-picoitx.dtsi b/arch/arm/boot/dts/imx6qdl-dhcom-picoitx.dtsi
index 4cd4cb9543c8..a67682bfe7bd 100644
--- a/arch/arm/boot/dts/imx6qdl-dhcom-picoitx.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-dhcom-picoitx.dtsi
@@ -48,6 +48,10 @@
"", "", "", "", "", "", "", "";
};
+&usbh1 { /* USB overcurrent pin is connected */
+ /delete-property/ disable-over-current;
+};
+
&iomuxc {
pinctrl-0 = <
/*
diff --git a/arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi b/arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi
index 5d10c40313cb..e4fdce016c34 100644
--- a/arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi
@@ -385,6 +385,7 @@
};
&usbh1 {
+ disable-over-current;
dr_mode = "host";
pinctrl-0 = <&pinctrl_usbh1>;
pinctrl-names = "default";
@@ -728,6 +729,7 @@
pinctrl_usbh1: usbh1-grp {
fsl,pins = <
MX6QDL_PAD_EIM_D31__GPIO3_IO31 0x120b0
+ MX6QDL_PAD_EIM_D30__USB_H1_OC 0x1b0b1
>;
};
--
2.11.0
More information about the linux-arm-kernel
mailing list