ARM: dts: colibri-imx6: specify usbh_pen gpio being active-low
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Wed, 28 Sep 2022 07:33:34 +0000 (09:33 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 24 Oct 2022 01:46:33 +0000 (09:46 +0800)
Specify USBH_PEN GPIO being active-low rather than active-high.

Note that this should not have any functional impact as for fixed
regulators the regular GPIO polarity is ignored and a true active-high
enable GPIO would need an additional enable-active-high property which
is/was not the case here. However, this may be rather confusing which
this patch fixes.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-colibri.dtsi

index 21c5049..d8f985f 100644 (file)
 
        reg_usb_host_vbus: regulator-usb-host-vbus {
                compatible = "regulator-fixed";
-               gpio = <&gpio3 31 GPIO_ACTIVE_HIGH>; /* SODIMM 129 / USBH_PEN */
+               gpio = <&gpio3 31 GPIO_ACTIVE_LOW>; /* SODIMM 129 / USBH_PEN */
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_regulator_usbh_pwr>;
                regulator-max-microvolt = <5000000>;