arm64: dts: renesas: Group tuples in regulator-gpio states properties

To improve human readability and enable automatic validation, the tuples
in the "states" properties of device nodes compatible with
"regulator-gpio" should be grouped, as reported by "make dtbs_check":

    $ make dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/regulator/gpio-regulator.yaml
    arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dt.yaml: regulator-vccq-sdhi0: states:0: Additional items are not allowed (1800000, 0 were unexpected)
    arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dt.yaml: regulator-vccq-sdhi0: states:0: [3300000, 1, 1800000, 0] is too long
    arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dt.yaml: regulator-vccq-sdhi3: states:0: Additional items are not allowed (1800000, 0 were unexpected)
    arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dt.yaml: regulator-vccq-sdhi3: states:0: [3300000, 1, 1800000, 0] is too long
    ...

Fix this by grouping the tuples using angle brackets.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20191213164115.3697-6-geert+renesas@glider.be
Reviewed-by: Ulrich Hecht <uli+renesas@fpond.eu>
This commit is contained in:
Geert Uytterhoeven 2019-12-13 17:41:12 +01:00
parent 83772e1b44
commit 36f062124d
5 changed files with 7 additions and 14 deletions

View File

@ -109,8 +109,7 @@ vccq_sdhi0: regulator-vccq-sdhi0 {
gpios = <&gpio6 30 GPIO_ACTIVE_HIGH>;
gpios-states = <1>;
states = <3300000 1
1800000 0>;
states = <3300000 1>, <1800000 0>;
};
wlan_en_reg: regulator-wlan_en {

View File

@ -110,8 +110,7 @@ vccq_sdhi0: regulator-vccq-sdhi0 {
gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
gpios-states = <1>;
states = <3300000 1
1800000 0>;
states = <3300000 1>, <1800000 0>;
};
wlan_en_reg: fixedregulator {

View File

@ -182,8 +182,7 @@ vccq_sdhi0: regulator-vccq-sdhi0 {
gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>;
gpios-states = <1>;
states = <3300000 1
1800000 0>;
states = <3300000 1>, <1800000 0>;
};
vcc_sdhi1: regulator-vcc-sdhi1 {
@ -206,8 +205,7 @@ vccq_sdhi1: regulator-vccq-sdhi1 {
gpios = <&gpio3 15 GPIO_ACTIVE_HIGH>;
gpios-states = <1>;
states = <3300000 1
1800000 0>;
states = <3300000 1>, <1800000 0>;
};
vga {

View File

@ -232,8 +232,7 @@ vccq_sdhi0: regulator-vccq-sdhi0 {
gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
gpios-states = <1>;
states = <3300000 1
1800000 0>;
states = <3300000 1>, <1800000 0>;
};
vcc_sdhi3: regulator-vcc-sdhi3 {
@ -256,8 +255,7 @@ vccq_sdhi3: regulator-vccq-sdhi3 {
gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
gpios-states = <1>;
states = <3300000 1
1800000 0>;
states = <3300000 1>, <1800000 0>;
};
vga {

View File

@ -120,8 +120,7 @@ vccq_sdhi0: regulator-vccq-sdhi0 {
gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
gpios-states = <1>;
states = <3300000 1
1800000 0>;
states = <3300000 1>, <1800000 0>;
};
x12_clk: x12 {