OSDN Git Service

ARM: dts: logicpd: align LED node names with dtschema
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 25 Nov 2022 14:41:22 +0000 (15:41 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 1 Dec 2022 17:02:23 +0000 (18:02 +0100)
The node names should be generic and DT schema expects certain pattern:

  logicpd-torpedo-37xx-devkit.dtb: leds: 'user0' does 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/20221125144122.476962-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm/boot/dts/logicpd-torpedo-som.dtsi

index 3a52285..72b5af4 100644 (file)
@@ -20,7 +20,7 @@
 
        leds {
                compatible = "gpio-leds";
-               user0 {
+               led-user0 {
                        label = "user0";
                        gpios = <&twl_gpio 18 GPIO_ACTIVE_LOW>; /* LEDA */
                        linux,default-trigger = "none";