ARM: dts: exynos: fix PWM LED max brightness on Odroid HC1
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Wed, 5 May 2021 13:59:40 +0000 (09:59 -0400)
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Tue, 11 May 2021 12:35:22 +0000 (08:35 -0400)
There is no "max_brightness" property as pointed out by dtschema:

  arch/arm/boot/dts/exynos5422-odroidhc1.dt.yaml: led-controller: led-1: 'max-brightness' is a required property

Fixes: 1ac49427b566 ("ARM: dts: exynos: Add support for Hardkernel's Odroid HC1 board")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210505135941.59898-4-krzysztof.kozlowski@canonical.com
arch/arm/boot/dts/exynos5422-odroidhc1.dts

index 20c222b..d91f7fa 100644 (file)
@@ -22,7 +22,7 @@
                        label = "blue:heartbeat";
                        pwms = <&pwm 2 2000000 0>;
                        pwm-names = "pwm2";
-                       max_brightness = <255>;
+                       max-brightness = <255>;
                        linux,default-trigger = "heartbeat";
                };
        };