]> 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)
commitedef5bb6805c5c87ed59eb224341ba3dc7bb8363
tree36c27d4bfdbcd54b0d9206f703fb572ea3c0724a
parent312c70c3150fc1a41d74664fbf2b105c5fceaf29
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: 4caac5c42e28 ("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