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

Commit 3a637e00 authored by Javier Martinez Canillas's avatar Javier Martinez Canillas Committed by Tony Lindgren
Browse files

ARM: dts: Use defined GPIO constants in flags cell for OMAP2+ boards



Many OMAP2+ DTS are not using the defined constants to express
the GPIO polarity. Replace these so the DTS are easier to read.

Signed-off-by: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 79a4e64c
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -9,9 +9,9 @@
	ocp {
		i2c@0 {
			compatible = "i2c-cbus-gpio";
			gpios = <&gpio3 2 0 /* gpio66 clk */
				 &gpio3 1 0 /* gpio65 dat */
				 &gpio3 0 0 /* gpio64 sel */
			gpios = <&gpio3 2 GPIO_ACTIVE_HIGH /* gpio66 clk */
				 &gpio3 1 GPIO_ACTIVE_HIGH /* gpio65 dat */
				 &gpio3 0 GPIO_ACTIVE_HIGH /* gpio64 sel */
				>;
			#address-cells = <1>;
			#size-cells = <0>;
+1 −1
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@
		regulator-name = "hsusb2_vbus";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		gpio = <&twl_gpio 18 0>;	/* GPIO LEDA */
		gpio = <&twl_gpio 18 GPIO_ACTIVE_HIGH>;	/* GPIO LEDA */
		startup-delay-us = <70000>;
	};

+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@
		regulator-name = "hsusb2_vbus";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		gpio = <&twl_gpio 18 0>;	/* GPIO LEDA */
		gpio = <&twl_gpio 18 GPIO_ACTIVE_HIGH>;	/* GPIO LEDA */
		startup-delay-us = <70000>;
	};

+1 −1
Original line number Diff line number Diff line
@@ -224,7 +224,7 @@

		interrupt-parent = <&gpio2>;
		interrupts = <25 0>;		/* gpio_57 */
		pendown-gpio = <&gpio2 25 0>;
		pendown-gpio = <&gpio2 25 GPIO_ACTIVE_HIGH>;

		ti,x-min = /bits/ 16 <0x0>;
		ti,x-max = /bits/ 16 <0x0fff>;
+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@

		interrupt-parent = <&gpio1>;
		interrupts = <27 0>;		/* gpio_27 */
		pendown-gpio = <&gpio1 27 0>;
		pendown-gpio = <&gpio1 27 GPIO_ACTIVE_HIGH>;

		ti,x-min = /bits/ 16 <0x0>;
		ti,x-max = /bits/ 16 <0x0fff>;
Loading