ARM: dts: exynos: fix PWM LED max brightness on Odroid XU4
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Wed, 5 May 2021 13:59:41 +0000 (09:59 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Jul 2021 14:17:54 +0000 (16:17 +0200)
[ Upstream commit fd2f1717966535b7d0b6fe45cf0d79e94330da5f ]

There is no "max_brightness" property as pointed out by dtschema:

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

Fixes: 6658356014cb ("ARM: dts: Add support Odroid XU4 board for exynos5422-odroidxu4")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210505135941.59898-5-krzysztof.kozlowski@canonical.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/exynos5422-odroidxu4.dts

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