]> git.ipfire.org Git - thirdparty/linux.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)
committerBjorn Andersson <andersson@kernel.org>
Sat, 8 Feb 2025 05:19:55 +0000 (23:19 -0600)
commit52b10b591f83dc6d9a1d6c2dc89433470a787ecd
tree40e1dbd3d79103699195c0ae307ecc947451045d
parentb60521eff227ef459e03879cbea2b2bd85a8d7af
clk: qcom: camcc-sm8250: Use clk_rcg2_shared_ops for some RCGs

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>
drivers/clk/qcom/camcc-sm8250.c