Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Maxime Ripard <maxime.ripard@bootlin.com>

+6 -12
+1 -2
arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
··· 59 59 gpios = <&r_pio 0 1 GPIO_ACTIVE_HIGH>; /* PL1 */ 60 60 enable-active-high; 61 61 gpios-states = <0x1>; 62 - states = <1100000 0x0 63 - 1300000 0x1>; 62 + states = <1100000 0>, <1300000 1>; 64 63 }; 65 64 66 65 wifi_pwrseq: wifi_pwrseq {
+1 -2
arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
··· 102 102 gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */ 103 103 enable-active-high; 104 104 gpios-states = <1>; 105 - states = <1100000 0 106 - 1300000 1>; 105 + states = <1100000 0>, <1300000 1>; 107 106 }; 108 107 109 108 wifi_pwrseq: wifi_pwrseq {
+1 -2
arch/arm/boot/dts/sun8i-h3-orangepi-one.dts
··· 109 109 gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */ 110 110 enable-active-high; 111 111 gpios-states = <0x1>; 112 - states = <1100000 0x0 113 - 1300000 0x1>; 112 + states = <1100000 0>, <1300000 1>; 114 113 }; 115 114 }; 116 115
+1 -2
arch/arm/boot/dts/sunxi-bananapi-m2-plus-v1.2.dtsi
··· 21 21 regulator-ramp-delay = <50>; /* 4ms */ 22 22 gpios = <&r_pio 0 1 GPIO_ACTIVE_HIGH>; /* PL1 */ 23 23 gpios-states = <0x1>; 24 - states = <1100000 0x0 25 - 1300000 0x1>; 24 + states = <1100000 0>, <1300000 1>; 26 25 }; 27 26 }; 28 27
+1 -2
arch/arm64/boot/dts/allwinner/sun50i-h5-emlid-neutis-n5-devboard.dts
··· 55 55 regulator-ramp-delay = <50>; /* 4ms */ 56 56 gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */ 57 57 gpios-states = <0x1>; 58 - states = <1100000 0x0 59 - 1300000 0x1>; 58 + states = <1100000 0>, <1300000 1>; 60 59 }; 61 60 }; 62 61
+1 -2
arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts
··· 104 104 regulator-ramp-delay = <50>; /* 4ms */ 105 105 gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; 106 106 gpios-states = <0x1>; 107 - states = <1100000 0x0 108 - 1300000 0x1>; 107 + states = <1100000 0>, <1300000 1>; 109 108 }; 110 109 111 110 wifi_pwrseq: wifi_pwrseq {