]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ARM: dts: exynos: fix PWM LED max brightness on Odroid XU/XU3
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Wed, 5 May 2021 13:59:39 +0000 (09:59 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Jul 2021 14:16:14 +0000 (16:16 +0200)
[ Upstream commit 75121e1dc9fe4def41e63d57f6a53749b88006ed ]

There is no "max_brightness" property.  This brings the intentional
brightness reduce of green LED and dtschema checks as well:

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

Fixes: 719f39fec586 ("ARM: dts: exynos5422-odroidxu3: Hook up PWM and use it for LEDs")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210505135941.59898-3-krzysztof.kozlowski@canonical.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/exynos54xx-odroidxu-leds.dtsi

index 56acd832f0b3c3effef5aca5f62ea8f8eea77eb5..16e1087ec7172b93a0c273826f991976d11655ed 100644 (file)
@@ -22,7 +22,7 @@
                         * Green LED is much brighter than the others
                         * so limit its max brightness
                         */
-                       max_brightness = <127>;
+                       max-brightness = <127>;
                        linux,default-trigger = "mmc0";
                };
 
@@ -30,7 +30,7 @@
                        label = "blue:heartbeat";
                        pwms = <&pwm 2 2000000 0>;
                        pwm-names = "pwm2";
-                       max_brightness = <255>;
+                       max-brightness = <255>;
                        linux,default-trigger = "heartbeat";
                };
        };