clk: qcom: gcc: Update the SDCC RCGs to use shared_floor_ops
Subsystems (3)
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 and Milos 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.
---
Jagadeesh Kona (5):
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
drivers/clk/qcom/gcc-milos.c | 6 +++--- 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 ++-- 5 files changed, 12 insertions(+), 12 deletions(-)
---
base-commit: 92fd6e84175befa1775e5c0ab682938eca27c0b2
change-id: 20251125-sdcc_shared_floor_ops-722ccecfe787
Best regards,
Signature · 1 line
Jagadeesh Kona <[email protected]>
PATCH 1/5 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.
--- drivers/clk/qcom/gcc-sm8450.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/clk/qcom/gcc-sm8450.c +2 -2
@@ -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
Re: [PATCH 1/5] clk: qcom: gcc-sm8450: Update the SDCC RCGs to use shared_floor_ops
Quoted 11 lines · Jagadeesh Kona
Use
shared_floor_opsfor 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")Signed-off-by Jagadeesh Kona <[email protected]>--- drivers/clk/qcom/gcc-sm8450.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 2 lines
With best wishes Dmitry
Re: [PATCH 1/5] clk: qcom: gcc-sm8450: Update the SDCC RCGs to use shared_floor_ops
In reply to Jagadeesh KonaQuoted 11 lines · Jagadeesh Kona
Use
shared_floor_opsfor 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")Signed-off-by Jagadeesh Kona <[email protected]>--- drivers/clk/qcom/gcc-sm8450.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Thanks,
Imran
Re: [PATCH 1/5] clk: qcom: gcc-sm8450: Update the SDCC RCGs to use shared_floor_ops
In reply to Jagadeesh KonaQuoted 26 lines · Jagadeesh Kona
Use
shared_floor_opsfor 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")Signed-off-by Jagadeesh Kona <[email protected]>--- drivers/clk/qcom/gcc-sm8450.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/clk/qcom/gcc-sm8450.c +1
-1@@ -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, }, };
drivers/clk/qcom/gcc-sm8450.c static struct clk_rcg2 gcc_sdcc4_apps_clk_src = { · line 1063
Quoted 8 lines
drivers/clk/qcom/gcc-sm8450.c +1
-1@@ -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 · 2 lines
Thanks, Taniya Das
PATCH 2/5 clk: qcom: gcc-sm8750: Update the SDCC RCGs to use shared_floor_ops
In reply to Jagadeesh KonaUse 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.
--- drivers/clk/qcom/gcc-sm8750.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/clk/qcom/gcc-sm8750.c +2 -2
@@ -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
Re: [PATCH 2/5] clk: qcom: gcc-sm8750: Update the SDCC RCGs to use shared_floor_ops
Quoted 11 lines · Jagadeesh Kona
Use
shared_floor_opsfor 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")Signed-off-by Jagadeesh Kona <[email protected]>--- drivers/clk/qcom/gcc-sm8750.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 2 lines
With best wishes Dmitry
Re: [PATCH 2/5] clk: qcom: gcc-sm8750: Update the SDCC RCGs to use shared_floor_ops
In reply to Jagadeesh KonaQuoted 11 lines · Jagadeesh Kona
Use
shared_floor_opsfor 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")Signed-off-by Jagadeesh Kona <[email protected]>--- drivers/clk/qcom/gcc-sm8750.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Thanks,
Imran
Re: [PATCH 2/5] clk: qcom: gcc-sm8750: Update the SDCC RCGs to use shared_floor_ops
In reply to Jagadeesh KonaQuoted 26 lines · Jagadeesh Kona
Use
shared_floor_opsfor 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")Signed-off-by Jagadeesh Kona <[email protected]>--- drivers/clk/qcom/gcc-sm8750.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/clk/qcom/gcc-sm8750.c +1
-1@@ -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, }, };
drivers/clk/qcom/gcc-sm8750.c static struct clk_rcg2 gcc_sdcc4_apps_clk_src = { · line 1058
Quoted 8 lines
drivers/clk/qcom/gcc-sm8750.c +1
-1@@ -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 · 2 lines
Thanks, Taniya Das
PATCH 3/5 clk: qcom: gcc-sm4450: Update the SDCC RCGs to use shared_floor_ops
In reply to Jagadeesh KonaUse 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.
--- drivers/clk/qcom/gcc-sm4450.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/clk/qcom/gcc-sm4450.c +3 -3
@@ -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
Re: [PATCH 3/5] clk: qcom: gcc-sm4450: Update the SDCC RCGs to use shared_floor_ops
Quoted 11 lines · Jagadeesh Kona
Use
shared_floor_opsfor 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")Signed-off-by Jagadeesh Kona <[email protected]>--- drivers/clk/qcom/gcc-sm4450.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Signature · 2 lines
With best wishes Dmitry
Re: [PATCH 3/5] clk: qcom: gcc-sm4450: Update the SDCC RCGs to use shared_floor_ops
In reply to Jagadeesh KonaQuoted 11 lines · Jagadeesh Kona
Use
shared_floor_opsfor 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")Signed-off-by Jagadeesh Kona <[email protected]>--- drivers/clk/qcom/gcc-sm4450.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Thanks,
Imran
Re: [PATCH 3/5] clk: qcom: gcc-sm4450: Update the SDCC RCGs to use shared_floor_ops
In reply to Jagadeesh KonaQuoted 35 lines · Jagadeesh Kona
Use
shared_floor_opsfor 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")Signed-off-by Jagadeesh Kona <[email protected]>--- drivers/clk/qcom/gcc-sm4450.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/clk/qcom/gcc-sm4450.c +2
-2@@ -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, }, };
drivers/clk/qcom/gcc-sm4450.c static struct clk_rcg2 gcc_sdcc2_apps_clk_src = { · line 821
Quoted 8 lines
drivers/clk/qcom/gcc-sm4450.c +1
-1@@ -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 · 2 lines
Thanks, Taniya Das
PATCH 4/5 clk: qcom: gcc-sdx75: Update the SDCC RCGs to use shared_floor_ops
In reply to Jagadeesh KonaUse 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.
--- drivers/clk/qcom/gcc-sdx75.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/clk/qcom/gcc-sdx75.c +2 -2
@@ -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
Re: [PATCH 4/5] clk: qcom: gcc-sdx75: Update the SDCC RCGs to use shared_floor_ops
Quoted 11 lines · Jagadeesh Kona
Use
shared_floor_opsfor 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")Signed-off-by Jagadeesh Kona <[email protected]>--- drivers/clk/qcom/gcc-sdx75.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 2 lines
With best wishes Dmitry
Re: [PATCH 4/5] clk: qcom: gcc-sdx75: Update the SDCC RCGs to use shared_floor_ops
In reply to Jagadeesh KonaQuoted 11 lines · Jagadeesh Kona
Use
shared_floor_opsfor 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")Signed-off-by Jagadeesh Kona <[email protected]>--- drivers/clk/qcom/gcc-sdx75.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Thanks,
Imran
Re: [PATCH 4/5] clk: qcom: gcc-sdx75: Update the SDCC RCGs to use shared_floor_ops
In reply to Jagadeesh KonaQuoted 26 lines · Jagadeesh Kona
Use
shared_floor_opsfor 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")Signed-off-by Jagadeesh Kona <[email protected]>--- drivers/clk/qcom/gcc-sdx75.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/clk/qcom/gcc-sdx75.c +1
-1@@ -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, }, };
drivers/clk/qcom/gcc-sdx75.c static struct clk_rcg2 gcc_sdcc2_apps_clk_src = { · line 1063
Quoted 8 lines
drivers/clk/qcom/gcc-sdx75.c +1
-1@@ -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 · 2 lines
Thanks, Taniya Das
PATCH 5/5 clk: qcom: gcc-milos: Update the SDCC RCGs to use shared_floor_ops
In reply to Jagadeesh KonaUse shared_floor_ops for the SDCC RCGs to avoid any overclocking issues in SDCC usecases.
--- drivers/clk/qcom/gcc-milos.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/clk/qcom/gcc-milos.c +3 -3
@@ -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
Re: [PATCH 5/5] clk: qcom: gcc-milos: Update the SDCC RCGs to use shared_floor_ops
Quoted 9 lines · Jagadeesh Kona
Use
shared_floor_opsfor the SDCC RCGs to avoid any overclocking issues in SDCC usecases.Fixes 88174d5d9422 ("clk: qcom: Add Global Clock controller (GCC) driver for Milos")Signed-off-by Jagadeesh Kona <[email protected]>--- drivers/clk/qcom/gcc-milos.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Signature · 2 lines
With best wishes Dmitry
Re: [PATCH 5/5] clk: qcom: gcc-milos: Update the SDCC RCGs to use shared_floor_ops
In reply to Jagadeesh KonaQuoted 9 lines · Jagadeesh Kona
Use
shared_floor_opsfor the SDCC RCGs to avoid any overclocking issues in SDCC usecases.Fixes 88174d5d9422 ("clk: qcom: Add Global Clock controller (GCC) driver for Milos")Signed-off-by Jagadeesh Kona <[email protected]>--- drivers/clk/qcom/gcc-milos.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Thanks,
Imran
Re: [PATCH 5/5] clk: qcom: gcc-milos: Update the SDCC RCGs to use shared_floor_ops
In reply to Jagadeesh KonaQuoted 33 lines · Jagadeesh Kona
Use
shared_floor_opsfor the SDCC RCGs to avoid any overclocking issues in SDCC usecases.Fixes 88174d5d9422 ("clk: qcom: Add Global Clock controller (GCC) driver for Milos")Signed-off-by Jagadeesh Kona <[email protected]>--- drivers/clk/qcom/gcc-milos.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/clk/qcom/gcc-milos.c +2
-2@@ -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, }, };
drivers/clk/qcom/gcc-milos.c static struct clk_rcg2 gcc_sdcc2_apps_clk_src = { · line 968
Quoted 8 lines
drivers/clk/qcom/gcc-milos.c +1
-1@@ -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 · 2 lines
Thanks, Taniya Das
Quoted 24 lines · Jagadeesh Kona
This series updates the clock ops to
clk_rcg2_shared_floor_opsfor the SDCC RCGs on SM8450, SM8750, SM4450, SDX75 and Milos 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.
Signed-off-by Jagadeesh Kona <[email protected]>---
Jagadeesh Kona (5):
clk: qcom: gcc-sm8450: Update the SDCC RCGs to useshared_floor_ops
clk: qcom: gcc-sm8750: Update the SDCC RCGs to useshared_floor_ops
clk: qcom: gcc-sm4450: Update the SDCC RCGs to useshared_floor_ops
clk: qcom: gcc-sdx75: Update the SDCC RCGs to useshared_floor_ops
clk: qcom: gcc-milos: Update the SDCC RCGs to useshared_floor_opsdrivers/clk/qcom/gcc-milos.c | 6 +++--- 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 ++-- 5 files changed, 12 insertions(+), 12 deletions(-)
Quoted 5 lines
---
base-commit:92fd6e84175befa1775e5c0ab682938eca27c0b2
change-id: 20251125-sdcc_shared_floor_ops-722ccecfe787Best regards,
Can you please add similar fix-ups for gcc-qdu1000.c/gcc-x1e80100.c as well.
Thanks,
Imran
Quoted 31 lines · Imran Shaik
Quoted 28 lines · Jagadeesh Kona
This series updates the clock ops to
clk_rcg2_shared_floor_opsfor the SDCC RCGs on SM8450, SM8750, SM4450, SDX75 and Milos 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.
Signed-off-by Jagadeesh Kona <[email protected]>---
Jagadeesh Kona (5):
clk: qcom: gcc-sm8450: Update the SDCC RCGs to useshared_floor_ops
clk: qcom: gcc-sm8750: Update the SDCC RCGs to useshared_floor_ops
clk: qcom: gcc-sm4450: Update the SDCC RCGs to useshared_floor_ops
clk: qcom: gcc-sdx75: Update the SDCC RCGs to useshared_floor_ops
clk: qcom: gcc-milos: Update the SDCC RCGs to useshared_floor_opsdrivers/clk/qcom/gcc-milos.c | 6 +++--- 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 ++-- 5 files changed, 12 insertions(+), 12 deletions(-)---
base-commit:92fd6e84175befa1775e5c0ab682938eca27c0b2
change-id: 20251125-sdcc_shared_floor_ops-722ccecfe787
Quoted 4 lines
Quoted 1 line
Best regards,
Can you please add similar fix-ups for
gcc-qdu1000.c/gcc-x1e80100.cas well.
Sure, I will add fix-ups for above targets also and post v2.
Thanks,
Jagadeesh
Quoted 18 lines · Jagadeesh Kona
This series updates the clock ops to
clk_rcg2_shared_floor_opsfor the SDCC RCGs on SM8450, SM8750, SM4450, SDX75 and Milos 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.
Signed-off-by Jagadeesh Kona <[email protected]>---
Jagadeesh Kona (5):
clk: qcom: gcc-sm8450: Update the SDCC RCGs to useshared_floor_ops
clk: qcom: gcc-sm8750: Update the SDCC RCGs to useshared_floor_ops
clk: qcom: gcc-sm4450: Update the SDCC RCGs to useshared_floor_ops
clk: qcom: gcc-sdx75: Update the SDCC RCGs to useshared_floor_ops
clk: qcom: gcc-milos: Update the SDCC RCGs to useshared_floor_ops
Quoted 6 lines
drivers/clk/qcom/gcc-milos.c | 6 +++--- 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 ++-- 5 files changed, 12 insertions(+), 12 deletions(-)
For all patches in the series
Signature · 2 lines
Best wishes, Vladimir