]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: imx6: remove undefined linux,default-trigger source
authorFrank Li <Frank.Li@nxp.com>
Wed, 3 Sep 2025 20:20:08 +0000 (16:20 -0400)
committerShawn Guo <shawnguo@kernel.org>
Thu, 11 Sep 2025 03:18:10 +0000 (11:18 +0800)
Set gpio/off to none for linux,default-trigger.
Fix below CHECK_DTBS warnings:
arch/arm/boot/dts/nxp/imx/imx6dl-phytec-mira-rdk-nand.dtb: user-leds (gpio-leds): user-led1:linux,default-trigger: 'oneOf' conditional failed, one must be fixed:
        'gpio' is not one of ['backlight', 'default-on', 'heartbeat', 'disk-activity', 'disk-read', 'disk-write', 'timer', 'pattern', 'audio-micmute', 'audio-mute', 'bluetooth-power', 'flash', 'kbd-capslock', 'mtd', 'nand-disk', 'netdev', 'none', 'rc-feedback', 'torch', 'usb-gadget', 'usb-host', 'usbport']

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/imx53-kp.dtsi
arch/arm/boot/dts/nxp/imx/imx6q-kp.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-mira-peb-eval-01.dtsi
arch/arm/boot/dts/nxp/imx/imx6sl-tolino-shine2hd.dts
arch/arm/boot/dts/nxp/imx/imx6ul-phytec-segin-peb-eval-01.dtsi
arch/arm/boot/dts/nxp/imx/imx6ull-phytec-tauri.dtsi

index ebbd4d93e46065f16bb367c449918bbdffa2a4cc..543cf723008fd138e0baddaf3ec55d16ef1dfc17 100644 (file)
                led-bus {
                        label = "bus";
                        gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>;
-                       linux,default-trigger = "gpio";
+                       linux,default-trigger = "none";
                        default-state = "off";
                };
 
                led-error {
                        label = "error";
                        gpios = <&gpio3 28 GPIO_ACTIVE_HIGH>;
-                       linux,default-trigger = "gpio";
+                       linux,default-trigger = "none";
                        default-state = "off";
                };
 
index c425d427663d0624646dc55c38a596ba78f6ce04..d6deb8c22b8c34f450ed5d9f9aea6872fc9fac6a 100644 (file)
                led-green {
                        label = "led1";
                        gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>;
-                       linux,default-trigger = "gpio";
+                       linux,default-trigger = "none";
                        default-state = "off";
                };
 
                led-red {
                        label = "led0";
                        gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
-                       linux,default-trigger = "gpio";
+                       linux,default-trigger = "none";
                        default-state = "off";
                };
        };
index 060d2aeb1baf750c1b134ac716d9948fb64e5f10..fc78acc9f5c5ffe4cbc24a9aae07bc946b651050 100644 (file)
 
                user-led1 {
                        gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
-                       linux,default-trigger = "gpio";
+                       linux,default-trigger = "none";
                        default-state = "on";
                };
 
                user-led2 {
                        gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>;
-                       linux,default-trigger = "gpio";
+                       linux,default-trigger = "none";
                        default-state = "on";
                };
 
                user-led3 {
                        gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
-                       linux,default-trigger = "gpio";
+                       linux,default-trigger = "none";
                        default-state = "on";
                };
        };
index 56040da0bd25d162823536af1210a3fe8be7d314..b6c336e3079e3c8da7736fb1638beda2027bc7fb 100644 (file)
@@ -84,7 +84,7 @@
                led-1 {
                        label = "tolinoshine2hd:white:backlightboost";
                        gpios = <&gpio1 29 GPIO_ACTIVE_HIGH>;
-                       linux,default-trigger = "off";
+                       linux,default-trigger = "none";
                };
        };
 
index 24c48cdd1797e43fb364ce6680b4f09bb526e788..113485e3397aae8941fcd12c4518b72d757a6b25 100644 (file)
 
                user-led1 {
                        gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
-                       linux,default-trigger = "gpio";
+                       linux,default-trigger = "none";
                        default-state = "on";
                };
 
                user-led2 {
                        gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
-                       linux,default-trigger = "gpio";
+                       linux,default-trigger = "none";
                        default-state = "on";
                };
        };
index 8ad09fd334f74cf7e1711a57885564eb9a549902..7ee25b14162760effd4a402470f814f021a607da 100644 (file)
                user-led1 {
                        label = "yellow";
                        gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
-                       linux,default-trigger = "off";
+                       linux,default-trigger = "none";
                };
 
                user-led2 {
                        label = "red";
                        gpios = <&gpio5 9 GPIO_ACTIVE_HIGH>;
-                       linux,default-trigger = "off";
+                       linux,default-trigger = "none";
                };
        };
 };