* [PATCH] arm64: dts: qcom: sc8280xp: use refgen regulator for DSI
@ 2026-02-28 12:54 Pengyu Luo
2026-02-28 13:13 ` Dmitry Baryshkov
0 siblings, 1 reply; 5+ messages in thread
From: Pengyu Luo @ 2026-02-28 12:54 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: Pengyu Luo, linux-arm-msm, devicetree, linux-kernel
Use it for the DSI controllers, since DSI nodes have been added.
Signed-off-by: Pengyu Luo <mitltlatltl@gmail.com>
---
This patch depends on the below series:
https://lore.kernel.org/linux-arm-msm/20260228101907.18043-1-mitltlatltl@gmail.com/
---
arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
index 79021267d..1599d698b 100644
--- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
@@ -4843,6 +4843,8 @@ mdss0_dsi0: dsi@ae94000 {
operating-points-v2 = <&dsi_opp_table>;
power-domains = <&rpmhpd SC8280XP_MMCX>;
+ refgen-supply = <&refgen>;
+
phys = <&mdss0_dsi0_phy>;
phy-names = "dsi";
@@ -4942,6 +4944,8 @@ mdss0_dsi1: dsi@ae96000 {
operating-points-v2 = <&dsi_opp_table>;
power-domains = <&rpmhpd SC8280XP_MMCX>;
+ refgen-supply = <&refgen>;
+
phys = <&mdss0_dsi1_phy>;
phy-names = "dsi";
@@ -6398,6 +6402,8 @@ mdss1_dsi0: dsi@22094000 {
operating-points-v2 = <&dsi_opp_table>;
power-domains = <&rpmhpd SC8280XP_MMCX>;
+ refgen-supply = <&refgen>;
+
phys = <&mdss1_dsi0_phy>;
phy-names = "dsi";
@@ -6478,6 +6484,8 @@ mdss1_dsi1: dsi@22096000 {
operating-points-v2 = <&dsi_opp_table>;
power-domains = <&rpmhpd SC8280XP_MMCX>;
+ refgen-supply = <&refgen>;
+
phys = <&mdss1_dsi1_phy>;
phy-names = "dsi";
--
2.53.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] arm64: dts: qcom: sc8280xp: use refgen regulator for DSI
2026-02-28 12:54 [PATCH] arm64: dts: qcom: sc8280xp: use refgen regulator for DSI Pengyu Luo
@ 2026-02-28 13:13 ` Dmitry Baryshkov
2026-02-28 13:38 ` Pengyu Luo
0 siblings, 1 reply; 5+ messages in thread
From: Dmitry Baryshkov @ 2026-02-28 13:13 UTC (permalink / raw)
To: Pengyu Luo
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-arm-msm, devicetree, linux-kernel
On Sat, Feb 28, 2026 at 08:54:30PM +0800, Pengyu Luo wrote:
> Use it for the DSI controllers, since DSI nodes have been added.
>
> Signed-off-by: Pengyu Luo <mitltlatltl@gmail.com>
> ---
> This patch depends on the below series:
> https://lore.kernel.org/linux-arm-msm/20260228101907.18043-1-mitltlatltl@gmail.com/
Why was it not squashed into that series? I'd assume that DSI nodes are
incomplete and are working "by luck" without the refgen supplies.
> ---
> arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
> index 79021267d..1599d698b 100644
> --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
> @@ -4843,6 +4843,8 @@ mdss0_dsi0: dsi@ae94000 {
> operating-points-v2 = <&dsi_opp_table>;
> power-domains = <&rpmhpd SC8280XP_MMCX>;
>
> + refgen-supply = <&refgen>;
> +
> phys = <&mdss0_dsi0_phy>;
> phy-names = "dsi";
>
> @@ -4942,6 +4944,8 @@ mdss0_dsi1: dsi@ae96000 {
> operating-points-v2 = <&dsi_opp_table>;
> power-domains = <&rpmhpd SC8280XP_MMCX>;
>
> + refgen-supply = <&refgen>;
> +
> phys = <&mdss0_dsi1_phy>;
> phy-names = "dsi";
>
> @@ -6398,6 +6402,8 @@ mdss1_dsi0: dsi@22094000 {
> operating-points-v2 = <&dsi_opp_table>;
> power-domains = <&rpmhpd SC8280XP_MMCX>;
>
> + refgen-supply = <&refgen>;
> +
> phys = <&mdss1_dsi0_phy>;
> phy-names = "dsi";
>
> @@ -6478,6 +6484,8 @@ mdss1_dsi1: dsi@22096000 {
> operating-points-v2 = <&dsi_opp_table>;
> power-domains = <&rpmhpd SC8280XP_MMCX>;
>
> + refgen-supply = <&refgen>;
> +
> phys = <&mdss1_dsi1_phy>;
> phy-names = "dsi";
>
> --
> 2.53.0
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm64: dts: qcom: sc8280xp: use refgen regulator for DSI
2026-02-28 13:13 ` Dmitry Baryshkov
@ 2026-02-28 13:38 ` Pengyu Luo
2026-02-28 13:44 ` Dmitry Baryshkov
0 siblings, 1 reply; 5+ messages in thread
From: Pengyu Luo @ 2026-02-28 13:38 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-arm-msm, devicetree, linux-kernel
On Sat, Feb 28, 2026 at 9:13 PM Dmitry Baryshkov
<dmitry.baryshkov@oss.qualcomm.com> wrote:
>
> On Sat, Feb 28, 2026 at 08:54:30PM +0800, Pengyu Luo wrote:
> > Use it for the DSI controllers, since DSI nodes have been added.
> >
> > Signed-off-by: Pengyu Luo <mitltlatltl@gmail.com>
> > ---
> > This patch depends on the below series:
> > https://lore.kernel.org/linux-arm-msm/20260228101907.18043-1-mitltlatltl@gmail.com/
>
> Why was it not squashed into that series? I'd assume that DSI nodes are
> incomplete and are working "by luck" without the refgen supplies.
>
I had completely forgotten about it until I found the patch when I was
sorting these old day unverified patches. At that time, I just sent
DSI patches. I will put it into DSI patches.
Many platforms should work without refgen. Bootloder may have
initialized it and be untouched later? Once there was no refgen
regulator, my sdm845 phone worked.
Best wishes,
Pengyu
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm64: dts: qcom: sc8280xp: use refgen regulator for DSI
2026-02-28 13:38 ` Pengyu Luo
@ 2026-02-28 13:44 ` Dmitry Baryshkov
2026-02-28 14:14 ` Pengyu Luo
0 siblings, 1 reply; 5+ messages in thread
From: Dmitry Baryshkov @ 2026-02-28 13:44 UTC (permalink / raw)
To: Pengyu Luo
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-arm-msm, devicetree, linux-kernel
On Sat, Feb 28, 2026 at 09:38:43PM +0800, Pengyu Luo wrote:
> On Sat, Feb 28, 2026 at 9:13 PM Dmitry Baryshkov
> <dmitry.baryshkov@oss.qualcomm.com> wrote:
> >
> > On Sat, Feb 28, 2026 at 08:54:30PM +0800, Pengyu Luo wrote:
> > > Use it for the DSI controllers, since DSI nodes have been added.
> > >
> > > Signed-off-by: Pengyu Luo <mitltlatltl@gmail.com>
> > > ---
> > > This patch depends on the below series:
> > > https://lore.kernel.org/linux-arm-msm/20260228101907.18043-1-mitltlatltl@gmail.com/
> >
> > Why was it not squashed into that series? I'd assume that DSI nodes are
> > incomplete and are working "by luck" without the refgen supplies.
> >
>
> I had completely forgotten about it until I found the patch when I was
> sorting these old day unverified patches. At that time, I just sent
> DSI patches. I will put it into DSI patches.
>
> Many platforms should work without refgen. Bootloder may have
> initialized it and be untouched later? Once there was no refgen
> regulator, my sdm845 phone worked.
If there is no refgen driver, then the bootloader setup will continue to
work since nobody touches it. If there is a refgen driver, then the
kernel will shut it off during the bootup procedure.
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm64: dts: qcom: sc8280xp: use refgen regulator for DSI
2026-02-28 13:44 ` Dmitry Baryshkov
@ 2026-02-28 14:14 ` Pengyu Luo
0 siblings, 0 replies; 5+ messages in thread
From: Pengyu Luo @ 2026-02-28 14:14 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-arm-msm, devicetree, linux-kernel
On Sat, Feb 28, 2026 at 9:44 PM Dmitry Baryshkov
<dmitry.baryshkov@oss.qualcomm.com> wrote:
>
> On Sat, Feb 28, 2026 at 09:38:43PM +0800, Pengyu Luo wrote:
> > On Sat, Feb 28, 2026 at 9:13 PM Dmitry Baryshkov
> > <dmitry.baryshkov@oss.qualcomm.com> wrote:
> > >
> > > On Sat, Feb 28, 2026 at 08:54:30PM +0800, Pengyu Luo wrote:
> > > > Use it for the DSI controllers, since DSI nodes have been added.
> > > >
> > > > Signed-off-by: Pengyu Luo <mitltlatltl@gmail.com>
> > > > ---
> > > > This patch depends on the below series:
> > > > https://lore.kernel.org/linux-arm-msm/20260228101907.18043-1-mitltlatltl@gmail.com/
> > >
> > > Why was it not squashed into that series? I'd assume that DSI nodes are
> > > incomplete and are working "by luck" without the refgen supplies.
> > >
> >
> > I had completely forgotten about it until I found the patch when I was
> > sorting these old day unverified patches. At that time, I just sent
> > DSI patches. I will put it into DSI patches.
> >
> > Many platforms should work without refgen. Bootloder may have
> > initialized it and be untouched later? Once there was no refgen
> > regulator, my sdm845 phone worked.
>
> If there is no refgen driver, then the bootloader setup will continue to
> work since nobody touches it. If there is a refgen driver, then the
> kernel will shut it off during the bootup procedure.
>
Thanks for explaining this. I saw a similar thing on sm8750, I had to
reboot again and again to turn on the display once.
Best wishes,
Pengyu
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-02-28 14:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-28 12:54 [PATCH] arm64: dts: qcom: sc8280xp: use refgen regulator for DSI Pengyu Luo
2026-02-28 13:13 ` Dmitry Baryshkov
2026-02-28 13:38 ` Pengyu Luo
2026-02-28 13:44 ` Dmitry Baryshkov
2026-02-28 14:14 ` Pengyu Luo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox