* [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
` (2 subsequent siblings)
3 siblings, 1 reply; 11+ 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] 11+ 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; 11+ 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] 11+ 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
2026-02-16 23:25 ` [PATCH 4/6] clk: qcom: dispcc-sm6125: " Val Packett
3 siblings, 0 replies; 11+ 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] 11+ 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
3 siblings, 2 replies; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ 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)
3 siblings, 3 replies; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ messages in thread