Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: exynos: fix PWM LED max brightness on Odroid XU/XU3

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

+2 -2
+2 -2
arch/arm/boot/dts/exynos54xx-odroidxu-leds.dtsi
··· 22 22 * Green LED is much brighter than the others 23 23 * so limit its max brightness 24 24 */ 25 - max_brightness = <127>; 25 + max-brightness = <127>; 26 26 linux,default-trigger = "mmc0"; 27 27 }; 28 28 ··· 30 30 label = "blue:heartbeat"; 31 31 pwms = <&pwm 2 2000000 0>; 32 32 pwm-names = "pwm2"; 33 - max_brightness = <255>; 33 + max-brightness = <255>; 34 34 linux,default-trigger = "heartbeat"; 35 35 }; 36 36 };