]> git.ipfire.org Git - thirdparty/linux.git/commit
clk: qcom: gcc-sm8750: Update the SDCC RCGs to use shared_floor_ops
authorJagadeesh Kona <jagadeesh.kona@oss.qualcomm.com>
Thu, 27 Nov 2025 17:57:37 +0000 (23:27 +0530)
committerBjorn Andersson <andersson@kernel.org>
Wed, 7 Jan 2026 15:12:00 +0000 (09:12 -0600)
commita7231d4aa084e485394f9214ec9bcb2d1f65dde9
tree5c665e6ad7fe06e0ddca022286e1345fe5dd8c87
parent89428516f99572a9c37ebbb7859595881e7025a0
clk: qcom: gcc-sm8750: 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: 3267c774f3ff ("clk: qcom: Add support for GCC on SM8750")
Reviewed-by: Taniya Das <taniya.das@oss.qualcomm.com>
Reviewed-by: Imran Shaik <imran.shaik@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Signed-off-by: Jagadeesh Kona <jagadeesh.kona@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251127-sdcc_shared_floor_ops-v2-2-473afc86589c@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/gcc-sm8750.c