mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 11:33:28 +02:00
ARM: dts: sti: align LED node names with dtschema
The node names should be generic and DT schema expects certain pattern: stih407-b2120.dtb: leds: 'green', 'red' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Link: https://lore.kernel.org/r/20221125144116.476877-1-krzysztof.kozlowski@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
This commit is contained in:
parent
37dddd7f76
commit
91bf30a42b
|
|
@ -27,26 +27,26 @@ aliases {
|
|||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
user_green_1 {
|
||||
led-user-green-1 {
|
||||
label = "User_green_1";
|
||||
gpios = <&pio1 3 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
default-state = "off";
|
||||
};
|
||||
|
||||
user_green_2 {
|
||||
led-user-green-2 {
|
||||
label = "User_green_2";
|
||||
gpios = <&pio4 1 GPIO_ACTIVE_LOW>;
|
||||
default-state = "off";
|
||||
};
|
||||
|
||||
user_green_3 {
|
||||
led-user-green-3 {
|
||||
label = "User_green_3";
|
||||
gpios = <&pio2 1 GPIO_ACTIVE_LOW>;
|
||||
default-state = "off";
|
||||
};
|
||||
|
||||
user_green_4 {
|
||||
led-user-green-4 {
|
||||
label = "User_green_4";
|
||||
gpios = <&pio2 5 GPIO_ACTIVE_LOW>;
|
||||
default-state = "off";
|
||||
|
|
|
|||
|
|
@ -26,12 +26,12 @@ aliases {
|
|||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
red {
|
||||
led-red {
|
||||
label = "Front Panel LED";
|
||||
gpios = <&pio4 1 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
green {
|
||||
led-green {
|
||||
gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "off";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ aliases {
|
|||
soc {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
green {
|
||||
led-green {
|
||||
gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "off";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -9,12 +9,12 @@
|
|||
/ {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
red {
|
||||
led-red {
|
||||
label = "Front Panel LED";
|
||||
gpios = <&pio4 1 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
green {
|
||||
led-green {
|
||||
gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "off";
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user