diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2022-11-25 15:41:16 +0100 |
---|---|---|
committer | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2022-12-01 18:04:47 +0100 |
commit | 91bf30a42b16257f98345c9ba519d72babbbaf8a (patch) | |
tree | ada1ab116e51e572d414dc1bfaa15f174b4fb29b /arch/arm/boot/dts/stih418-b2199.dts | |
parent | ARM: dts: am335x: align LED node names with dtschema (diff) | |
download | linux-91bf30a42b16257f98345c9ba519d72babbbaf8a.tar.xz linux-91bf30a42b16257f98345c9ba519d72babbbaf8a.zip |
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>
Diffstat (limited to 'arch/arm/boot/dts/stih418-b2199.dts')
-rw-r--r-- | arch/arm/boot/dts/stih418-b2199.dts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/stih418-b2199.dts b/arch/arm/boot/dts/stih418-b2199.dts index d21bcc7c1271..53ac6c2b7b7d 100644 --- a/arch/arm/boot/dts/stih418-b2199.dts +++ b/arch/arm/boot/dts/stih418-b2199.dts @@ -26,12 +26,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"; }; |