ARM: dts: sun8i: nanopi-r1: Fix GPIO regulator state array
authorMaxime Ripard <maxime@cerno.tech>
Thu, 14 Jan 2021 11:35:30 +0000 (12:35 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Sun, 31 Jan 2021 18:49:18 +0000 (19:49 +0100)
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: Maxime Ripard <maxime@cerno.tech>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Jernej Skrabec <jernej.skrabec@siol.net>
Link: https://lore.kernel.org/r/20210114113538.1233933-11-maxime@cerno.tech
arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts

index 204a39f..26e2e61 100644 (file)
@@ -39,8 +39,8 @@
                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 {