* Re: [PATCH 2/6] dt-bindings: clock: qcom,dispcc-sm6125: Define MDSS resets
@ 2026-02-17 18:51 Yedaya Katsman
2026-02-17 19:13 ` Krzysztof Kozlowski
0 siblings, 1 reply; 4+ messages in thread
From: Yedaya Katsman @ 2026-02-17 18:51 UTC (permalink / raw)
To: val
Cc: andersson, conor+dt, devicetree, krzk+dt, Krzysztof Kozlowski,
linux-arm-msm, linux-clk, linux-kernel, marijn.suijten,
martin.botka, mturquette, phone-devel, robh, sboyd,
~postmarketos/upstreaming
On Mon, Feb 16, 2026 at 08:25:20PM -0300, Val Packett wrote:
> Add the missing defines for MDSS resets.
> While here, align comment style with other SoCs.
>
> Fixes: 8397c9c0c26b ("dt-bindings: clock: add QCOM SM6125 display clock bindings")
> Signed-off-by: Val Packett <val@packett.cool>
> ---
> include/dt-bindings/clock/qcom,dispcc-sm6125.h | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
Tested-By: Yedaya Katsman <yedaya.ka@gmail.com>
Regards, Yedaya
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH 2/6] dt-bindings: clock: qcom,dispcc-sm6125: Define MDSS resets
2026-02-17 18:51 [PATCH 2/6] dt-bindings: clock: qcom,dispcc-sm6125: Define MDSS resets Yedaya Katsman
@ 2026-02-17 19:13 ` Krzysztof Kozlowski
2026-02-18 13:27 ` Yedaya Katsman
0 siblings, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2026-02-17 19:13 UTC (permalink / raw)
To: Yedaya Katsman, val
Cc: andersson, conor+dt, devicetree, krzk+dt, linux-arm-msm,
linux-clk, linux-kernel, marijn.suijten, martin.botka, mturquette,
phone-devel, robh, sboyd, ~postmarketos/upstreaming
On 17/02/2026 19:51, Yedaya Katsman wrote:
> On Mon, Feb 16, 2026 at 08:25:20PM -0300, Val Packett wrote:
>> Add the missing defines for MDSS resets.
>> While here, align comment style with other SoCs.
>>
>> Fixes: 8397c9c0c26b ("dt-bindings: clock: add QCOM SM6125 display clock bindings")
>> Signed-off-by: Val Packett <val@packett.cool>
>> ---
>> include/dt-bindings/clock/qcom,dispcc-sm6125.h | 6 +++++-
>> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> Tested-By: Yedaya Katsman <yedaya.ka@gmail.com>
Thanks for the efforts, but unfortunately you cannot test a header. It
is not possible. Testing means you try given code on a REAL device and
you cannot do that for the header or bindings.
Please do not add tags which are not representing actual action.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH 2/6] dt-bindings: clock: qcom,dispcc-sm6125: Define MDSS resets
2026-02-17 19:13 ` Krzysztof Kozlowski
@ 2026-02-18 13:27 ` Yedaya Katsman
0 siblings, 0 replies; 4+ messages in thread
From: Yedaya Katsman @ 2026-02-18 13:27 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: val, andersson, conor+dt, devicetree, krzk+dt, linux-arm-msm,
linux-clk, linux-kernel, marijn.suijten, martin.botka, mturquette,
phone-devel, robh, sboyd, ~postmarketos/upstreaming
On Tue, 17 Feb 2026 at 21:13, Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
> On 17/02/2026 19:51, Yedaya Katsman wrote:
> > On Mon, Feb 16, 2026 at 08:25:20PM -0300, Val Packett wrote:
> >> Add the missing defines for MDSS resets.
> >> While here, align comment style with other SoCs.
> >>
> >> Fixes: 8397c9c0c26b ("dt-bindings: clock: add QCOM SM6125 display clock bindings")
> >> Signed-off-by: Val Packett <val@packett.cool>
> >> ---
> >> include/dt-bindings/clock/qcom,dispcc-sm6125.h | 6 +++++-
> >> 1 file changed, 5 insertions(+), 1 deletion(-)
> >
> > Tested-By: Yedaya Katsman <yedaya.ka@gmail.com>
>
> Thanks for the efforts, but unfortunately you cannot test a header. It
> is not possible. Testing means you try given code on a REAL device and
> you cannot do that for the header or bindings.
>
> Please do not add tags which are not representing actual action.
OK, yeah that makes sense. I will send a tag for the last patch, which
only with it applied actually fixed my issue (although presumably it
depends on some of the previous ones in the series).
> Best regards,
> Krzysztof
Thanks, Yedaya
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 0/6] SM6115/SM6125 MDSS core reset
@ 2026-02-16 23:25 Val Packett
2026-02-16 23:25 ` [PATCH 2/6] dt-bindings: clock: qcom,dispcc-sm6125: Define MDSS resets Val Packett
0 siblings, 1 reply; 4+ messages in thread
From: Val Packett @ 2026-02-16 23:25 UTC (permalink / raw)
Cc: linux-arm-msm, phone-devel, ~postmarketos/upstreaming,
Val Packett, linux-kernel, linux-clk, devicetree
Hi,
this series is like [1] but for these two SoCs.
Yeah: same person, different SoCs, same cause, different symptoms :)
On the SC7180 WoA device with DP out, it was causing faults+artifacts
due to EFI framebuffer scanout not stopping when Linux takes over.
This time, the reset was necessary for MIPI DSI display to work *at all*
on the sm6115-motorola-guamp (Moto G9 Play) phone (DTS coming very soon!)
With the state left by the bootloader, the display would stay gray. DCS
setup commands would go through fine, some `dsi_err_worker: status=4`
errors would be logged after setup a few times (not continuously) but
the display would not start working. With the reset, it works fine!
Since the SM6125 is closely related, I've done the same for it as well.
The QCM2290 already does have the reset.
[1]: https://lore.kernel.org/all/20260120-topic-7180_dispcc_bcr-v1-0-0b1b442156c3@oss.qualcomm.com/
Thanks,
~val
Val Packett (6):
dt-bindings: clock: qcom,sm6115-dispcc: Define MDSS resets
dt-bindings: clock: qcom,dispcc-sm6125: Define MDSS resets
clk: qcom: dispcc-sm6115: Add missing MDSS resets
clk: qcom: dispcc-sm6125: Add missing MDSS resets
arm64: dts: qcom: sm6115: Add missing MDSS core reset
arm64: dts: qcom: sm6125: Add missing MDSS core reset
arch/arm64/boot/dts/qcom/sm6115.dtsi | 2 ++
arch/arm64/boot/dts/qcom/sm6125.dtsi | 3 +++
drivers/clk/qcom/dispcc-sm6115.c | 7 +++++++
drivers/clk/qcom/dispcc-sm6125.c | 7 +++++++
include/dt-bindings/clock/qcom,dispcc-sm6125.h | 6 +++++-
include/dt-bindings/clock/qcom,sm6115-dispcc.h | 7 +++++--
6 files changed, 29 insertions(+), 3 deletions(-)
--
2.52.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 2/6] dt-bindings: clock: qcom,dispcc-sm6125: Define MDSS resets
2026-02-16 23:25 [PATCH 0/6] SM6115/SM6125 MDSS core reset Val Packett
@ 2026-02-16 23:25 ` Val Packett
0 siblings, 0 replies; 4+ messages in thread
From: Val Packett @ 2026-02-16 23:25 UTC (permalink / raw)
To: Bjorn Andersson, Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Marijn Suijten, Martin Botka
Cc: linux-arm-msm, phone-devel, ~postmarketos/upstreaming,
Val Packett, Krzysztof Kozlowski, linux-clk, devicetree,
linux-kernel
Add the missing defines for MDSS resets.
While here, align comment style with other SoCs.
Fixes: 8397c9c0c26b ("dt-bindings: clock: add QCOM SM6125 display clock bindings")
Signed-off-by: Val Packett <val@packett.cool>
---
include/dt-bindings/clock/qcom,dispcc-sm6125.h | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/include/dt-bindings/clock/qcom,dispcc-sm6125.h b/include/dt-bindings/clock/qcom,dispcc-sm6125.h
index 4ff974f4fcc3..f58b85d2c814 100644
--- a/include/dt-bindings/clock/qcom,dispcc-sm6125.h
+++ b/include/dt-bindings/clock/qcom,dispcc-sm6125.h
@@ -6,6 +6,7 @@
#ifndef _DT_BINDINGS_CLK_QCOM_DISP_CC_SM6125_H
#define _DT_BINDINGS_CLK_QCOM_DISP_CC_SM6125_H
+/* Clocks */
#define DISP_CC_PLL0 0
#define DISP_CC_MDSS_AHB_CLK 1
#define DISP_CC_MDSS_AHB_CLK_SRC 2
@@ -35,7 +36,10 @@
#define DISP_CC_MDSS_VSYNC_CLK_SRC 26
#define DISP_CC_XO_CLK 27
-/* DISP_CC GDSCR */
+/* Resets */
+#define DISP_CC_MDSS_CORE_BCR 0
+
+/* GDSCs */
#define MDSS_GDSC 0
#endif
--
2.52.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-02-18 13:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-17 18:51 [PATCH 2/6] dt-bindings: clock: qcom,dispcc-sm6125: Define MDSS resets Yedaya Katsman
2026-02-17 19:13 ` Krzysztof Kozlowski
2026-02-18 13:27 ` Yedaya Katsman
-- strict thread matches above, loose matches on Subject: below --
2026-02-16 23:25 [PATCH 0/6] SM6115/SM6125 MDSS core reset Val Packett
2026-02-16 23:25 ` [PATCH 2/6] dt-bindings: clock: qcom,dispcc-sm6125: Define MDSS resets Val Packett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox