Unverified Commit 90c30474 authored by Maxime Ripard's avatar Maxime Ripard
Browse files

ARM: dts: sun8i: nanopi-r1: 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@cerno.tech>
Acked-by: default avatarChen-Yu Tsai <wens@csie.org>
Acked-by: default avatarJernej Skrabec <jernej.skrabec@siol.net>
Link: https://lore.kernel.org/r/20210114113538.1233933-11-maxime@cerno.tech
parent f8919782
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -39,8 +39,8 @@ reg_vdd_cpux: gpio-regulator {
		regulator-ramp-delay = <50>;
		gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
		gpios-states = <0x1>;
		states = <1100000 0x0
			  1300000 0x1>;
		states = <1100000 0x0>,
			 <1300000 0x1>;
	};

	wifi_pwrseq: wifi_pwrseq {