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

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

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

am335x-baltos-ir2110.dtb: leds: 'app', 'power', 'wlan' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'

Acked-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20221125144118.476905-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

+7 -7
+3 -3
arch/arm/boot/dts/am335x-baltos-leds.dtsi
··· 17 17 18 18 compatible = "gpio-leds"; 19 19 20 - power { 20 + led-power { 21 21 label = "onrisc:red:power"; 22 22 linux,default-trigger = "default-on"; 23 23 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; 24 24 default-state = "on"; 25 25 }; 26 - wlan { 26 + led-wlan { 27 27 label = "onrisc:blue:wlan"; 28 28 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; 29 29 default-state = "off"; 30 30 }; 31 - app { 31 + led-app { 32 32 label = "onrisc:green:app"; 33 33 gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>; 34 34 default-state = "off";
+4 -4
arch/arm/boot/dts/am335x-pocketbeagle.dts
··· 23 23 24 24 compatible = "gpio-leds"; 25 25 26 - usr0 { 26 + led-usr0 { 27 27 label = "beaglebone:green:usr0"; 28 28 gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>; 29 29 linux,default-trigger = "heartbeat"; 30 30 default-state = "off"; 31 31 }; 32 32 33 - usr1 { 33 + led-usr1 { 34 34 label = "beaglebone:green:usr1"; 35 35 gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>; 36 36 linux,default-trigger = "mmc0"; 37 37 default-state = "off"; 38 38 }; 39 39 40 - usr2 { 40 + led-usr2 { 41 41 label = "beaglebone:green:usr2"; 42 42 gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>; 43 43 linux,default-trigger = "cpu0"; 44 44 default-state = "off"; 45 45 }; 46 46 47 - usr3 { 47 + led-usr3 { 48 48 label = "beaglebone:green:usr3"; 49 49 gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>; 50 50 default-state = "off";