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

ARM: dts: exynos: add function and color to LED node in Odroid XU4

Add common LED properties - the function and color - to LED node in
Exynos5422 Odroid XU4, so we can drop deprecated label property.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220620175716.132143-8-krzysztof.kozlowski@linaro.org

+3 -1
+3 -1
arch/arm/boot/dts/exynos5422-odroidxu4.dts
··· 9 9 */ 10 10 11 11 /dts-v1/; 12 + #include <dt-bindings/leds/common.h> 12 13 #include <dt-bindings/sound/samsung-i2s.h> 13 14 #include "exynos5422-odroidxu3-common.dtsi" 14 15 ··· 22 21 compatible = "pwm-leds"; 23 22 24 23 led-1 { 25 - label = "blue:heartbeat"; 24 + function = LED_FUNCTION_HEARTBEAT; 25 + color = <LED_COLOR_ID_BLUE>; 26 26 pwms = <&pwm 2 2000000 0>; 27 27 pwm-names = "pwm2"; 28 28 max-brightness = <255>;