remoteproc: qcom: qdsp6-adsp: Add support for QCS404 CDSP
authorBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 10 May 2019 04:34:15 +0000 (21:34 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 22 May 2019 06:52:52 +0000 (23:52 -0700)
commit0c6de4c299cc8f3283c38f3778777e00ed7e4b69
treeb8d442d110b9849faaf09e2ae6e55741ec7c3a83
parent7ef5f7dd2a07f7460ce900818cc4cd8222daeebe
remoteproc: qcom: qdsp6-adsp: Add support for QCS404 CDSP

Move the clock list to adsp_pil_data, make the pdc_reset optional and
make the driver directly enable the xo, sleep and core clocks.

The three clocks are previously toggled through the clock controller,
but that means the same hardware block needs to be mapped in both
drivers. Making the remoteproc driver enable the clocks is a nop when
using the clock controller, but allow us to remove the clocks from the
clock controller.

Reviewed-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/qcom_q6v5_adsp.c