]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: sunxi: h3/h5: Fix GPIO regulator state array
authorMaxime Ripard <maxime.ripard@bootlin.com>
Sat, 25 May 2019 13:44:24 +0000 (15:44 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 29 May 2019 07:27:56 +0000 (09:27 +0200)
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.ripard@bootlin.com>
arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
arch/arm/boot/dts/sun8i-h3-orangepi-one.dts
arch/arm/boot/dts/sunxi-bananapi-m2-plus-v1.2.dtsi
arch/arm64/boot/dts/allwinner/sun50i-h5-emlid-neutis-n5-devboard.dts
arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts

index 78a37a47185a0930a1fcf77ab7d62a47f432aaf2..d277d043031b230f9de1e3f22da70ba7c69db760 100644 (file)
@@ -59,8 +59,7 @@ reg_vdd_cpux: vdd-cpux-regulator {
                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 {
index 4970eda2877e1174df30d08b221b8f0758afd4f0..f19ed981da9d92d4b842fcb799bb1681d173e266 100644 (file)
@@ -102,8 +102,7 @@ reg_vdd_cpux: vdd-cpux-regulator {
                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 {
index 840849169bed6ac625c0d75afa0c8c2855591001..4759ba3f2986e031d4eb21669cd33cad1134d3bd 100644 (file)
@@ -109,8 +109,7 @@ reg_vdd_cpux: vdd-cpux-regulator {
                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>;
        };
 };
 
index 53edd1faee9989d8374bc95823134c0821c48c2d..22466afd38a3a06e714fb7382827091531b34ef9 100644 (file)
@@ -21,8 +21,7 @@ reg_vdd_cpux: vdd-cpux {
                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>;
        };
 };
 
index 62409afbaf06f5032fb69a8e5e54bcc2d3324e9c..c924090331d0b8960b60e00c80958dcad18eb2ca 100644 (file)
@@ -55,8 +55,7 @@ vdd_cpux: gpio-regulator {
                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>;
        };
 };
 
index 9887948d5c8608451008a3ecf34a9cb00eb43f61..1c7dde84e54de6df9afc68b862350295379ea9cf 100644 (file)
@@ -104,8 +104,7 @@ vdd_cpux: gpio-regulator {
                regulator-ramp-delay = <50>; /* 4ms */
                gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>;
                gpios-states = <0x1>;
-               states = <1100000 0x0
-                         1300000 0x1>;
+               states = <1100000 0>, <1300000 1>;
        };
 
        wifi_pwrseq: wifi_pwrseq {