OSDN Git Service

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 0548b39..47ff1ff 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 54cd373..38aa1fe 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 98a6758..ba35cff 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 bb93291..a6dbbba 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 2d2c61d..0d0e62c 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 155aec1..5f67213 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 82a0446..4b66f62 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 453a553..a8f163a 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 df7450f..ec03ca1 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 9bf4b88..5432e4e 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 518652a..0269424 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 7c6886c..7631029 100644 (file)
                &led_wkgpio_pins
        >;
 
-       heartbeat {
+       led-heartbeat {
                gpios = <&gpio4 14 GPIO_ACTIVE_HIGH>;
        };
-       mmc {
+       led-mmc {
                gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
        };
 };