treewide: remove default-state off for LEDs
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Mon, 16 Nov 2020 12:26:56 +0000 (13:26 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Mon, 16 Nov 2020 12:43:39 +0000 (13:43 +0100)
default-state = "off" is default for LEDs, no need to specify it
explicitly.

https://www.kernel.org/doc/Documentation/devicetree/bindings/leds/common.yaml

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/imx6/patches-5.4/001-ARM-dts-imx-Add-GW5907-board-support.patch
target/linux/imx6/patches-5.4/002-ARM-dts-imx-Add-GW5910-board-support.patch
target/linux/imx6/patches-5.4/003-ARM-dts-imx-Add-GW5913-board-support.patch
target/linux/imx6/patches-5.4/004-ARM-dts-imx-Add-GW5912-board-support.patch
target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64-rootdisk.dts
target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7622-rfb1-ubi.dts
target/linux/mediatek/patches-5.4/0005-dts-mt7622-add-gsw.patch
target/linux/mediatek/patches-5.4/0227-arm-dts-Add-Unielec-U7623-DTS.patch
target/linux/mvebu/files/arch/arm/boot/dts/armada-370-buffalo-ls421de.dts

index 133c3b9566a27ccb9d09e023021884334cb8fb3e..e8308977045affe0f0d2533649e97665eefe9646 100644 (file)
@@ -80,7 +80,7 @@ Signed-off-by: Shawn Guo <shawnguo@kernel.org>
 +};
 --- /dev/null
 +++ b/arch/arm/boot/dts/imx6qdl-gw5907.dtsi
-@@ -0,0 +1,399 @@
+@@ -0,0 +1,398 @@
 +// SPDX-License-Identifier: GPL-2.0
 +/*
 + * Copyright 2019 Gateworks Corporation
@@ -117,7 +117,6 @@ Signed-off-by: Shawn Guo <shawnguo@kernel.org>
 +              led1: user2 {
 +                      label = "user2";
 +                      gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */
-+                      default-state = "off";
 +              };
 +      };
 +
index 707577edc1e2aed2d9fb76233ab73fb2373494e0..5c52bde70d2bd206bb0df3aea4a906a71b7138cc 100644 (file)
@@ -89,7 +89,7 @@ Signed-off-by: Shawn Guo <shawnguo@kernel.org>
 +};
 --- /dev/null
 +++ b/arch/arm/boot/dts/imx6qdl-gw5910.dtsi
-@@ -0,0 +1,491 @@
+@@ -0,0 +1,489 @@
 +// SPDX-License-Identifier: GPL-2.0
 +/*
 + * Copyright 2019 Gateworks Corporation
@@ -129,13 +129,11 @@ Signed-off-by: Shawn Guo <shawnguo@kernel.org>
 +              led1: user2 {
 +                      label = "user2";
 +                      gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */
-+                      default-state = "off";
 +              };
 +
 +              led2: user3 {
 +                      label = "user3";
 +                      gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; /* MX6_LOCLED# */
-+                      default-state = "off";
 +              };
 +      };
 +
index 07a7cbfc884d859671d4c86fcf6e4aafcc2e935d..32f344c588d58be2f46d5ef07df2a4bfc2faec96 100644 (file)
@@ -84,7 +84,7 @@ Signed-off-by: Shawn Guo <shawnguo@kernel.org>
 +};
 --- /dev/null
 +++ b/arch/arm/boot/dts/imx6qdl-gw5913.dtsi
-@@ -0,0 +1,348 @@
+@@ -0,0 +1,347 @@
 +// SPDX-License-Identifier: GPL-2.0
 +/*
 + * Copyright 2019 Gateworks Corporation
@@ -121,7 +121,6 @@ Signed-off-by: Shawn Guo <shawnguo@kernel.org>
 +              led1: user2 {
 +                      label = "user2";
 +                      gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */
-+                      default-state = "off";
 +              };
 +      };
 +
index cf0ff9dbb2a5013e02abab683c73010dfbb691c9..da733ff357c6d16505f8237cb30a8da9dc637a4a 100644 (file)
@@ -87,7 +87,7 @@ Signed-off-by: Shawn Guo <shawnguo@kernel.org>
 +};
 --- /dev/null
 +++ b/arch/arm/boot/dts/imx6qdl-gw5912.dtsi
