Skip to content
Snippets Groups Projects
Commit cb9b2d6d authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Greg Kroah-Hartman
Browse files

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


[ Upstream commit 75121e1d ]

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: 719f39fe ("ARM: dts: exynos5422-odroidxu3: Hook up PWM and use it for LEDs")
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210505135941.59898-3-krzysztof.kozlowski@canonical.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent d1c82e8f
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
* Green LED is much brighter than the others * Green LED is much brighter than the others
* so limit its max brightness * so limit its max brightness
*/ */
max_brightness = <127>; max-brightness = <127>;
linux,default-trigger = "mmc0"; linux,default-trigger = "mmc0";
}; };
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
label = "blue:heartbeat"; label = "blue:heartbeat";
pwms = <&pwm 2 2000000 0>; pwms = <&pwm 2 2000000 0>;
pwm-names = "pwm2"; pwm-names = "pwm2";
max_brightness = <255>; max-brightness = <255>;
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
}; };
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment