ARM: dts: iwg20d-q7-common: Fix backlight pwm specifier
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 23 May 2023 15:35:16 +0000 (17:35 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 2 Jun 2023 09:36:48 +0000 (11:36 +0200)
make dtbs_check:

    arch/arm/boot/dts/renesas/r8a7743-iwg20d-q7.dtb: backlight: pwms: [[58, 0, 5000000], [0]] is too long
    From schema: Documentation/devicetree/bindings/leds/backlight/pwm-backlight.yaml
    arch/arm/boot/dts/renesas/r8a7743-iwg20d-q7-dbcm-ca.dtb: backlight: pwms: [[67, 0, 5000000], [0]] is too long
    From schema: Documentation/devicetree/bindings/leds/backlight/pwm-backlight.yaml
    arch/arm/boot/dts/renesas/r8a7744-iwg20d-q7-dbcm-ca.dtb: backlight: pwms: [[67, 0, 5000000], [0]] is too long
    From schema: Documentation/devicetree/bindings/leds/backlight/pwm-backlight.yaml
    arch/arm/boot/dts/renesas/r8a7744-iwg20d-q7.dtb: backlight: pwms: [[58, 0, 5000000], [0]] is too long
    From schema: Documentation/devicetree/bindings/leds/backlight/pwm-backlight.yaml

PWM specifiers referring to R-Car PWM Timer Controllers should contain
only two cells.

Fix this by dropping the bogus third cell.

Fixes: 6f89dd9e9325d05b ("ARM: dts: iwg20d-q7-common: Add LCD support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/6e5c3167424a43faf8c1fa68d9667b3d87dc86d8.1684855911.git.geert+renesas@glider.be
arch/arm/boot/dts/iwg20d-q7-common.dtsi

index 03caea6..4351c5a 100644 (file)
@@ -49,7 +49,7 @@
        lcd_backlight: backlight {
                compatible = "pwm-backlight";
 
-               pwms = <&pwm3 0 5000000 0>;
+               pwms = <&pwm3 0 5000000>;
                brightness-levels = <0 4 8 16 32 64 128 255>;
                default-brightness-level = <7>;
                enable-gpios = <&gpio5 14 GPIO_ACTIVE_HIGH>;