Skip to contentSkip to conversation

clk: qcom: gcc: Update the SDCC RCGs to use shared_floor_ops

PATCH Applied Jagadeesh Kona 5 participants 18 messages Nov 27, 2025 – Dec 18, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

v2 cover clk: qcom: gcc: Update the SDCC RCGs to use shared_floor_ops

This series updates the clock ops to clk_rcg2_shared_floor_ops for the SDCC RCGs on SM8450, SM8750, SM4450, SDX75, Milos, X1E80100, QDU1000 and GLYMUR chipsets.

This change is required to ensure RCG is safely parked during disable and new parent configuration is programmed in hardware only when new parent is enabled, to avoid cases where RCG configuration fails to update and overclocking issues.

---
Changes in v2:
- Added patches 6,7,8 to use shared_floor_ops for SDCC RCGs on X1E80100,
QDU1000 and GLYMUR chipsets also.
- picked the R-By tags received on v1.
- Link to v1: https://lore.kernel.org/r/20251126-sdcc_shared_floor_ops-v1-0-9038430dfed4@oss.qualcomm.com

---
Jagadeesh Kona (8):
clk: qcom: gcc-sm8450: Update the SDCC RCGs to use shared_floor_ops
clk: qcom: gcc-sm8750: Update the SDCC RCGs to use shared_floor_ops
clk: qcom: gcc-sm4450: Update the SDCC RCGs to use shared_floor_ops
clk: qcom: gcc-sdx75: Update the SDCC RCGs to use shared_floor_ops
clk: qcom: gcc-milos: Update the SDCC RCGs to use shared_floor_ops
clk: qcom: gcc-x1e80100: Update the SDCC RCGs to use shared_floor_ops
clk: qcom: gcc-qdu1000: Update the SDCC RCGs to use shared_floor_ops
clk: qcom: gcc-glymur: Update the SDCC RCGs to use shared_floor_ops

 drivers/clk/qcom/gcc-glymur.c   | 4 ++--
 drivers/clk/qcom/gcc-milos.c    | 6 +++---
 drivers/clk/qcom/gcc-qdu1000.c  | 4 ++--
 drivers/clk/qcom/gcc-sdx75.c    | 4 ++--
 drivers/clk/qcom/gcc-sm4450.c   | 6 +++---
 drivers/clk/qcom/gcc-sm8450.c   | 4 ++--
 drivers/clk/qcom/gcc-sm8750.c   | 4 ++--
 drivers/clk/qcom/gcc-x1e80100.c | 4 ++--
 8 files changed, 18 insertions(+), 18 deletions(-)

---
base-commit: 92fd6e84175befa1775e5c0ab682938eca27c0b2
change-id: 20251125-sdcc_shared_floor_ops-722ccecfe787

Best regards,

Signature · 1 line
Jagadeesh Kona <[email protected]>
#1 lore raw

PATCH v2 1/8 clk: qcom: gcc-sm8450: Update the SDCC RCGs to use shared_floor_ops

Use shared_floor_ops for the SDCC RCGs so the RCG is safely parked during disable and the new parent configuration is programmed in hardware only when the new parent is enabled, avoiding cases where the RCG configuration fails to update.

Fixes a27ac3806b0a ("clk: qcom: gcc-sm8450: Use floor ops for SDCC RCGs")
---
 drivers/clk/qcom/gcc-sm8450.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/clk/qcom/gcc-sm8450.c +2 -2
index 65d7d52bce034335707014797fe9002429212a14..b18bb34889ab28fba13cbf2ca8cf83101e4e0484 100644
@@ -1034,7 +1034,7 @@ static struct clk_rcg2 gcc_sdcc2_apps_clk_src = {
 		.parent_data = gcc_parent_data_7,
 		.num_parents = ARRAY_SIZE(gcc_parent_data_7),
 		.flags = CLK_SET_RATE_PARENT,
-		.ops = &clk_rcg2_floor_ops,
+		.ops = &clk_rcg2_shared_floor_ops,
 	},
 };
 
