Unverified Commit 9fbbbb7b authored by Maxime Ripard's avatar Maxime Ripard
Browse files

ARM: dts: sunxi: h3/h5: Fix GPIO regulator state array



Even though it translates to the same thing down to the binary level, we
should have an array of 2 number cells to describe each voltage state,
which in turns create a validation warning.

Let's fix this.

Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
parent a188339c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -59,8 +59,7 @@
		gpios = <&r_pio 0 1 GPIO_ACTIVE_HIGH>; /* PL1 */
		enable-active-high;
		gpios-states = <0x1>;
		states = <1100000 0x0
			  1300000 0x1>;
		states = <1100000 0>, <1300000 1>;
	};

	wifi_pwrseq: wifi_pwrseq {
+1 −2
Original line number Diff line number Diff line
@@ -102,8 +102,7 @@
		gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
		enable-active-high;
		gpios-states = <1>;
		states = <1100000 0
			  1300000 1>;
		states = <1100000 0>, <1300000 1>;
	};

	wifi_pwrseq: wifi_pwrseq {
+1 −2
Original line number Diff line number Diff line
@@ -109,8 +109,7 @@
		gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
		enable-active-high;
		gpios-states = <0x1>;
		states = <1100000 0x0
			  1300000 0x1>;
		states = <1100000 0>, <1300000 1>;
	};
};

+1 −2
Original line number Diff line number Diff line
@@ -21,8 +21,7 @@
		regulator-ramp-delay = <50>; /* 4ms */
		gpios = <&r_pio 0 1 GPIO_ACTIVE_HIGH>; /* PL1 */
		gpios-states = <0x1>;
		states = <1100000 0x0
			  1300000 0x1>;
		states = <1100000 0>, <1300000 1>;
	};
};

+1 −2
Original line number Diff line number Diff line
@@ -55,8 +55,7 @@
		regulator-ramp-delay = <50>; /* 4ms */
		gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
		gpios-states = <0x1>;
		states = <1100000 0x0
			  1300000 0x1>;
		states = <1100000 0>, <1300000 1>;
	};
};

Loading