Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71ba4990 authored by Fabio Estevam's avatar Fabio Estevam Committed by Shawn Guo
Browse files

ARM: dts: imx23-sansa: 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 0, which means 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: default avatarFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent bdc111bd
Loading
Loading
Loading
Loading
+3 −4
Original line number Original line Diff line number Diff line
@@ -42,6 +42,7 @@
 */
 */


/dts-v1/;
/dts-v1/;
#include <dt-bindings/gpio/gpio.h>
#include "imx23.dtsi"
#include "imx23.dtsi"


/ {
/ {
@@ -149,9 +150,8 @@
		regulator-name = "vdd-touchpad0";
		regulator-name = "vdd-touchpad0";
		regulator-min-microvolt = <3300000>;
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		gpio = <&gpio0 26 0>;
		gpio = <&gpio0 26 GPIO_ACTIVE_LOW>;
		regulator-always-on;
		regulator-always-on;
		enable-active-low;
	};
	};


	reg_vdd_tuner: regulator-vdd-tuner0 {
	reg_vdd_tuner: regulator-vdd-tuner0 {
@@ -159,9 +159,8 @@
		regulator-name = "vdd-tuner0";
		regulator-name = "vdd-tuner0";
		regulator-min-microvolt = <3300000>;
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		gpio = <&gpio0 29 0>;
		gpio = <&gpio0 29 GPIO_ACTIVE_LOW>;
		regulator-always-on;
		regulator-always-on;
		enable-active-low;
	};
	};


	backlight {
	backlight {