Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit df0a3e39 authored by Guru Das Srinagesh's avatar Guru Das Srinagesh
Browse files

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
parent 401531e6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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 {
+3 −0
Original line number Diff line number Diff line
@@ -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 {
+3 −0
Original line number Diff line number Diff line
@@ -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 {