diff mbox series

[v1,11/15] ARM: dts: imx6qp: prtwd3: Enable USB over current detection on USB OTG port

Message ID 20230530120345.2874900-12-o.rempel@pengutronix.de (mailing list archive)
State New, archived
Headers show
Series Maintenance updates for Protonic Holland boards | expand

Commit Message

Oleksij Rempel May 30, 2023, 12:03 p.m. UTC
The imx6qp-prtwd3 board supports USB over current detection on the USB
OTG port, however, it was previously disabled in the device tree. This
commit enables the over current detection by changing the device tree
setting from 'disable-over-current' to 'over-current-active-low'. This
could potentially protect the USB port from damage due to over current
situations.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 arch/arm/boot/dts/imx6qp-prtwd3.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/imx6qp-prtwd3.dts b/arch/arm/boot/dts/imx6qp-prtwd3.dts
index a8154c901d4f..657d112ac3a1 100644
--- a/arch/arm/boot/dts/imx6qp-prtwd3.dts
+++ b/arch/arm/boot/dts/imx6qp-prtwd3.dts
@@ -518,7 +518,7 @@  &usbotg {
 	pinctrl-0 = <&pinctrl_usbotg>;
 	phy_type = "utmi";
 	dr_mode = "host";
-	disable-over-current;
+	over-current-active-low;
 	status = "okay";
 };