]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: omap: align LED node names with dtschema
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 27 Nov 2022 20:30:33 +0000 (21:30 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 1 Dec 2022 17:02:48 +0000 (18:02 +0100)
The node names should be generic and DT schema expects certain pattern:

  omap3-beagle-ab4.dtb: leds: 'heartbeat', 'mmc', 'pmu_stat' 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/20221127203034.54092-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
12 files changed:
arch/arm/boot/dts/omap3-beagle.dts
arch/arm/boot/dts/omap3-devkit8000-common.dtsi
arch/arm/boot/dts/omap3-n900.dts
arch/arm/boot/dts/omap3-overo-alto35-common.dtsi
arch/arm/boot/dts/omap3-overo-chestnut43-common.dtsi
arch/arm/boot/dts/omap3-overo-gallop43-common.dtsi
arch/arm/boot/dts/omap3-overo-palo35-common.dtsi
arch/arm/boot/dts/omap3-overo-palo43-common.dtsi
arch/arm/boot/dts/omap3-overo-summit-common.dtsi
arch/arm/boot/dts/omap3-overo-tobi-common.dtsi
arch/arm/boot/dts/omap4-panda-common.dtsi
arch/arm/boot/dts/omap4-panda-es.dts

index 0548b391334fdbf992beb9a3ae41c3edb7b741b4..47ff1ffddfc529e2f89c56c3f6c1c2fca01a2240 100644 (file)
 
        leds {
                compatible = "gpio-leds";
-               pmu_stat {
+               led-pmu-stat {
                        label = "beagleboard::pmu_stat";
                        gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */
                };
 
-               heartbeat {
+               led-heartbeat {
                        label = "beagleboard::usr0";
                        gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* 150 -> D6 LED */
                        linux,default-trigger = "heartbeat";
                };
 
-               mmc {
+               led-mmc {
                        label = "beagleboard::usr1";
                        gpios = <&gpio5 21 GPIO_ACTIVE_HIGH>; /* 149 -> D7 LED */
                        linux,default-trigger = "mmc0";
index 54cd37336be7a1d8dab5534ed36a7a8d84c87759..38aa1febc33f35272e27f904ac1901c126829591 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               heartbeat {
+               led-heartbeat {
                        label = "devkit8000::led1";
                        gpios = <&gpio6 26 GPIO_ACTIVE_HIGH>;   /* 186 -> LED1 */
                        default-state = "on";
                        linux,default-trigger = "heartbeat";
                };
 
-               mmc {
+               led-mmc {
                        label = "devkit8000::led2";
                        gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>;    /* 163 -> LED2 */
                        default-state = "on";
                        linux,default-trigger = "none";
                };
 
-               usr {
+               led-usr {
                        label = "devkit8000::led3";
                        gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>;    /* 164 -> LED3 */
                        default-state = "on";
                        linux,default-trigger = "usr";
                };
 
-               pmu_stat {
+               led-pmu-stat {
                        label = "devkit8000::pmu_stat";
                        gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */
                };
index 98a67581bdd232ed657d61f4eb3fb4a431a62ed4..ba35cff5b01e68c41e274da07c43c358c12d51b6 100644 (file)
@@ -49,7 +49,7 @@
 
        leds {
                compatible = "gpio-leds";
-               heartbeat {
+               led-heartbeat {
                        label = "debug::sleep";
                        gpios = <&gpio6 2 GPIO_ACTIVE_HIGH>;  /* 162 */
                        linux,default-trigger = "default-on";
index bb932913c9e346df2ecffcce5312248c75e50807..a6dbbba799b2ebdbe8713e90fda1a01d51bbc78f 100644 (file)
                compatible = "gpio-leds";
                pinctrl-names = "default";
                pinctrl-0 = <&led_pins>;
-               gpio148 {
+               led-gpio148 {
                        label = "overo:red:gpio148";
                        gpios = <&gpio5 20 GPIO_ACTIVE_HIGH>;           /* gpio 148 */
                };
-               gpio150 {
+               led-gpio150 {
                        label = "overo:yellow:gpio150";
                        gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>;           /* gpio 150 */
                };
-               gpio151 {
+               led-gpio151 {
                        label = "overo:blue:gpio151";
                        gpios = <&gpio5 23 GPIO_ACTIVE_HIGH>;           /* gpio 151 */
                };
-               gpio170 {
+               led-gpio170 {
                        label = "overo:green:gpio170";
                        gpios = <&gpio6 10 GPIO_ACTIVE_HIGH>;           /* gpio 170 */
                };
index 2d2c61d7aa86c29898f2f45768033879267bb263..0d0e62c00916ab206af0f2c8ddae572164c7e9e0 100644 (file)
                compatible = "gpio-leds";
                pinctrl-names = "default";
                pinctrl-0 = <&led_pins>;
-               heartbeat {
+               led-heartbeat {
                        label = "overo:red:gpio21";
                        gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;            /* gpio_21 */
                        linux,default-trigger = "heartbeat";
                };
-               gpio22 {
+               led-gpio22 {
                        label = "overo:blue:gpio22";
                        gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;            /* gpio_22 */
                };
index 155aec121400dca06b44551f1cb45c913b56aa73..5f6721326f86a8cd04c6c4f5963db911e0a4dab1 100644 (file)
                compatible = "gpio-leds";
                pinctrl-names = "default";
                pinctrl-0 = <&led_pins>;
-               heartbeat {
+               led-heartbeat {
                        label = "overo:red:gpio21";
                        gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;            /* gpio_21 */
                        linux,default-trigger = "heartbeat";
                };
-               gpio22 {
+               led-gpio22 {
                        label = "overo:blue:gpio22";
                        gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;            /* gpio_22 */
                };
index 82a04466747a030a589fc6c63d5637dc6b4aaa65..4b66f622ac131abc52f9e0e3e216ba43c6dd943f 100644 (file)
                compatible = "gpio-leds";
                pinctrl-names = "default";
                pinctrl-0 = <&led_pins>;
-               heartbeat {
+               led-heartbeat {
                        label = "overo:red:gpio21";
                        gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;            /* gpio_21 */
                        linux,default-trigger = "heartbeat";
                };
-               gpio22 {
+               led-gpio22 {
                        label = "overo:blue:gpio22";
                        gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;            /* gpio_22 */
                };
index 453a55324fa190f85184f106b77e8e285f34ef4d..a8f163a899f030b20d271e1b373e7b88712f69ca 100644 (file)
                compatible = "gpio-leds";
                pinctrl-names = "default";
                pinctrl-0 = <&led_pins>;
-               heartbeat {
+               led-heartbeat {
                        label = "overo:red:gpio21";
                        gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;            /* gpio_21 */
                        linux,default-trigger = "heartbeat";
                };
-               gpio22 {
+               led-gpio22 {
                        label = "overo:blue:gpio22";
                        gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;            /* gpio_22 */
                };
index df7450f17ffdc7abe1988a973b866b683d2d07fc..ec03ca17e98b959ee2b9ee23d7bad5678a81ab54 100644 (file)
@@ -15,7 +15,7 @@
                compatible = "gpio-leds";
                pinctrl-names = "default";
                pinctrl-0 = <&led_pins>;
-               heartbeat {
+               led-heartbeat {
                        label = "overo:red:gpio21";
                        gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;            /* gpio_21 */
                        linux,default-trigger = "heartbeat";
index 9bf4b88a4b50a70aa1829e7dcbe2c1bd8bcf8c2c..5432e4e16ab58c86b84cedad68ddc4be4ad0cf41 100644 (file)
@@ -13,7 +13,7 @@
 / {
        leds {
                compatible = "gpio-leds";
-               heartbeat {
+               led-heartbeat {
                        label = "overo:red:gpio21";
                        gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "heartbeat";
index 518652a599bd76b5bea5ae7f943690d206f125f5..0269424350aae2f106bdf775e6f2213261a39053 100644 (file)
                        &led_wkgpio_pins
                >;
 
-               heartbeat {
+               led-heartbeat {
                        label = "pandaboard::status1";
                        gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "heartbeat";
                };
 
-               mmc {
+               led-mmc {
                        label = "pandaboard::status2";
                        gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "mmc0";
index 7c6886cd738f03046e1848ac47108169a1f19f21..7631029e4d7a8906459f32dfe88160701896a546 100644 (file)
                &led_wkgpio_pins
        >;
 
-       heartbeat {
+       led-heartbeat {
                gpios = <&gpio4 14 GPIO_ACTIVE_HIGH>;
        };
-       mmc {
+       led-mmc {
                gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
        };
 };