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 Original line Diff line number Diff line
@@ -59,8 +59,7 @@ reg_vdd_cpux: vdd-cpux-regulator {
		gpios = <&r_pio 0 1 GPIO_ACTIVE_HIGH>; /* PL1 */
		gpios = <&r_pio 0 1 GPIO_ACTIVE_HIGH>; /* PL1 */
		enable-active-high;
		enable-active-high;
		gpios-states = <0x1>;
		gpios-states = <0x1>;
		states = <1100000 0x0
		states = <1100000 0>, <1300000 1>;
			  1300000 0x1>;
	};
	};


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


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


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


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


Loading