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

ARM: dts: qcom: align LED node names with dtschema

The node names should be generic and DT schema expects certain pattern:

qcom-ipq4018-ap120c-ac.dtb: leds: 'wlan2g', 'wlan5g' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221125144209.477328-2-krzysztof.kozlowski@linaro.org

authored by

Krzysztof Kozlowski and committed by
Bjorn Andersson
3ebeed30 b3de8527

+6 -6
+3 -3
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac-bit.dts
··· 9 9 leds { 10 10 compatible = "gpio-leds"; 11 11 12 - power { 12 + led-power { 13 13 label = "ap120c-ac:green:power"; 14 14 function = LED_FUNCTION_POWER; 15 15 color = <LED_COLOR_ID_GREEN>; ··· 17 17 default-state = "on"; 18 18 }; 19 19 20 - wlan { 20 + led-wlan { 21 21 label = "ap120c-ac:green:wlan"; 22 22 function = LED_FUNCTION_WLAN; 23 23 color = <LED_COLOR_ID_GREEN>; 24 24 gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>; 25 25 }; 26 26 27 - support { 27 + led-support { 28 28 label = "ap120c-ac:green:support"; 29 29 color = <LED_COLOR_ID_GREEN>; 30 30 gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
+3 -3
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dts
··· 7 7 leds { 8 8 compatible = "gpio-leds"; 9 9 10 - status: status { 10 + status: led-status { 11 11 label = "ap120c-ac:blue:status"; 12 12 function = LED_FUNCTION_STATUS; 13 13 color = <LED_COLOR_ID_BLUE>; ··· 15 15 default-state = "keep"; 16 16 }; 17 17 18 - wlan2g { 18 + led-wlan2g { 19 19 label = "ap120c-ac:green:wlan2g"; 20 20 function = LED_FUNCTION_WLAN; 21 21 color = <LED_COLOR_ID_GREEN>; ··· 23 23 linux,default-trigger = "phy0tpt"; 24 24 }; 25 25 26 - wlan5g { 26 + led-wlan5g { 27 27 label = "ap120c-ac:red:wlan5g"; 28 28 function = LED_FUNCTION_WLAN; 29 29 color = <LED_COLOR_ID_RED>;