ipq40xx: whw03v2: fix handling of RGB LED
authorRodrigo Balerdi <lanchon@gmail.com>
Thu, 11 Apr 2024 18:44:10 +0000 (15:44 -0300)
committerRobert Marko <robimarko@gmail.com>
Sat, 13 Apr 2024 20:56:04 +0000 (22:56 +0200)
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@gmail.com>
target/linux/ipq40xx/files-6.1/arch/arm/boot/dts/qcom-ipq4019-whw03v2.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-whw03v2.dts

index 7b3f1c8bb736272ccf8247b834e58b7b1bf45425..9176ace23dc673aca6d8724fa56b202ad90dfc74 100644 (file)
                led_red: red@0 {
                        color = <LED_COLOR_ID_RED>;
                        function = LED_FUNCTION_INDICATOR;
-                       linux,default-trigger = "none";
                        reg = <0>;
                };
 
                led_green: green@1 {
                        color = <LED_COLOR_ID_GREEN>;
                        function = LED_FUNCTION_INDICATOR;
-                       linux,default-trigger = "none";
                        reg = <1>;
                };
 
                led_blue: blue@2 {
                        color = <LED_COLOR_ID_BLUE>;
                        function = LED_FUNCTION_INDICATOR;
-                       linux,default-trigger = "default-on";
                        reg = <2>;
                };
        };
index 7b3f1c8bb736272ccf8247b834e58b7b1bf45425..9176ace23dc673aca6d8724fa56b202ad90dfc74 100644 (file)
                led_red: red@0 {
                        color = <LED_COLOR_ID_RED>;
                        function = LED_FUNCTION_INDICATOR;
-                       linux,default-trigger = "none";
                        reg = <0>;
                };
 
                led_green: green@1 {
                        color = <LED_COLOR_ID_GREEN>;
                        function = LED_FUNCTION_INDICATOR;
-                       linux,default-trigger = "none";
                        reg = <1>;
                };
 
                led_blue: blue@2 {
                        color = <LED_COLOR_ID_BLUE>;
                        function = LED_FUNCTION_INDICATOR;
-                       linux,default-trigger = "default-on";
                        reg = <2>;
                };
        };