[openwrt/openwrt] ipq40xx: whw03v2: fix handling of RGB LED

LEDE Commits lede-commits at lists.infradead.org
Sat Apr 13 14:07:27 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/fc62d66c20b9e9f52ed787d2079baab06108b959

commit fc62d66c20b9e9f52ed787d2079baab06108b959
Author: Rodrigo Balerdi <lanchon at gmail.com>
AuthorDate: Thu Apr 11 15:44:10 2024 -0300

    ipq40xx: whw03v2: fix handling of RGB LED
    
    The RGB LED should glow green in the 'running' state, but it
    was glowing cyan because the blue component defaulted to 'on'.
    
    Signed-off-by: Rodrigo Balerdi <lanchon at gmail.com>
---
 .../linux/ipq40xx/files-6.1/arch/arm/boot/dts/qcom-ipq4019-whw03v2.dts | 3 ---
 .../ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-whw03v2.dts  | 3 ---
 2 files changed, 6 deletions(-)

diff --git a/target/linux/ipq40xx/files-6.1/arch/arm/boot/dts/qcom-ipq4019-whw03v2.dts b/target/linux/ipq40xx/files-6.1/arch/arm/boot/dts/qcom-ipq4019-whw03v2.dts
index 7b3f1c8bb7..9176ace23d 100644
--- a/target/linux/ipq40xx/files-6.1/arch/arm/boot/dts/qcom-ipq4019-whw03v2.dts
+++ b/target/linux/ipq40xx/files-6.1/arch/arm/boot/dts/qcom-ipq4019-whw03v2.dts
@@ -277,21 +277,18 @@
 		led_red: red at 0 {
 			color = <LED_COLOR_ID_RED>;
 			function = LED_FUNCTION_INDICATOR;
-			linux,default-trigger = "none";
 			reg = <0>;
 		};
 
 		led_green: green at 1 {
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_INDICATOR;
-			linux,default-trigger = "none";
 			reg = <1>;
 		};
 
 		led_blue: blue at 2 {
 			color = <LED_COLOR_ID_BLUE>;
 			function = LED_FUNCTION_INDICATOR;
-			linux,default-trigger = "default-on";
 			reg = <2>;
 		};
 	};
diff --git a/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-whw03v2.dts b/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-whw03v2.dts
index 7b3f1c8bb7..9176ace23d 100644
--- a/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-whw03v2.dts
+++ b/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-whw03v2.dts
@@ -277,21 +277,18 @@
 		led_red: red at 0 {
 			color = <LED_COLOR_ID_RED>;
 			function = LED_FUNCTION_INDICATOR;
-			linux,default-trigger = "none";
 			reg = <0>;
 		};
 
 		led_green: green at 1 {
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_INDICATOR;
-			linux,default-trigger = "none";
 			reg = <1>;
 		};
 
 		led_blue: blue at 2 {
 			color = <LED_COLOR_ID_BLUE>;
 			function = LED_FUNCTION_INDICATOR;
-			linux,default-trigger = "default-on";
 			reg = <2>;
 		};
 	};




More information about the lede-commits mailing list