From: Luca Weiss <luca.weiss@fairphone.com>
To: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Abel Vesa <abelvesa@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
Val Packett <val@packett.cool>
Cc: ~postmarketos/upstreaming@lists.sr.ht,
phone-devel@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
Luca Weiss <luca.weiss@fairphone.com>
Subject: [PATCH 2/4] arm64: dts: qcom: sdm632-fairphone-fp3: Wire up PMI632 LCDB
Date: Fri, 13 Nov 2026 09:16:36 +0100 [thread overview]
Message-ID: <20261113-lcdb-enablement-v1-2-1dc40b49ed82@fairphone.com> (raw)
In-Reply-To: <20261113-lcdb-enablement-v1-0-1dc40b49ed82@fairphone.com>
Since Linux has gained LCDB support now, wire up the LCDB regulators so
we can turn them off and on as desired.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts | 26 ++++++++++++++---------
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts b/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts
index 3223884f9cd6..77331ae6a692 100644
--- a/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts
+++ b/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts
@@ -72,14 +72,6 @@ vreg_cam2_dig_1p2: regulator-cam2-dig-1p2 {
vin-supply = <&vph_pwr>;
};
- /* Dummy regulator until PMI632 has LCDB VSP/VSN support */
- lcdb_dummy: regulator-lcdb-dummy {
- compatible = "regulator-fixed";
- regulator-name = "lcdb_dummy";
- regulator-min-microvolt = <5500000>;
- regulator-max-microvolt = <5500000>;
- };
-
vph_pwr: vph-pwr-regulator {
compatible = "regulator-fixed";
regulator-name = "vph_pwr";
@@ -175,8 +167,8 @@ panel@0 {
reset-gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
iovcc-supply = <&pm8953_l6>;
- vsn-supply = <&lcdb_dummy>;
- vsp-supply = <&lcdb_dummy>;
+ vsn-supply = <&pmi632_lcdb_ncp>;
+ vsp-supply = <&pmi632_lcdb_ldo>;
pinctrl-0 = <&mdss_te_default>;
pinctrl-names = "default";
@@ -212,6 +204,20 @@ &pm8953_resin {
status = "okay";
};
+&pmi632_lcdb {
+ status = "okay";
+};
+
+&pmi632_lcdb_ldo {
+ regulator-min-microvolt = <5500000>;
+ regulator-max-microvolt = <5500000>;
+};
+
+&pmi632_lcdb_ncp {
+ regulator-min-microvolt = <5500000>;
+ regulator-max-microvolt = <5500000>;
+};
+
&pmi632_lpg {
status = "okay";
--
2.56.1
next prev parent reply other threads:[~2026-11-13 8:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-13 8:16 [PATCH 0/4] Wire up LCDB regulator on Fairphone 3 & Fairphone 4 Luca Weiss
2026-11-13 8:16 ` [PATCH 1/4] arm64: defconfig: Enable Qualcomm LCDB regulator Luca Weiss
2026-11-13 8:16 ` Luca Weiss [this message]
2026-11-13 8:16 ` [PATCH 3/4] arm64: dts: qcom: pm6150l: add LCDB regulators Luca Weiss
2026-11-13 8:16 ` [PATCH 4/4] arm64: dts: qcom: sm7225-fairphone-fp4: Wire up PM6150L LCDB Luca Weiss
2026-11-13 12:59 ` Luca Weiss
2026-11-13 13:09 ` Val Packett
2026-11-13 13:27 ` Luca Weiss
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261113-lcdb-enablement-v1-2-1dc40b49ed82@fairphone.com \
--to=luca.weiss@fairphone.com \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=phone-devel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=val@packett.cool \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®