ARM: dts: tx6: Remove 'enable-active-low' property
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 23 May 2017 15:32:44 +0000 (12:32 -0300)
committerShawn Guo <shawnguo@kernel.org>
Thu, 25 May 2017 07:52:40 +0000 (15:52 +0800)
Property 'enable-active-low' does not exist. Only 'enable-active-high' is
valid, and when this property is absent the gpio regulator will act as
active low by default.

So remove the unexisting 'enable-active-low' property.

Currently the GPIO flag is GPIO_ACTIVE_HIGH. In order to make
the dts description accurate, pass the GPIO_ACTIVE_LOW flag instead.

This change is safe because the gpio regulator driver does not take the
GPIO flag polarity into account.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-tx6.dtsi
arch/arm/boot/dts/imx6ul-tx6ul.dtsi

index 1691714f13a21d9f322ee4d09e7cf7223f650d87..a146fe7fdc5a0fe4f4a8108bcbf3c587d09330c9 100644 (file)
                regulator-max-microvolt = <3300000>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_flexcan_xcvr>;
-               gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>;
-               enable-active-low;
+               gpio = <&gpio4 21 GPIO_ACTIVE_LOW>;
        };
 
        reg_lcd0_pwr: regulator-lcd0-pwr {
index c784a0b75ca0e83c4e9e2a610f3617a94adbe08a..4ccc9e9d2c29882302d1cc0dd9df5d113098318a 100644 (file)
                regulator-max-microvolt = <3300000>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_flexcan_xcvr>;
-               gpio = <&gpio3 5 GPIO_ACTIVE_HIGH>;
-               enable-active-low;
+               gpio = <&gpio3 5 GPIO_ACTIVE_LOW>;
        };
 
        reg_lcd_pwr: regulator-lcdpwr {