@@ -1057,7 +1057,7 @@ static struct clk_rcg2 gcc_sdcc4_apps_clk_src = {
 		.parent_data = gcc_parent_data_0,
 		.num_parents = ARRAY_SIZE(gcc_parent_data_0),
 		.flags = CLK_SET_RATE_PARENT,
-		.ops = &clk_rcg2_floor_ops,
+		.ops = &clk_rcg2_shared_floor_ops,
 	},
 };
 
Signature · 1 line
2.34.1
#2 lore raw

PATCH v2 2/8 clk: qcom: gcc-sm8750: Update the SDCC RCGs to use shared_floor_ops

In reply to Jagadeesh Kona

Use shared_floor_ops for the SDCC RCGs so the RCG is safely parked during disable and the new parent configuration is programmed in hardware only when the new parent is enabled, avoiding cases where the RCG configuration fails to update.

Fixes 3267c774f3ff ("clk: qcom: Add support for GCC on SM8750")
---
 drivers/clk/qcom/gcc-sm8750.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/clk/qcom/gcc-sm8750.c +2 -2
index def86b71a3da534f07844f01ecb73b424db3bddc..db81569dd4b17de1c70ab5058d4ea186e08ce09e 100644
@@ -1030,7 +1030,7 @@ static struct clk_rcg2 gcc_sdcc2_apps_clk_src = {
 		.parent_data = gcc_parent_data_8,
 		.num_parents = ARRAY_SIZE(gcc_parent_data_8),
 		.flags = CLK_SET_RATE_PARENT,
-		.ops = &clk_rcg2_floor_ops,
+		.ops = &clk_rcg2_shared_floor_ops,
 	},
 };
 
@@ -1052,7 +1052,7 @@ static struct clk_rcg2 gcc_sdcc4_apps_clk_src = {
 		.parent_data = gcc_parent_data_0,
 		.num_parents = ARRAY_SIZE(gcc_parent_data_0),
 		.flags = CLK_SET_RATE_PARENT,
-		.ops = &clk_rcg2_floor_ops,
+		.ops = &clk_rcg2_shared_floor_ops,
 	},
 };
 
Signature · 1 line
2.34.1
#3 lore raw

PATCH v2 3/8 clk: qcom: gcc-sm4450: Update the SDCC RCGs to use shared_floor_ops

In reply to Jagadeesh Kona

Use shared_floor_ops for the SDCC RCGs so the RCG is safely parked during disable and the new parent configuration is programmed in hardware only when the new parent is enabled, avoiding cases where the RCG configuration fails to update.

Fixes c32c4ef98bac ("clk: qcom: Add GCC driver support for SM4450")
---
 drivers/clk/qcom/gcc-sm4450.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/clk/qcom/gcc-sm4450.c +3 -3
index e2d9e4691c5b719adfa86b904394ba85d086c12c..023d840e9f4ef0d6e9e7f16372cb9eb493f623d3 100644
@@ -769,7 +769,7 @@ static struct clk_rcg2 gcc_sdcc1_apps_clk_src = {
 		.parent_data = gcc_parent_data_4,
 		.num_parents = ARRAY_SIZE(gcc_parent_data_4),
 		.flags = CLK_SET_RATE_PARENT,
-		.ops = &clk_rcg2_floor_ops,
+		.ops = &clk_rcg2_shared_floor_ops,
 	},
 };
 
@@ -791,7 +791,7 @@ static struct clk_rcg2 gcc_sdcc1_ice_core_clk_src = {
 		.parent_data = gcc_parent_data_4,
 		.num_parents = ARRAY_SIZE(gcc_parent_data_4),
 		.flags = CLK_SET_RATE_PARENT,
-		.ops = &clk_rcg2_floor_ops,
+		.ops = &clk_rcg2_shared_floor_ops,
 	},
 };
 
