Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH 0/6] SM6115/SM6125 MDSS core reset
@ 2026-02-16 23:25 Val Packett
  2026-02-16 23:25 ` [PATCH 1/6] dt-bindings: clock: qcom,sm6115-dispcc: Define MDSS resets Val Packett
                   ` (5 more replies)
  0 siblings, 6 replies; 18+ 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] 18+ messages in thread

* [PATCH 1/6] dt-bindings: clock: qcom,sm6115-dispcc: 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
  2026-02-17  8:11   ` Krzysztof Kozlowski
  2026-02-16 23:25 ` [PATCH 2/6] dt-bindings: clock: qcom,dispcc-sm6125: " Val Packett
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 18+ 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, Adam Skladowski
  Cc: linux-arm-msm, phone-devel, ~postmarketos/upstreaming,
	Val Packett, linux-clk, devicetree, linux-kernel

Add the missing defines for MDSS resets.
While here, align comment style with other SoCs.

Fixes: 38557c6fc077 ("dt-bindings: clock: add QCOM SM6115 display clock bindings")
Signed-off-by: Val Packett <val@packett.cool>
---
 include/dt-bindings/clock/qcom,sm6115-dispcc.h | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/include/dt-bindings/clock/qcom,sm6115-dispcc.h b/include/dt-bindings/clock/qcom,sm6115-dispcc.h
index d1a6c45b5029..ab8d312ade37 100644
--- a/include/dt-bindings/clock/qcom,sm6115-dispcc.h
+++ b/include/dt-bindings/clock/qcom,sm6115-dispcc.h
@@ -6,7 +6,7 @@
 #ifndef _DT_BINDINGS_CLK_QCOM_DISP_CC_SM6115_H
 #define _DT_BINDINGS_CLK_QCOM_DISP_CC_SM6115_H
 
-/* DISP_CC clocks */
+/* Clocks */
 #define DISP_CC_PLL0			0
 #define DISP_CC_PLL0_OUT_MAIN		1
 #define DISP_CC_MDSS_AHB_CLK		2
@@ -30,7 +30,10 @@
 #define DISP_CC_SLEEP_CLK		20
 #define DISP_CC_SLEEP_CLK_SRC		21
 
