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 aat1290 flash LED node in Galaxy S3

Add common LED properties - the function and color - to aat1290 flash
LED node in Galaxy S3, so we can drop deprecated label property.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220620175033.130468-4-krzysztof.kozlowski@linaro.org
Acked-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>

+3 -1
+3 -1
arch/arm/boot/dts/exynos4412-galaxy-s3.dtsi
··· 7 7 */ 8 8 9 9 /dts-v1/; 10 + #include <dt-bindings/leds/common.h> 10 11 #include "exynos4412-midas.dtsi" 11 12 12 13 / { ··· 27 26 pinctrl-2 = <&camera_flash_isp>; 28 27 29 28 led { 30 - label = "flash"; 29 + function = LED_FUNCTION_FLASH; 30 + color = <LED_COLOR_ID_WHITE>; 31 31 led-max-microamp = <520833>; 32 32 flash-max-microamp = <1012500>; 33 33 flash-max-timeout-us = <1940000>;