]> git.baikalelectronics.ru Git - kernel.git/commit
clk: qcom: camcc: Update the clock ops for the SC7180
authorTaniya Das <tdas@codeaurora.org>
Sat, 27 Mar 2021 01:41:05 +0000 (07:11 +0530)
committerStephen Boyd <sboyd@kernel.org>
Mon, 29 Mar 2021 21:08:32 +0000 (14:08 -0700)
commited87a55ca93e0cd4d86a9555a0989840d5961075
tree36c27d4bfdbcd54b0d9206f703fb572ea3c0724a
parent3ce4701d2655e4c44f31992c2ca8f5d9848d7d25
clk: qcom: camcc: Update the clock ops for the SC7180

Some of the RCGs could be always ON from the XO source and could be used
as the clock on signal for the GDSC to be operational. In the cases where
the GDSCs are parked at different source with the source clock disabled,
it could lead to the GDSC to be stuck at ON/OFF during gdsc disable/enable.
Thus park the RCGs at XO during clock disable and update the rcg_ops to
use the shared_ops.

Fixes: e9e55b40ebe8 ("clk: qcom: camcc: Add camera clock controller driver for SC7180")
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Link: https://lore.kernel.org/r/1616809265-11912-1-git-send-email-tdas@codeaurora.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/camcc-sc7180.c