From: Michal Vokáč Date: Wed, 15 Jan 2020 15:17:28 +0000 (+0100) Subject: ARM: dts: imx6dl-yapp4: Specify USB overcurrent protection polarity X-Git-Tag: v5.15~4151^2~18^2~47 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=21437391a5f923bf3d3e09bc9cbde49b47bc4eaf;p=platform%2Fkernel%2Flinux-starfive.git ARM: dts: imx6dl-yapp4: Specify USB overcurrent protection polarity After reset the oc protection polarity is set to active high on imx6. If the polarity is not specified in device tree it is not changed. The imx6dl-yapp4 platform uses an active-low oc signal so explicitly configure that in the device tree. Signed-off-by: Michal Vokáč Signed-off-by: Shawn Guo --- diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi index 80ed5f1..2b9423d 100644 --- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi +++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi @@ -562,6 +562,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usbh1>; vbus-supply = <®_usb_h1_vbus>; + over-current-active-low; status = "disabled"; }; @@ -569,6 +570,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usbotg>; vbus-supply = <®_usb_otg_vbus>; + over-current-active-low; srp-disable; hnp-disable; adp-disable;