@@ -815,7 +815,7 @@ static struct clk_rcg2 gcc_sdcc2_apps_clk_src = {
 		.parent_data = gcc_parent_data_6,
 		.num_parents = ARRAY_SIZE(gcc_parent_data_6),
 		.flags = CLK_SET_RATE_PARENT,
-		.ops = &clk_rcg2_floor_ops,
+		.ops = &clk_rcg2_shared_floor_ops,
 	},
 };
 
Signature · 1 line
2.34.1
#4 lore raw

PATCH v2 4/8 clk: qcom: gcc-sdx75: Update the SDCC RCGs to use shared_floor_ops

In reply to Jagadeesh Kona

Use shared_floor_ops for the SDCC RCGs so the RCG is safely parked during disable and the new parent configuration is programmed in hardware only when the new parent is enabled, avoiding cases where the RCG configuration fails to update.

Fixes 108cdc09b2de ("clk: qcom: Add GCC driver support for SDX75")
---
 drivers/clk/qcom/gcc-sdx75.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/clk/qcom/gcc-sdx75.c +2 -2
index 453a6bf8e8786308ef785799f71b6cff8a5a9727..1f3cd58483a2d6ef18b43fc2c4ea38a6f8750c5b 100644
@@ -1033,7 +1033,7 @@ static struct clk_rcg2 gcc_sdcc1_apps_clk_src = {
 		.name = "gcc_sdcc1_apps_clk_src",
 		.parent_data = gcc_parent_data_17,
 		.num_parents = ARRAY_SIZE(gcc_parent_data_17),
-		.ops = &clk_rcg2_floor_ops,
+		.ops = &clk_rcg2_shared_floor_ops,
 	},
 };
 
@@ -1057,7 +1057,7 @@ static struct clk_rcg2 gcc_sdcc2_apps_clk_src = {
 		.name = "gcc_sdcc2_apps_clk_src",
 		.parent_data = gcc_parent_data_18,
 		.num_parents = ARRAY_SIZE(gcc_parent_data_18),
-		.ops = &clk_rcg2_floor_ops,
+		.ops = &clk_rcg2_shared_floor_ops,
 	},
 };
 
Signature · 1 line
2.34.1
#5 lore raw

PATCH v2 5/8 clk: qcom: gcc-milos: Update the SDCC RCGs to use shared_floor_ops

In reply to Jagadeesh Kona

Use shared_floor_ops for the SDCC RCGs to avoid any overclocking issues in SDCC usecases.

Fixes 88174d5d9422 ("clk: qcom: Add Global Clock controller (GCC) driver for Milos")
---
 drivers/clk/qcom/gcc-milos.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/clk/qcom/gcc-milos.c +3 -3
index c9d61b05bafa1618274cd87c83df6fd14131efcf..81fa09ec55d7f6d6cb761affd3b93301a102f61f 100644
@@ -917,7 +917,7 @@ static struct clk_rcg2 gcc_sdcc1_apps_clk_src = {
 		.name = "gcc_sdcc1_apps_clk_src",
 		.parent_data = gcc_parent_data_9,
 		.num_parents = ARRAY_SIZE(gcc_parent_data_9),
-		.ops = &clk_rcg2_shared_ops,
+		.ops = &clk_rcg2_shared_floor_ops,
 	},
 };
 
@@ -938,7 +938,7 @@ static struct clk_rcg2 gcc_sdcc1_ice_core_clk_src = {
 		.name = "gcc_sdcc1_ice_core_clk_src",
 		.parent_data = gcc_parent_data_10,
 		.num_parents = ARRAY_SIZE(gcc_parent_data_10),
-		.ops = &clk_rcg2_shared_ops,
+		.ops = &clk_rcg2_shared_floor_ops,
 	},
 };
 
@@ -962,7 +962,7 @@ static struct clk_rcg2 gcc_sdcc2_apps_clk_src = {
 		.name = "gcc_sdcc2_apps_clk_src",
 		.parent_data = gcc_parent_data_11,
 		.num_parents = ARRAY_SIZE(gcc_parent_data_11),
-		.ops = &clk_rcg2_shared_ops,
+		.ops = &clk_rcg2_shared_floor_ops,
 	},
 };
 
Signature · 1 line
2.34.1
#6 lore raw

PATCH v2 6/8 clk: qcom: gcc-x1e80100: Update the SDCC RCGs to use shared_floor_ops

In reply to Jagadeesh Kona

Use shared_floor_ops for the SDCC RCGs so the RCG is safely parked during disable and the new parent configuration is programmed in hardware only when the new parent is enabled, avoiding cases where the RCG configuration fails to update.

Fixes 161b7c401f4b ("clk: qcom: Add Global Clock controller (GCC) driver for X1E80100")
---
 drivers/clk/qcom/gcc-x1e80100.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/clk/qcom/gcc-x1e80100.c +2 -2
index b63c8abdd2fc24fc963f038f8cdcafd7598ba989..e46e65e631513e315de2f663f3dab73e1eb70604 100644
@@ -1516,7 +1516,7 @@ static struct clk_rcg2 gcc_sdcc2_apps_clk_src = {
 		.parent_data = gcc_parent_data_9,
 		.num_parents = ARRAY_SIZE(gcc_parent_data_9),
 		.flags = CLK_SET_RATE_PARENT,
-		.ops = &clk_rcg2_floor_ops,
+		.ops = &clk_rcg2_shared_floor_ops,
 	},
 };
 
@@ -1538,7 +1538,7 @@ static struct clk_rcg2 gcc_sdcc4_apps_clk_src = {
 		.parent_data = gcc_parent_data_0,
 		.num_parents = ARRAY_SIZE(gcc_parent_data_0),
 		.flags = CLK_SET_RATE_PARENT,
-		.ops = &clk_rcg2_floor_ops,
+		.ops = &clk_rcg2_shared_floor_ops,
 	},
 };
 
Signature · 1 line
2.34.1
Reviewed-by on v2 6/8
#7 lore raw

Re: [PATCH v2 6/8] clk: qcom: gcc-x1e80100: Update the SDCC RCGs to use shared_floor_ops

Quoted 7 lines · Jagadeesh Kona

Use shared_floor_ops for the SDCC RCGs so the RCG is safely parked during disable and the new parent configuration is programmed in hardware only when the new parent is enabled, avoiding cases where the RCG configuration fails to update.

Fixes 161b7c401f4b ("clk: qcom: Add Global Clock controller (GCC) driver for X1E80100")
Signature · 2 lines
Best wishes,
Vladimir
Reviewed-by on v2 6/8
#8 lore raw

Re: [PATCH v2 6/8] clk: qcom: gcc-x1e80100: Update the SDCC RCGs to use shared_floor_ops

In reply to Jagadeesh Kona
Quoted 11 lines · Jagadeesh Kona

Use shared_floor_ops for the SDCC RCGs so the RCG is safely parked during disable and the new parent configuration is programmed in hardware only when the new parent is enabled, avoiding cases where the RCG configuration fails to update.

Fixes 161b7c401f4b ("clk: qcom: Add Global Clock controller (GCC) driver for X1E80100")
---
 drivers/clk/qcom/gcc-x1e80100.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Thanks,
Imran

#9 lore raw

PATCH v2 7/8 clk: qcom: gcc-qdu1000: Update the SDCC RCGs to use shared_floor_ops

In reply to Jagadeesh Kona

Use shared_floor_ops for the SDCC RCGs so the RCG is safely parked during disable and the new parent configuration is programmed in hardware only when the new parent is enabled, avoiding cases where the RCG configuration fails to update.

Fixes baa316580013 ("clk: qcom: gcc-qdu1000: Update the SDCC clock RCG ops")
---
 drivers/clk/qcom/gcc-qdu1000.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/clk/qcom/gcc-qdu1000.c +2 -2
index dbe9e9437939afbcd50759dfc21a599864278816..915bb9b4ff8130e086ad6b5bb8872c79617afee8 100644
@@ -904,7 +904,7 @@ static struct clk_rcg2 gcc_sdcc5_apps_clk_src = {
 		.name = "gcc_sdcc5_apps_clk_src",
 		.parent_data = gcc_parent_data_8,
 		.num_parents = ARRAY_SIZE(gcc_parent_data_8),
-		.ops = &clk_rcg2_floor_ops,
+		.ops = &clk_rcg2_shared_floor_ops,
 	},
 };
 
@@ -923,7 +923,7 @@ static struct clk_rcg2 gcc_sdcc5_ice_core_clk_src = {
 		.name = "gcc_sdcc5_ice_core_clk_src",
 		.parent_data = gcc_parent_data_2,
 		.num_parents = ARRAY_SIZE(gcc_parent_data_2),
-		.ops = &clk_rcg2_floor_ops,
+		.ops = &clk_rcg2_shared_floor_ops,
 	},
 };
 
Signature · 1 line
2.34.1
Reviewed-by on v2 7/8
#10 lore raw

Re: [PATCH v2 7/8] clk: qcom: gcc-qdu1000: Update the SDCC RCGs to use shared_floor_ops

Quoted 7 lines · Jagadeesh Kona

Use shared_floor_ops for the SDCC RCGs so the RCG is safely parked during disable and the new parent configuration is programmed in hardware only when the new parent is enabled, avoiding cases where the RCG configuration fails to update.

Fixes baa316580013 ("clk: qcom: gcc-qdu1000: Update the SDCC clock RCG ops")
Signature · 2 lines
Best wishes,
Vladimir
Reviewed-by on v2 7/8
#11 lore raw

Re: [PATCH v2 7/8] clk: qcom: gcc-qdu1000: Update the SDCC RCGs to use shared_floor_ops

In reply to Jagadeesh Kona
Quoted 26 lines · Jagadeesh Kona

Use shared_floor_ops for the SDCC RCGs so the RCG is safely parked during disable and the new parent configuration is programmed in hardware only when the new parent is enabled, avoiding cases where the RCG configuration fails to update.

Fixes baa316580013 ("clk: qcom: gcc-qdu1000: Update the SDCC clock RCG ops")
---
 drivers/clk/qcom/gcc-qdu1000.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/clk/qcom/gcc-qdu1000.c +1 -1
index dbe9e9437939afbcd50759dfc21a599864278816..915bb9b4ff8130e086ad6b5bb8872c79617afee8 100644
@@ -904,7 +904,7 @@ static struct clk_rcg2 gcc_sdcc5_apps_clk_src = {
 		.name = "gcc_sdcc5_apps_clk_src",
 		.parent_data = gcc_parent_data_8,
 		.num_parents = ARRAY_SIZE(gcc_parent_data_8),
-		.ops = &clk_rcg2_floor_ops,
+		.ops = &clk_rcg2_shared_floor_ops,
 	},
 };
 

drivers/clk/qcom/gcc-qdu1000.c static struct clk_rcg2 gcc_sdcc5_ice_core_clk_src = { · line 929

Quoted 8 lines
drivers/clk/qcom/gcc-qdu1000.c +1 -1
@@ -923,7 +923,7 @@ static struct clk_rcg2 gcc_sdcc5_ice_core_clk_src = {
 		.name = "gcc_sdcc5_ice_core_clk_src",
 		.parent_data = gcc_parent_data_2,
 		.num_parents = ARRAY_SIZE(gcc_parent_data_2),
-		.ops = &clk_rcg2_floor_ops,
+		.ops = &clk_rcg2_shared_floor_ops,
 	},
 };
 
Signature · 2 lines
Thanks,
Taniya Das
Reviewed-by on v2 7/8
#12 lore raw

Re: [PATCH v2 7/8] clk: qcom: gcc-qdu1000: Update the SDCC RCGs to use shared_floor_ops

In reply to Jagadeesh Kona
Quoted 11 lines · Jagadeesh Kona

Use shared_floor_ops for the SDCC RCGs so the RCG is safely parked during disable and the new parent configuration is programmed in hardware only when the new parent is enabled, avoiding cases where the RCG configuration fails to update.

Fixes baa316580013 ("clk: qcom: gcc-qdu1000: Update the SDCC clock RCG ops")
---
 drivers/clk/qcom/gcc-qdu1000.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Thanks,
Imran

#13 lore raw

PATCH v2 8/8 clk: qcom: gcc-glymur: Update the SDCC RCGs to use shared_floor_ops

In reply to Jagadeesh Kona

Use shared_floor_ops for the SDCC RCGs so the RCG is safely parked during disable and the new parent configuration is programmed in hardware only when the new parent is enabled, avoiding cases where the RCG configuration fails to update.

Fixes efe504300a17 ("clk: qcom: gcc: Add support for Global Clock Controller")
---
 drivers/clk/qcom/gcc-glymur.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/clk/qcom/gcc-glymur.c +2 -2
index deab819576d0e18afb0b699b7ec6fa4c155eb5c2..238e205735ed594618b8526651968a4f73b1104e 100644
@@ -2317,7 +2317,7 @@ static struct clk_rcg2 gcc_sdcc2_apps_clk_src = {
 		.parent_data = gcc_parent_data_17,
 		.num_parents = ARRAY_SIZE(gcc_parent_data_17),
 		.flags = CLK_SET_RATE_PARENT,
-		.ops = &clk_rcg2_floor_ops,
+		.ops = &clk_rcg2_shared_floor_ops,
 	},
 };
 
@@ -2339,7 +2339,7 @@ static struct clk_rcg2 gcc_sdcc4_apps_clk_src = {
 		.parent_data = gcc_parent_data_3,
 		.num_parents = ARRAY_SIZE(gcc_parent_data_3),
 		.flags = CLK_SET_RATE_PARENT,
-		.ops = &clk_rcg2_floor_ops,
+		.ops = &clk_rcg2_shared_floor_ops,
 	},
 };
 
Signature · 1 line
2.34.1
Reviewed-by on v2 8/8
#14 lore raw

Re: [PATCH v2 8/8] clk: qcom: gcc-glymur: Update the SDCC RCGs to use shared_floor_ops

Quoted 7 lines · Jagadeesh Kona

Use shared_floor_ops for the SDCC RCGs so the RCG is safely parked during disable and the new parent configuration is programmed in hardware only when the new parent is enabled, avoiding cases where the RCG configuration fails to update.

Fixes efe504300a17 ("clk: qcom: gcc: Add support for Global Clock Controller")
Signature · 2 lines
Best wishes,
Vladimir
Reviewed-by on v2 8/8
#15 lore raw

Re: [PATCH v2 8/8] clk: qcom: gcc-glymur: Update the SDCC RCGs to use shared_floor_ops

In reply to Jagadeesh Kona
Quoted 26 lines · Jagadeesh Kona

Use shared_floor_ops for the SDCC RCGs so the RCG is safely parked during disable and the new parent configuration is programmed in hardware only when the new parent is enabled, avoiding cases where the RCG configuration fails to update.

Fixes efe504300a17 ("clk: qcom: gcc: Add support for Global Clock Controller")
---
 drivers/clk/qcom/gcc-glymur.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/clk/qcom/gcc-glymur.c +1 -1
