ARM: dts: msm: Enable symmetry in Lahaina led switch devices

On platforms where the led channels are connected pair-wise, enabling
symmetry causes the requested led current to be distributed equally
amongst them.

This is required because internally, the paired led channels are pulled
down by default, and turning only one of them on can cause some leakage
current to drain to the one that is off.

Change-Id: I08814be0b15bab9f9bb5aa640afd7635171dfc76
This commit is contained in:
Guru Das Srinagesh 2020-06-08 17:31:13 -07:00
commit df0a3e3954
3 changed files with 9 additions and 0 deletions

View file

@ -176,14 +176,17 @@
&pm8350c_switch0 {
qcom,led-mask = <9>; /* Channels 1 & 4 */
qcom,symmetry-en;
};
&pm8350c_switch1 {
qcom,led-mask = <6>; /* Channels 2 & 3 */
qcom,symmetry-en;
};
&pm8350c_switch2 {
qcom,led-mask = <15>; /* All Channels */
qcom,symmetry-en;
};
&pm8350c_flash {

View file

@ -140,14 +140,17 @@
&pm8350c_switch0 {
qcom,led-mask = <9>; /* Channels 1 & 4 */
qcom,symmetry-en;
};
&pm8350c_switch1 {
qcom,led-mask = <6>; /* Channels 2 & 3 */
qcom,symmetry-en;
};
&pm8350c_switch2 {
qcom,led-mask = <15>; /* All Channels */
qcom,symmetry-en;
};
&pm8350c_flash {

View file

@ -84,14 +84,17 @@
&pm8350c_switch0 {
qcom,led-mask = <9>; /* Channels 1 & 4 */
qcom,symmetry-en;
};
&pm8350c_switch1 {
qcom,led-mask = <6>; /* Channels 2 & 3 */
qcom,symmetry-en;
};
&pm8350c_switch2 {
qcom,led-mask = <15>; /* All Channels */
qcom,symmetry-en;
};
&pm8350c_flash {