ARM: dts: imx6qp: prtwd3: Enable USB over current detection on USB OTG port
authorOleksij Rempel <o.rempel@pengutronix.de>
Tue, 30 May 2023 12:03:41 +0000 (14:03 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sun, 4 Jun 2023 13:07:20 +0000 (21:07 +0800)
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>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qp-prtwd3.dts

index cf6571cc4682e226773b5c996a44cb45b23e57ff..ae00d538a4dfc38bf15bd7a4302b245d8321a87a 100644 (file)
        pinctrl-0 = <&pinctrl_usbotg>;
        phy_type = "utmi";
        dr_mode = "host";
-       disable-over-current;
+       over-current-active-low;
        status = "okay";
 };