index deab819576d0e18afb0b699b7ec6fa4c155eb5c2..238e205735ed594618b8526651968a4f73b1104e 100644
@@ -2317,7 +2317,7 @@ static struct clk_rcg2 gcc_sdcc2_apps_clk_src = {
 		.parent_data = gcc_parent_data_17,
 		.num_parents = ARRAY_SIZE(gcc_parent_data_17),
 		.flags = CLK_SET_RATE_PARENT,
-		.ops = &clk_rcg2_floor_ops,
+		.ops = &clk_rcg2_shared_floor_ops,
 	},
 };
 

drivers/clk/qcom/gcc-glymur.c static struct clk_rcg2 gcc_sdcc4_apps_clk_src = { · line 2345

Quoted 8 lines
drivers/clk/qcom/gcc-glymur.c +1 -1
@@ -2339,7 +2339,7 @@ static struct clk_rcg2 gcc_sdcc4_apps_clk_src = {
 		.parent_data = gcc_parent_data_3,
 		.num_parents = ARRAY_SIZE(gcc_parent_data_3),
 		.flags = CLK_SET_RATE_PARENT,
-		.ops = &clk_rcg2_floor_ops,
+		.ops = &clk_rcg2_shared_floor_ops,
 	},
 };
 
Signature · 2 lines
Thanks,
Taniya Das
Reviewed-by on v2 8/8
#16 lore raw

Re: [PATCH v2 8/8] clk: qcom: gcc-glymur: Update the SDCC RCGs to use shared_floor_ops

In reply to Jagadeesh Kona
Quoted 11 lines · Jagadeesh Kona

Use shared_floor_ops for the SDCC RCGs so the RCG is safely parked during disable and the new parent configuration is programmed in hardware only when the new parent is enabled, avoiding cases where the RCG configuration fails to update.

Fixes efe504300a17 ("clk: qcom: gcc: Add support for Global Clock Controller")
---
 drivers/clk/qcom/gcc-glymur.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Thanks,
Imran

maintainer Applied
#17 lore raw
In reply to Jagadeesh Kona
Quoted 10 lines · Jagadeesh Kona

This series updates the clock ops to clk_rcg2_shared_floor_ops for the SDCC RCGs on SM8450, SM8750, SM4450, SDX75, Milos, X1E80100, QDU1000 and GLYMUR chipsets.

This change is required to ensure RCG is safely parked during disable and new parent configuration is programmed in hardware only when new parent is enabled, to avoid cases where RCG configuration fails to update and overclocking issues.

[...]

Applied, thanks!

[1/8] clk: qcom: gcc-sm8450: Update the SDCC RCGs to use shared_floor_ops

      commit: 4c052c5df93d07e8aa2ce55680f95742f0a08e7a
[2/8] clk: qcom: gcc-sm8750: Update the SDCC RCGs to use shared_floor_ops
      commit: 67d7fb1bbdd63eccb9ac6e483e502f88ca9a1e73
[3/8] clk: qcom: gcc-sm4450: Update the SDCC RCGs to use shared_floor_ops
      commit: d1fd65ee5555dcfe4b33999b8950d6626cc28d12
[4/8] clk: qcom: gcc-sdx75: Update the SDCC RCGs to use shared_floor_ops
      commit: 757ec77514e3e4b345517deef0f5a5152697238e
[5/8] clk: qcom: gcc-milos: Update the SDCC RCGs to use shared_floor_ops
      commit: 113fb9649f0d89bfe71dc4e3d98cfc92fda0d73a
[6/8] clk: qcom: gcc-x1e80100: Update the SDCC RCGs to use shared_floor_ops
      commit: 988e585fa4d48faccc50a571b569c38ec3bf69c9
[7/8] clk: qcom: gcc-qdu1000: Update the SDCC RCGs to use shared_floor_ops
      commit: 0504b96f110f559e130523efeefc8d1d11530c8a
[8/8] clk: qcom: gcc-glymur: Update the SDCC RCGs to use shared_floor_ops
      commit: e4dca3e567813cb49e8ffd3b33ec4c6f43c25d10

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>