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@xxxxxxxxxxxxxx> --- arch/arm/boot/dts/imx6qp-prtwd3.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; }; -- 2.39.2