mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
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:
@@ -109,8 +109,7 @@
|
|||||||
|
|
||||||
gpios = <&gpio6 30 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio6 30 GPIO_ACTIVE_HIGH>;
|
||||||
gpios-states = <1>;
|
gpios-states = <1>;
|
||||||
states = <3300000 1
|
states = <3300000 1>, <1800000 0>;
|
||||||
1800000 0>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
wlan_en_reg: regulator-wlan_en {
|
wlan_en_reg: regulator-wlan_en {
|
||||||
|
|||||||
@@ -110,8 +110,7 @@
|
|||||||
|
|
||||||
gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
|
||||||
gpios-states = <1>;
|
gpios-states = <1>;
|
||||||
states = <3300000 1
|
states = <3300000 1>, <1800000 0>;
|
||||||
1800000 0>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
wlan_en_reg: fixedregulator {
|
wlan_en_reg: fixedregulator {
|
||||||
|
|||||||
@@ -182,8 +182,7 @@
|
|||||||
|
|
||||||
gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>;
|
||||||
gpios-states = <1>;
|
gpios-states = <1>;
|
||||||
states = <3300000 1
|
states = <3300000 1>, <1800000 0>;
|
||||||
1800000 0>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
vcc_sdhi1: regulator-vcc-sdhi1 {
|
vcc_sdhi1: regulator-vcc-sdhi1 {
|
||||||
@@ -206,8 +205,7 @@
|
|||||||
|
|
||||||
gpios = <&gpio3 15 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio3 15 GPIO_ACTIVE_HIGH>;
|
||||||
gpios-states = <1>;
|
gpios-states = <1>;
|
||||||
states = <3300000 1
|
states = <3300000 1>, <1800000 0>;
|
||||||
1800000 0>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
vga {
|
vga {
|
||||||
|
|||||||
@@ -232,8 +232,7 @@
|
|||||||
|
|
||||||
gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
|
||||||
gpios-states = <1>;
|
gpios-states = <1>;
|
||||||
states = <3300000 1
|
states = <3300000 1>, <1800000 0>;
|
||||||
1800000 0>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
vcc_sdhi3: regulator-vcc-sdhi3 {
|
vcc_sdhi3: regulator-vcc-sdhi3 {
|
||||||
@@ -256,8 +255,7 @@
|
|||||||
|
|
||||||
gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
|
||||||
gpios-states = <1>;
|
gpios-states = <1>;
|
||||||
states = <3300000 1
|
states = <3300000 1>, <1800000 0>;
|
||||||
1800000 0>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
vga {
|
vga {
|
||||||
|
|||||||
@@ -120,8 +120,7 @@
|
|||||||
|
|
||||||
gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
|
||||||
gpios-states = <1>;
|
gpios-states = <1>;
|
||||||
states = <3300000 1
|
states = <3300000 1>, <1800000 0>;
|
||||||
1800000 0>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
x12_clk: x12 {
|
x12_clk: x12 {
|
||||||
|
|||||||
Reference in New Issue
Block a user