ARM: dts: imx6dl-yapp4: Specify USB overcurrent protection polarity
authorMichal Vokáč <michal.vokac@ysoft.com>
Wed, 15 Jan 2020 15:17:28 +0000 (16:17 +0100)
committerShawn Guo <shawnguo@kernel.org>
Thu, 13 Feb 2020 02:07:46 +0000 (10:07 +0800)
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áč <michal.vokac@ysoft.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6dl-yapp4-common.dtsi

index 80ed5f1..2b9423d 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_usbh1>;
        vbus-supply = <&reg_usb_h1_vbus>;
+       over-current-active-low;
        status = "disabled";
 };
 
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_usbotg>;
        vbus-supply = <&reg_usb_otg_vbus>;
+       over-current-active-low;
        srp-disable;
        hnp-disable;
        adp-disable;