Patrick Williams | b9af875 | 2023-01-30 13:28:01 -0600 | [diff] [blame] | 1 | From 4edb625e2256d5761312110e34cbc0164915d772 Mon Sep 17 00:00:00 2001 |
Andrew Geissler | ea144b0 | 2023-01-27 16:03:57 -0600 | [diff] [blame] | 2 | From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> |
| 3 | Date: Fri, 25 Nov 2022 15:41:12 +0100 |
| 4 | Subject: [PATCH] ARM: dts: vexpress: align LED node names with dtschema |
| 5 | |
| 6 | The node names should be generic and DT schema expects certain pattern. |
| 7 | |
| 8 | vexpress-v2p-ca9.dtb: leds: 'user1', 'user2', 'user3', 'user4', 'user5', 'user6', 'user7', 'user8' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' |
| 9 | |
| 10 | Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> |
| 11 | Link: https://lore.kernel.org/r/20221125144112.476817-1-krzysztof.kozlowski@linaro.org |
| 12 | Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> |
| 13 | |
| 14 | Signed-off-by: Jon Mason <jon.mason@arm.com> |
| 15 | Upstream-Status: Backport |
| 16 | --- |
| 17 | arch/arm/boot/dts/vexpress-v2m.dtsi | 16 ++++++++-------- |
| 18 | 1 file changed, 8 insertions(+), 8 deletions(-) |
| 19 | |
| 20 | diff --git a/arch/arm/boot/dts/vexpress-v2m.dtsi b/arch/arm/boot/dts/vexpress-v2m.dtsi |
| 21 | index f434fe5cf4a1..def538ce8769 100644 |
| 22 | --- a/arch/arm/boot/dts/vexpress-v2m.dtsi |
| 23 | +++ b/arch/arm/boot/dts/vexpress-v2m.dtsi |
| 24 | @@ -383,49 +383,49 @@ v2m_refclk32khz: refclk32khz { |
| 25 | leds { |
| 26 | compatible = "gpio-leds"; |
| 27 | |
| 28 | - user1 { |
| 29 | + led-user1 { |
| 30 | label = "v2m:green:user1"; |
| 31 | gpios = <&v2m_led_gpios 0 0>; |
| 32 | linux,default-trigger = "heartbeat"; |
| 33 | }; |
| 34 | |
| 35 | - user2 { |
| 36 | + led-user2 { |
| 37 | label = "v2m:green:user2"; |
| 38 | gpios = <&v2m_led_gpios 1 0>; |
| 39 | linux,default-trigger = "mmc0"; |
| 40 | }; |
| 41 | |
| 42 | - user3 { |
| 43 | + led-user3 { |
| 44 | label = "v2m:green:user3"; |
| 45 | gpios = <&v2m_led_gpios 2 0>; |
| 46 | linux,default-trigger = "cpu0"; |
| 47 | }; |
| 48 | |
| 49 | - user4 { |
| 50 | + led-user4 { |
| 51 | label = "v2m:green:user4"; |
| 52 | gpios = <&v2m_led_gpios 3 0>; |
| 53 | linux,default-trigger = "cpu1"; |
| 54 | }; |
| 55 | |
| 56 | - user5 { |
| 57 | + led-user5 { |
| 58 | label = "v2m:green:user5"; |
| 59 | gpios = <&v2m_led_gpios 4 0>; |
| 60 | linux,default-trigger = "cpu2"; |
| 61 | }; |
| 62 | |
| 63 | - user6 { |
| 64 | + led-user6 { |
| 65 | label = "v2m:green:user6"; |
| 66 | gpios = <&v2m_led_gpios 5 0>; |
| 67 | linux,default-trigger = "cpu3"; |
| 68 | }; |
| 69 | |
| 70 | - user7 { |
| 71 | + led-user7 { |
| 72 | label = "v2m:green:user7"; |
| 73 | gpios = <&v2m_led_gpios 6 0>; |
| 74 | linux,default-trigger = "cpu4"; |
| 75 | }; |
| 76 | |
| 77 | - user8 { |
| 78 | + led-user8 { |
| 79 | label = "v2m:green:user8"; |
| 80 | gpios = <&v2m_led_gpios 7 0>; |
| 81 | linux,default-trigger = "cpu5"; |