From df0a3e3954d011e2e9ae2cebb036bb303e73cd31 Mon Sep 17 00:00:00 2001 From: Guru Das Srinagesh Date: Mon, 8 Jun 2020 17:31:13 -0700 Subject: [PATCH] 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 --- qcom/lahaina-cdp.dtsi | 3 +++ qcom/lahaina-mtp.dtsi | 3 +++ qcom/lahaina-qrd-common.dtsi | 3 +++ 3 files changed, 9 insertions(+) diff --git a/qcom/lahaina-cdp.dtsi b/qcom/lahaina-cdp.dtsi index 93439a22d81b..eb0f82c550be 100644 --- a/qcom/lahaina-cdp.dtsi +++ b/qcom/lahaina-cdp.dtsi @@ -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 { diff --git a/qcom/lahaina-mtp.dtsi b/qcom/lahaina-mtp.dtsi index 4dd893a7e6e2..cbab35fac2f1 100644 --- a/qcom/lahaina-mtp.dtsi +++ b/qcom/lahaina-mtp.dtsi @@ -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 { diff --git a/qcom/lahaina-qrd-common.dtsi b/qcom/lahaina-qrd-common.dtsi index a774fa8d4017..3c68d42b4841 100644 --- a/qcom/lahaina-qrd-common.dtsi +++ b/qcom/lahaina-qrd-common.dtsi @@ -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 {