• Geert Uytterhoeven's avatar
    arm64: dts: renesas: Group tuples in regulator-gpio states properties · 36f06212
    Geert Uytterhoeven authored
    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: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
    Link: https://lore.kernel.org/r/20191213164115.3697-6-geert+renesas@glider.beReviewed-by: default avatarUlrich Hecht <uli+renesas@fpond.eu>
    36f06212
hihope-common.dtsi 6.97 KB