Currently, red and green LEDs are used for showing charging and
full status. Since they're configured with battery-charging and
battery-full LED triggers, power supply framework updates these
LEDS for battery power supply based on charging status. Remove
these default trigger configurations so that these LEDs can be
controlled by userspace in a better way. Also, specify blinking
configuration for red LED so that it can be used for indicating
HVDCP chargers.
CRs-Fixed:
2007466
Change-Id: I3e06582e7e1b6b8a588e7f5fb7b31bd01be16cea
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
qcom,led-strings-list = [00 01];
};
+&red_led {
+ /delete-property/ linux,default-trigger;
+ qcom,start-idx = <0>;
+ qcom,idx-len = <10>;
+ qcom,duty-pcts = [00 19 32 4b 64
+ 64 4b 32 19 00];
+ qcom,use-blink;
+};
+
+&green_led {
+ /delete-property/ linux,default-trigger;
+};
+
&dsi_dual_nt35597_video {
qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled";
qcom,mdss-dsi-bl-min-level = <1>;
qcom,led-strings-list = [01 02];
};
+&red_led {
+ /delete-property/ linux,default-trigger;
+ qcom,start-idx = <0>;
+ qcom,idx-len = <10>;
+ qcom,duty-pcts = [00 19 32 4b 64
+ 64 4b 32 19 00];
+ qcom,use-blink;
+};
+
+&green_led {
+ /delete-property/ linux,default-trigger;
+};
+
&dsi_dual_nt35597_video {
qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled";
qcom,mdss-dsi-bl-min-level = <1>;