ARM: dts: tx6: Remove 'enable-active-low' property

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>
This commit is contained in:
Fabio Estevam 2017-05-23 12:32:44 -03:00 committed by Shawn Guo
parent 71ba49902d
commit 8b7be72b1f
2 changed files with 2 additions and 4 deletions

View File

@ -133,8 +133,7 @@
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_flexcan_xcvr>; pinctrl-0 = <&pinctrl_flexcan_xcvr>;
gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>; gpio = <&gpio4 21 GPIO_ACTIVE_LOW>;
enable-active-low;
}; };
reg_lcd0_pwr: regulator-lcd0-pwr { reg_lcd0_pwr: regulator-lcd0-pwr {

View File

@ -173,8 +173,7 @@
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_flexcan_xcvr>; pinctrl-0 = <&pinctrl_flexcan_xcvr>;
gpio = <&gpio3 5 GPIO_ACTIVE_HIGH>; gpio = <&gpio3 5 GPIO_ACTIVE_LOW>;
enable-active-low;
}; };
reg_lcd_pwr: regulator-lcdpwr { reg_lcd_pwr: regulator-lcdpwr {