clk: qcom: Add lpass audio clock controller driver for SC8280XP
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 8 Jun 2023 12:53:13 +0000 (13:53 +0100)
committerBjorn Andersson <andersson@kernel.org>
Tue, 13 Jun 2023 18:14:04 +0000 (11:14 -0700)
commitc2ef1ec97c1fb932d0cccaee71270f56898b9cd0
tree9ba52bbcc813ed1c95db1e594b30f8366c166233
parenta5c9c3ba243ab9a7695b7125d06758f43952b58b
clk: qcom: Add lpass audio clock controller driver for SC8280XP

Add support for the lpass audio clock controller found on SC8280XP based
devices. This would allow lpass peripheral loader drivers to control the
clocks and bring the subsystems out of reset.

Currently this patch only supports resets as the Q6DSP is in control of
LPASS IP which manages most of the clocks via Q6PRM service on GPR rpmsg
channel.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230608125315.11454-5-srinivas.kandagatla@linaro.org
drivers/clk/qcom/lpasscc-sc8280xp.c