From: Oleksij Rempel Date: Tue, 30 May 2023 12:03:41 +0000 (+0200) Subject: ARM: dts: imx6qp: prtwd3: Enable USB over current detection on USB OTG port X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=18ee5b92ed5e27b667a3a464cbf7e9e7191765fa;p=linux.git ARM: dts: imx6qp: prtwd3: Enable USB over current detection on USB OTG port 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 Signed-off-by: Shawn Guo --- diff --git a/arch/arm/boot/dts/imx6qp-prtwd3.dts b/arch/arm/boot/dts/imx6qp-prtwd3.dts index cf6571cc4682e..ae00d538a4dfc 100644 --- a/arch/arm/boot/dts/imx6qp-prtwd3.dts +++ b/arch/arm/boot/dts/imx6qp-prtwd3.dts @@ -350,7 +350,7 @@ pinctrl-0 = <&pinctrl_usbotg>; phy_type = "utmi"; dr_mode = "host"; - disable-over-current; + over-current-active-low; status = "okay"; };