]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: qcom: camcc-sm8250: Use clk_rcg2_shared_ops for some RCGs
authorJordan Crouse <jorcrous@amazon.com>
Wed, 22 Jan 2025 22:26:12 +0000 (22:26 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:38:03 +0000 (14:38 +0200)
commit7b99233dda9b20a45daaddff0f61baa7a190e1d7
tree49be8acb602bd35e22ab09ea8155c0589536da6b
parent3373abfa5d297f809687ef1bfbcb924bf6f9d652
clk: qcom: camcc-sm8250: Use clk_rcg2_shared_ops for some RCGs

[ Upstream commit 52b10b591f83dc6d9a1d6c2dc89433470a787ecd ]

Update some RCGs on the sm8250 camera clock controller to use
clk_rcg2_shared_ops. The shared_ops ensure the RCGs get parked
to the XO during clock disable to prevent the clocks from locking up
when the GDSC is enabled. These mirror similar fixes for other controllers
such as commit e5c359f70e4b ("clk: qcom: camcc: Update the clock ops for
the SC7180").

Signed-off-by: Jordan Crouse <jorcrous@amazon.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Link: https://lore.kernel.org/r/20250122222612.32351-1-jorcrous@amazon.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/qcom/camcc-sm8250.c