-@@ -0,0 +1,461 @@
+@@ -0,0 +1,459 @@
 +// SPDX-License-Identifier: GPL-2.0
 +/*
 + * Copyright 2019 Gateworks Corporation
@@ -125,13 +125,11 @@ Signed-off-by: Shawn Guo <shawnguo@kernel.org>
 +              led1: user2 {
 +                      label = "user2";
 +                      gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */
-+                      default-state = "off";
 +              };
 +
 +              led2: user3 {
 +                      label = "user3";
 +                      gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; /* MX6_LOCLED# */
-+                      default-state = "off";
 +              };
 +      };
 +
index 2235306b2b83e2d31844240ee871ec230480b0c7..0a2814dbff386cd27f58044f8c628499beacd79c 100644 (file)
                green {
                        label = "bpi-r64:pio:green";
                        gpios = <&pio 89 GPIO_ACTIVE_HIGH>;
-                       default-state = "off";
                };
 
                red {
                        label = "bpi-r64:pio:red";
                        gpios = <&pio 88 GPIO_ACTIVE_HIGH>;
-                       default-state = "off";
                };
        };
 
index 2589a349adf526f4e0eb5cd7ec06024382b15be9..c007fd717be7a06ad5aec9bc29b345b080004662 100644 (file)
                green {
                        label = "bpi-r64:pio:green";
                        gpios = <&pio 89 GPIO_ACTIVE_HIGH>;
-                       default-state = "off";
                };
 
                red {
                        label = "bpi-r64:pio:red";
                        gpios = <&pio 88 GPIO_ACTIVE_HIGH>;
-                       default-state = "off";
                };
        };
 
index 906b661538e2e2d86da397d058157be71c8e9687..20e51d14ed5f92c1287faa713aacf7b623c4eebf 100644 (file)
@@ -81,7 +81,7 @@
        };
  
        cpus {
-@@ -40,23 +39,38 @@
+@@ -40,23 +39,36 @@
  
        gpio-keys {
                compatible = "gpio-keys";
 +              green {
 +                      label = "bpi-r64:pio:green";
 +                      gpios = <&pio 89 GPIO_ACTIVE_HIGH>;
-+                      default-state = "off";
 +              };
 +
 +              red {
 +                      label = "bpi-r64:pio:red";
 +                      gpios = <&pio 88 GPIO_ACTIVE_HIGH>;
-+                      default-state = "off";
                };
        };
  
index 7def128daf38cb782f951931df9a22937099cc1b..3cb1dab69f0aa1541bf0228f67a70cb508c4651d 100644 (file)
@@ -44,7 +44,7 @@ Subject: [PATCH] arm: dts: Add Unielec U7623 DTS
 +};
 --- /dev/null
 +++ b/arch/arm/boot/dts/mt7623a-unielec-u7623-02-emmc.dtsi
-@@ -0,0 +1,343 @@
+@@ -0,0 +1,340 @@
 +/*
 + * Copyright 2018 Kristian Evensen <kristian.evensen@gmail.com>
 + *
@@ -132,13 +132,11 @@ Subject: [PATCH] arm: dts: Add Unielec U7623 DTS
 +              led3 {
 +                      label = "u7623-01:green:led3";
 +                      gpios = <&pio 14 GPIO_ACTIVE_LOW>;
-+                      default-state = "off";
 +              };
 +
 +              led4 {
 +                      label = "u7623-01:green:led4";
 +                      gpios = <&pio 15 GPIO_ACTIVE_LOW>;
-+                      default-state = "off";
 +              };
 +      };
 +};
@@ -343,7 +341,6 @@ Subject: [PATCH] arm: dts: Add Unielec U7623 DTS
 +                      led@0 {
 +                              reg = <0>;
 +                              label = "led0";
-+                              default-state = "off";
 +                      };
 +              };
 +      };
index ebcc4692d53cee32faa3e8c7b282d5eb5f049d6d..e8046657920767692502a2c2cedc33046fc142a6 100644 (file)
                hdd1_red {
                        label = "ls421de:red:hdd1";
                        gpios = <&gpio1 29 GPIO_ACTIVE_HIGH>;
-                       default-state = "off";
                        linux,default-trigger = "ata1";
                };
 
                hdd2_red {
                        label = "ls421de:red:hdd2";
                        gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>;
-                       default-state = "off";
                        linux,default-trigger = "ata2";
                };
        };