-/* 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] 18+ 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 ` [PATCH 1/6] dt-bindings: clock: qcom,sm6115-dispcc: Define MDSS resets Val Packett
@ 2026-02-16 23:25 ` Val Packett
  2026-02-16 23:25 ` [PATCH 3/6] clk: qcom: dispcc-sm6115: Add missing " Val Packett
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 18+ 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] 18+ messages in thread

* [PATCH 3/6] clk: qcom: dispcc-sm6115: Add missing MDSS resets
  2026-02-16 23:25 [PATCH 0/6] SM6115/SM6125 MDSS core reset Val Packett
  2026-02-16 23:25 ` [PATCH 1/6] dt-bindings: clock: qcom,sm6115-dispcc: Define MDSS resets Val Packett
  2026-02-16 23:25 ` [PATCH 2/6] dt-bindings: clock: qcom,dispcc-sm6125: " Val Packett
@ 2026-02-16 23:25 ` Val Packett
  2026-02-17  7:36   ` Dmitry Baryshkov
  2026-02-17  9:22   ` Konrad Dybcio
  2026-02-16 23:25 ` [PATCH 4/6] clk: qcom: dispcc-sm6125: " Val Packett
                   ` (2 subsequent siblings)
  5 siblings, 2 replies; 18+ messages in thread
From: Val Packett @ 2026-02-16 23:25 UTC (permalink / raw)
  To: Bjorn Andersson, Michael Turquette, Stephen Boyd, Adam Skladowski
  Cc: linux-arm-msm, phone-devel, ~postmarketos/upstreaming,
	Val Packett, linux-clk, linux-kernel

The MDSS resets were left undescribed, fix that.

Fixes: 9b518788631c ("clk: qcom: Add display clock controller driver for SM6115")
Signed-off-by: Val Packett <val@packett.cool>
---
 drivers/clk/qcom/dispcc-sm6115.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/clk/qcom/dispcc-sm6115.c b/drivers/clk/qcom/dispcc-sm6115.c
index 8ae25d51db94..75bd57213079 100644
--- a/drivers/clk/qcom/dispcc-sm6115.c
+++ b/drivers/clk/qcom/dispcc-sm6115.c
@@ -22,6 +22,7 @@
 #include "clk-regmap-divider.h"
 #include "common.h"
 #include "gdsc.h"
+#include "reset.h"
 
 enum {
 	DT_BI_TCXO,
@@ -511,6 +512,10 @@ static struct clk_branch disp_cc_sleep_clk = {
 	},
 };
 
+static const struct qcom_reset_map disp_cc_sm6115_resets[] = {
+	[DISP_CC_MDSS_CORE_BCR] = { 0x2000 },
+};
+
 static struct gdsc mdss_gdsc = {
 	.gdscr = 0x3000,
 	.pd = {
@@ -561,6 +566,8 @@ static const struct qcom_cc_desc disp_cc_sm6115_desc = {
 	.config = &disp_cc_sm6115_regmap_config,
 	.clks = disp_cc_sm6115_clocks,
 	.num_clks = ARRAY_SIZE(disp_cc_sm6115_clocks),
+	.resets = disp_cc_sm6115_resets,
+	.num_resets = ARRAY_SIZE(disp_cc_sm6115_resets),
 	.gdscs = disp_cc_sm6115_gdscs,
 	.num_gdscs = ARRAY_SIZE(disp_cc_sm6115_gdscs),
 };
-- 
2.52.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 4/6] clk: qcom: dispcc-sm6125: Add missing MDSS resets
  2026-02-16 23:25 [PATCH 0/6] SM6115/SM6125 MDSS core reset Val Packett
                   ` (2 preceding siblings ...)
  2026-02-16 23:25 ` [PATCH 3/6] clk: qcom: dispcc-sm6115: Add missing " Val Packett
@ 2026-02-16 23:25 ` Val Packett
  2026-02-17  7:37   ` Dmitry Baryshkov
                     ` (2 more replies)
  2026-02-16 23:25 ` [PATCH 5/6] arm64: dts: qcom: sm6115: Add missing MDSS core reset Val Packett
  2026-02-16 23:25 ` [PATCH 6/6] arm64: dts: qcom: sm6125: " Val Packett
  5 siblings, 3 replies; 18+ messages in thread
From: Val Packett @ 2026-02-16 23:25 UTC (permalink / raw)
  To: Bjorn Andersson, Michael Turquette, Stephen Boyd, Marijn Suijten,
	Martin Botka, AngeloGioacchino Del Regno
  Cc: linux-arm-msm, phone-devel, ~postmarketos/upstreaming,
	Val Packett, linux-clk, linux-kernel

The MDSS resets were left undescribed, fix that.

Fixes: 6e87c8f07407 ("clk: qcom: Add display clock controller driver for SM6125")
Signed-off-by: Val Packett <val@packett.cool>
---
 drivers/clk/qcom/dispcc-sm6125.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/clk/qcom/dispcc-sm6125.c b/drivers/clk/qcom/dispcc-sm6125.c
index 851d38a487d3..2c67abcfef12 100644
--- a/drivers/clk/qcom/dispcc-sm6125.c
+++ b/drivers/clk/qcom/dispcc-sm6125.c
@@ -17,6 +17,7 @@
 #include "clk-regmap.h"
 #include "common.h"
 #include "gdsc.h"
+#include "reset.h"
 
 enum {
 	P_BI_TCXO,
@@ -607,6 +608,10 @@ static struct clk_branch disp_cc_xo_clk = {
 	},
 };
 
+static const struct qcom_reset_map disp_cc_sm6125_resets[] = {
+	[DISP_CC_MDSS_CORE_BCR] = { 0x2000 },
+};
+
 static struct gdsc mdss_gdsc = {
 	.gdscr = 0x3000,
 	.pd = {
@@ -663,6 +668,8 @@ static const struct qcom_cc_desc disp_cc_sm6125_desc = {
 	.config = &disp_cc_sm6125_regmap_config,
 	.clks = disp_cc_sm6125_clocks,
 	.num_clks = ARRAY_SIZE(disp_cc_sm6125_clocks),
+	.resets = disp_cc_sm6125_resets,
+	.num_resets = ARRAY_SIZE(disp_cc_sm6125_resets),
 	.gdscs = disp_cc_sm6125_gdscs,
 	.num_gdscs = ARRAY_SIZE(disp_cc_sm6125_gdscs),
 };
-- 
2.52.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 5/6] arm64: dts: qcom: sm6115: Add missing MDSS core reset
  2026-02-16 23:25 [PATCH 0/6] SM6115/SM6125 MDSS core reset Val Packett
                   ` (3 preceding siblings ...)
  2026-02-16 23:25 ` [PATCH 4/6] clk: qcom: dispcc-sm6125: " Val Packett
@ 2026-02-16 23:25 ` Val Packett
  2026-02-17  7:37   ` Dmitry Baryshkov
  2026-02-17  9:22   ` Konrad Dybcio
  2026-02-16 23:25 ` [PATCH 6/6] arm64: dts: qcom: sm6125: " Val Packett
  5 siblings, 2 replies; 18+ messages in thread
From: Val Packett @ 2026-02-16 23:25 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Adam Skladowski
  Cc: linux-arm-msm, phone-devel, ~postmarketos/upstreaming,
	Val Packett, devicetree, linux-kernel

To make sure the display subsystem starts in a predictable state, we
need to reset it. Otherwise, unpredictable issues can happen, e.g.
on the motorola-guamp smartphone DSI would not transmit anything.

Wire up the reset to fix.

Fixes: 705e50427d81 ("arm64: dts: qcom: sm6115: Add mdss/dpu node")
Signed-off-by: Val Packett <val@packett.cool>
---
 arch/arm64/boot/dts/qcom/sm6115.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi
index e9336adbc391..3a9a1ad8d581 100644
--- a/arch/arm64/boot/dts/qcom/sm6115.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi
@@ -1864,6 +1864,8 @@ mdss: display-subsystem@5e00000 {
 				 <&gcc GCC_DISP_HF_AXI_CLK>,
 				 <&dispcc DISP_CC_MDSS_MDP_CLK>;
 
+			resets = <&dispcc DISP_CC_MDSS_CORE_BCR>;
+
 			interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
 			interrupt-controller;
 			#interrupt-cells = <1>;
-- 
2.52.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 6/6] arm64: dts: qcom: sm6125: Add missing MDSS core reset
  2026-02-16 23:25 [PATCH 0/6] SM6115/SM6125 MDSS core reset Val Packett
                   ` (4 preceding siblings ...)
  2026-02-16 23:25 ` [PATCH 5/6] arm64: dts: qcom: sm6115: Add missing MDSS core reset Val Packett
@ 2026-02-16 23:25 ` Val Packett
  2026-02-17  7:37   ` Dmitry Baryshkov
                     ` (2 more replies)
  5 siblings, 3 replies; 18+ messages in thread
From: Val Packett @ 2026-02-16 23:25 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Marijn Suijten, Dmitry Baryshkov
  Cc: linux-arm-msm, phone-devel, ~postmarketos/upstreaming,
	Val Packett, devicetree, linux-kernel

To make sure the display subsystem starts in a predictable state, we
need to reset it. On closely related SoC (sm6115) this has caused
DSI displays to not work.

Wire up the reset to fix.

Fixes: 0865d23a0226 ("arm64: dts: qcom: sm6125: Add display hardware nodes")
Signed-off-by: Val Packett <val@packett.cool>
---
 arch/arm64/boot/dts/qcom/sm6125.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sm6125.dtsi b/arch/arm64/boot/dts/qcom/sm6125.dtsi
index 80c42dff5399..a22374e5a17f 100644
--- a/arch/arm64/boot/dts/qcom/sm6125.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm6125.dtsi
@@ -1238,6 +1238,8 @@ mdss: display-subsystem@5e00000 {
 				      "ahb",
 				      "core";
 
+			resets = <&dispcc DISP_CC_MDSS_CORE_BCR>;
+
 			power-domains = <&dispcc MDSS_GDSC>;
 
 			iommus = <&apps_smmu 0x400 0x0>;
@@ -1437,6 +1439,7 @@ dispcc: clock-controller@5f00000 {
 			power-domains = <&rpmpd RPMPD_VDDCX>;
 
 			#clock-cells = <1>;
+			#reset-cells = <1>;
 			#power-domain-cells = <1>;
 		};
 
-- 
2.52.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* Re: [PATCH 3/6] clk: qcom: dispcc-sm6115: Add missing MDSS resets
  2026-02-16 23:25 ` [PATCH 3/6] clk: qcom: dispcc-sm6115: Add missing " Val Packett
@ 2026-02-17  7:36   ` Dmitry Baryshkov
  2026-02-17  9:22   ` Konrad Dybcio
  1 sibling, 0 replies; 18+ messages in thread
From: Dmitry Baryshkov @ 2026-02-17  7:36 UTC (permalink / raw)
  To: Val Packett
  Cc: Bjorn Andersson, Michael Turquette, Stephen Boyd, Adam Skladowski,
	linux-arm-msm, phone-devel, ~postmarketos/upstreaming, linux-clk,
	linux-kernel

On Mon, Feb 16, 2026 at 08:25:21PM -0300, Val Packett wrote:
> The MDSS resets were left undescribed, fix that.
> 
> Fixes: 9b518788631c ("clk: qcom: Add display clock controller driver for SM6115")
> Signed-off-by: Val Packett <val@packett.cool>
> ---
>  drivers/clk/qcom/dispcc-sm6115.c | 7 +++++++
>  1 file changed, 7 insertions(+)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>


-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 4/6] clk: qcom: dispcc-sm6125: Add missing MDSS resets
  2026-02-16 23:25 ` [PATCH 4/6] clk: qcom: dispcc-sm6125: " Val Packett
@ 2026-02-17  7:37   ` Dmitry Baryshkov
  2026-02-17  8:12   ` Krzysztof Kozlowski
  2026-02-17  9:22   ` Konrad Dybcio
  2 siblings, 0 replies; 18+ messages in thread
From: Dmitry Baryshkov @ 2026-02-17  7:37 UTC (permalink / raw)
  To: Val Packett
  Cc: Bjorn Andersson, Michael Turquette, Stephen Boyd, Marijn Suijten,
	Martin Botka, AngeloGioacchino Del Regno, linux-arm-msm,
	phone-devel, ~postmarketos/upstreaming, linux-clk, linux-kernel

On Mon, Feb 16, 2026 at 08:25:22PM -0300, Val Packett wrote:
> The MDSS resets were left undescribed, fix that.
> 
> Fixes: 6e87c8f07407 ("clk: qcom: Add display clock controller driver for SM6125")
> Signed-off-by: Val Packett <val@packett.cool>
> ---
>  drivers/clk/qcom/dispcc-sm6125.c | 7 +++++++
>  1 file changed, 7 insertions(+)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>


-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 5/6] arm64: dts: qcom: sm6115: Add missing MDSS core reset
  2026-02-16 23:25 ` [PATCH 5/6] arm64: dts: qcom: sm6115: Add missing MDSS core reset Val Packett
@ 2026-02-17  7:37   ` Dmitry Baryshkov
  2026-02-17  9:22   ` Konrad Dybcio
  1 sibling, 0 replies; 18+ messages in thread
From: Dmitry Baryshkov @ 2026-02-17  7:37 UTC (permalink / raw)
  To: Val Packett
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Adam Skladowski, linux-arm-msm, phone-devel,
	~postmarketos/upstreaming, devicetree, linux-kernel

On Mon, Feb 16, 2026 at 08:25:23PM -0300, Val Packett wrote:
> To make sure the display subsystem starts in a predictable state, we
> need to reset it. Otherwise, unpredictable issues can happen, e.g.
> on the motorola-guamp smartphone DSI would not transmit anything.
> 
> Wire up the reset to fix.
> 
> Fixes: 705e50427d81 ("arm64: dts: qcom: sm6115: Add mdss/dpu node")
> Signed-off-by: Val Packett <val@packett.cool>
> ---
>  arch/arm64/boot/dts/qcom/sm6115.dtsi | 2 ++
>  1 file changed, 2 insertions(+)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>


-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 6/6] arm64: dts: qcom: sm6125: Add missing MDSS core reset
  2026-02-16 23:25 ` [PATCH 6/6] arm64: dts: qcom: sm6125: " Val Packett
@ 2026-02-17  7:37   ` Dmitry Baryshkov
  2026-02-17  9:23   ` Konrad Dybcio
  2026-02-18 13:31   ` Yedaya Katsman
  2 siblings, 0 replies; 18+ messages in thread
From: Dmitry Baryshkov @ 2026-02-17  7:37 UTC (permalink / raw)
  To: Val Packett
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Marijn Suijten, Dmitry Baryshkov, linux-arm-msm,
	phone-devel, ~postmarketos/upstreaming, devicetree, linux-kernel

On Mon, Feb 16, 2026 at 08:25:24PM -0300, Val Packett wrote:
> To make sure the display subsystem starts in a predictable state, we
> need to reset it. On closely related SoC (sm6115) this has caused
> DSI displays to not work.
> 
> Wire up the reset to fix.
> 
> Fixes: 0865d23a0226 ("arm64: dts: qcom: sm6125: Add display hardware nodes")
> Signed-off-by: Val Packett <val@packett.cool>
> ---
>  arch/arm64/boot/dts/qcom/sm6125.dtsi | 3 +++
>  1 file changed, 3 insertions(+)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>


-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 1/6] dt-bindings: clock: qcom,sm6115-dispcc: Define MDSS resets
  2026-02-16 23:25 ` [PATCH 1/6] dt-bindings: clock: qcom,sm6115-dispcc: Define MDSS resets Val Packett
@ 2026-02-17  8:11   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2026-02-17  8:11 UTC (permalink / raw)
  To: Val Packett
  Cc: Bjorn Andersson, Michael Turquette, Stephen Boyd, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Adam Skladowski, linux-arm-msm,
	phone-devel, ~postmarketos/upstreaming, linux-clk, devicetree,
	linux-kernel

On Mon, Feb 16, 2026 at 08:25:19PM -0300, Val Packett wrote:
> Add the missing defines for MDSS resets.
> While here, align comment style with other SoCs.
> 
> Fixes: 38557c6fc077 ("dt-bindings: clock: add QCOM SM6115 display clock bindings")

Not a fix or explain the impact of the bug.

> Signed-off-by: Val Packett <val@packett.cool>
> ---
>  include/dt-bindings/clock/qcom,sm6115-dispcc.h | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 4/6] clk: qcom: dispcc-sm6125: Add missing MDSS resets
  2026-02-16 23:25 ` [PATCH 4/6] clk: qcom: dispcc-sm6125: " Val Packett
  2026-02-17  7:37   ` Dmitry Baryshkov
@ 2026-02-17  8:12   ` Krzysztof Kozlowski
  2026-02-17  9:22   ` Konrad Dybcio
  2 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2026-02-17  8:12 UTC (permalink / raw)
  To: Val Packett
  Cc: Bjorn Andersson, Michael Turquette, Stephen Boyd, Marijn Suijten,
	Martin Botka, AngeloGioacchino Del Regno, linux-arm-msm,
	phone-devel, ~postmarketos/upstreaming, linux-clk, linux-kernel

On Mon, Feb 16, 2026 at 08:25:22PM -0300, Val Packett wrote:
> The MDSS resets were left undescribed, fix that.

Fix what? It is perfectly fine to have things "undescribed". Explain
what is the problem of these being missing.

> 
> Fixes: 6e87c8f07407 ("clk: qcom: Add display clock controller driver for SM6125")
> Signed-off-by: Val Packett <val@packett.cool>
> ---
>  drivers/clk/qcom/dispcc-sm6125.c | 7 +++++++
>  1 file changed, 7 insertions(+)

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 3/6] clk: qcom: dispcc-sm6115: Add missing MDSS resets
  2026-02-16 23:25 ` [PATCH 3/6] clk: qcom: dispcc-sm6115: Add missing " Val Packett
  2026-02-17  7:36   ` Dmitry Baryshkov
@ 2026-02-17  9:22   ` Konrad Dybcio
  1 sibling, 0 replies; 18+ messages in thread
From: Konrad Dybcio @ 2026-02-17  9:22 UTC (permalink / raw)
  To: Val Packett, Bjorn Andersson, Michael Turquette, Stephen Boyd,
	Adam Skladowski
  Cc: linux-arm-msm, phone-devel, ~postmarketos/upstreaming, linux-clk,
	linux-kernel

On 2/17/26 12:25 AM, Val Packett wrote:
> The MDSS resets were left undescribed, fix that.
> 
> Fixes: 9b518788631c ("clk: qcom: Add display clock controller driver for SM6115")
> Signed-off-by: Val Packett <val@packett.cool>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 4/6] clk: qcom: dispcc-sm6125: Add missing MDSS resets
  2026-02-16 23:25 ` [PATCH 4/6] clk: qcom: dispcc-sm6125: " Val Packett
  2026-02-17  7:37   ` Dmitry Baryshkov
  2026-02-17  8:12   ` Krzysztof Kozlowski
@ 2026-02-17  9:22   ` Konrad Dybcio
  2 siblings, 0 replies; 18+ messages in thread
From: Konrad Dybcio @ 2026-02-17  9:22 UTC (permalink / raw)
  To: Val Packett, Bjorn Andersson, Michael Turquette, Stephen Boyd,
	Marijn Suijten, Martin Botka, AngeloGioacchino Del Regno
  Cc: linux-arm-msm, phone-devel, ~postmarketos/upstreaming, linux-clk,
	linux-kernel

On 2/17/26 12:25 AM, Val Packett wrote:
> The MDSS resets were left undescribed, fix that.
> 
> Fixes: 6e87c8f07407 ("clk: qcom: Add display clock controller driver for SM6125")
> Signed-off-by: Val Packett <val@packett.cool>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 5/6] arm64: dts: qcom: sm6115: Add missing MDSS core reset
  2026-02-16 23:25 ` [PATCH 5/6] arm64: dts: qcom: sm6115: Add missing MDSS core reset Val Packett
  2026-02-17  7:37   ` Dmitry Baryshkov
@ 2026-02-17  9:22   ` Konrad Dybcio
  1 sibling, 0 replies; 18+ messages in thread
From: Konrad Dybcio @ 2026-02-17  9:22 UTC (permalink / raw)
  To: Val Packett, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Adam Skladowski
  Cc: linux-arm-msm, phone-devel, ~postmarketos/upstreaming, devicetree,
	linux-kernel

On 2/17/26 12:25 AM, Val Packett wrote:
> To make sure the display subsystem starts in a predictable state, we
> need to reset it. Otherwise, unpredictable issues can happen, e.g.
> on the motorola-guamp smartphone DSI would not transmit anything.
> 
> Wire up the reset to fix.
> 
> Fixes: 705e50427d81 ("arm64: dts: qcom: sm6115: Add mdss/dpu node")
> Signed-off-by: Val Packett <val@packett.cool>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 6/6] arm64: dts: qcom: sm6125: Add missing MDSS core reset
  2026-02-16 23:25 ` [PATCH 6/6] arm64: dts: qcom: sm6125: " Val Packett
  2026-02-17  7:37   ` Dmitry Baryshkov
@ 2026-02-17  9:23   ` Konrad Dybcio
  2026-02-18 13:31   ` Yedaya Katsman
  2 siblings, 0 replies; 18+ messages in thread
From: Konrad Dybcio @ 2026-02-17  9:23 UTC (permalink / raw)
  To: Val Packett, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Marijn Suijten,
	Dmitry Baryshkov
  Cc: linux-arm-msm, phone-devel, ~postmarketos/upstreaming, devicetree,
	linux-kernel

On 2/17/26 12:25 AM, Val Packett wrote:
> To make sure the display subsystem starts in a predictable state, we
> need to reset it. On closely related SoC (sm6115) this has caused
> DSI displays to not work.
> 
> Wire up the reset to fix.
> 
> Fixes: 0865d23a0226 ("arm64: dts: qcom: sm6125: Add display hardware nodes")
> Signed-off-by: Val Packett <val@packett.cool>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 6/6] arm64: dts: qcom: sm6125: Add missing MDSS core reset
  2026-02-16 23:25 ` [PATCH 6/6] arm64: dts: qcom: sm6125: " Val Packett
  2026-02-17  7:37   ` Dmitry Baryshkov
  2026-02-17  9:23   ` Konrad Dybcio
@ 2026-02-18 13:31   ` Yedaya Katsman
  2 siblings, 0 replies; 18+ messages in thread
From: Yedaya Katsman @ 2026-02-18 13:31 UTC (permalink / raw)
  To: val
  Cc: andersson, conor+dt, devicetree, konradybcio, krzk+dt,
	linux-arm-msm, linux-kernel, lumag, marijn.suijten, phone-devel,
	robh, ~postmarketos/upstreaming, Yedaya Katsman

On Mon, 16 Feb 2026 20:25:24 -0300, Val Packett wrote:
> To make sure the display subsystem starts in a predictable state, we
> need to reset it. On closely related SoC (sm6115) this has caused
> DSI displays to not work.
> 
> Wire up the reset to fix.
> 
> Fixes: 0865d23a0226 ("arm64: dts: qcom: sm6125: Add display hardware nodes")
> Signed-off-by: Val Packett <val@packett.cool>
> ---
>  arch/arm64/boot/dts/qcom/sm6125.dtsi | 3 +++
>  1 file changed, 3 insertions(+)
Tested-By: Yedaya Katsman <yedaya.ka@gmail.com>

This makes a panel driver I'm testing work more reliably, right after boot
instead of some random time later.

Regards, Yedaya

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2026-02-18 13:32 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-16 23:25 [PATCH 0/6] SM6115/SM6125 MDSS core reset Val Packett
2026-02-16 23:25 ` [PATCH 1/6] dt-bindings: clock: qcom,sm6115-dispcc: Define MDSS resets Val Packett
2026-02-17  8:11   ` Krzysztof Kozlowski
2026-02-16 23:25 ` [PATCH 2/6] dt-bindings: clock: qcom,dispcc-sm6125: " Val Packett
2026-02-16 23:25 ` [PATCH 3/6] clk: qcom: dispcc-sm6115: Add missing " Val Packett
2026-02-17  7:36   ` Dmitry Baryshkov
2026-02-17  9:22   ` Konrad Dybcio
2026-02-16 23:25 ` [PATCH 4/6] clk: qcom: dispcc-sm6125: " Val Packett
2026-02-17  7:37   ` Dmitry Baryshkov
2026-02-17  8:12   ` Krzysztof Kozlowski
2026-02-17  9:22   ` Konrad Dybcio
2026-02-16 23:25 ` [PATCH 5/6] arm64: dts: qcom: sm6115: Add missing MDSS core reset Val Packett
2026-02-17  7:37   ` Dmitry Baryshkov
2026-02-17  9:22   ` Konrad Dybcio
2026-02-16 23:25 ` [PATCH 6/6] arm64: dts: qcom: sm6125: " Val Packett
2026-02-17  7:37   ` Dmitry Baryshkov
2026-02-17  9:23   ` Konrad Dybcio
2026-02-18 13:31   ` Yedaya Katsman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox