[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220425032824.211975-1-danct12@riseup.net>
Date: Mon, 25 Apr 2022 10:28:24 +0700
From: Dang Huynh <danct12@...eup.net>
To: Dang Huynh <danct12@...eup.net>
Cc: Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] arm64: dts: qcom: sdm660-xiaomi-lavender: Configure WLED
WLED is used for controlling display backlight on this phone.
Signed-off-by: Dang Huynh <danct12@...eup.net>
---
arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts
index dcbaacf18f66..7a30008ee0dd 100644
--- a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts
+++ b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts
@@ -363,6 +363,14 @@ vreg_l19a_3p3: l19 {
};
};
+&pm660l_wled {
+ status = "okay";
+
+ qcom,switching-freq = <800>;
+ qcom,current-limit-microamp = <20000>;
+ qcom,num-strings = <2>;
+};
+
&sdhc_1 {
status = "okay";
supports-cqe;
--
2.36.0
Powered by blists - more mailing lists