summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYahui Wang <yahuiw@codeaurora.org>2016-12-12 22:33:38 +0800
committerYahui Wang <yahuiw@codeaurora.org>2017-01-12 09:42:55 +0800
commitf704577710f7173518babc0e8587f4e457906421 (patch)
tree1983cc65d576d49c9ca2387ec2cbb461552ac22c
parentfc96238d41b38edea1f9fbfe65dd95e34f733aeb (diff)
ARM: dts: msm: add PMI GPIO1 to control WLED for msm8998 QVR
PMI GPIO1 is used to enable and disable WLED for msm8998 QVR, we should also invert the gpio level according to HW design. CRs-Fixed: 1101647 Change-Id: If29e41d12a697d7fd6671f1134a1e798c80c3523 Signed-off-by: Yahui Wang <yahuiw@codeaurora.org>
-rw-r--r--arch/arm/boot/dts/qcom/msm8998-qrd-vr1.dtsi6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/qcom/msm8998-qrd-vr1.dtsi b/arch/arm/boot/dts/qcom/msm8998-qrd-vr1.dtsi
index 42bc1907555d..77f318c22259 100644
--- a/arch/arm/boot/dts/qcom/msm8998-qrd-vr1.dtsi
+++ b/arch/arm/boot/dts/qcom/msm8998-qrd-vr1.dtsi
@@ -1,4 +1,4 @@
-/* Copyright (c) 2016, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -361,6 +361,8 @@
qcom,platform-te-gpio = <&tlmm 10 0>;
qcom,platform-enable-gpio = <&tlmm 52 0>;
qcom,platform-reset-gpio = <&tlmm 94 0>;
+ qcom,platform-bklight-en-gpio = <&pmi8998_gpios 1 0>;
+ qcom,platform-bklight-en-gpio-invert;
};
&mdss_dsi1 {
@@ -371,6 +373,8 @@
qcom,platform-te-gpio = <&tlmm 10 0>;
qcom,platform-enable-gpio = <&tlmm 52 0>;
qcom,platform-reset-gpio = <&tlmm 94 0>;
+ qcom,platform-bklight-en-gpio = <&pmi8998_gpios 1 0>;
+ qcom,platform-bklight-en-gpio-invert;
};
&pmi8998_wled {