remoteproc: qcom: q6v5-mss: Add support for MSM8909
authorStephan Gerhold <stephan.gerhold@kernkonzept.com>
Thu, 8 Sep 2022 18:24:31 +0000 (20:24 +0200)
committerBjorn Andersson <andersson@kernel.org>
Tue, 27 Dec 2022 16:03:12 +0000 (10:03 -0600)
commited71c47f0000ec17b4ce167bce0d44dff8e144e1
tree3b3efdd7f10b6d551497904e71ca93a923f07c78
parentf8fb0b3d453e8a0a3b94c18001ce8f1e86d95036
remoteproc: qcom: q6v5-mss: Add support for MSM8909

Port the initialization sequence necessary for booting the modem remote
processor on the MSM8909 SoC from Qualcomm's msm-3.10 release [1].
The sequence is actually similar to the existing one for MSM8996 and
MSM8998 except that there is no separate QDSP6SS_MEM_PWR_CTL register
and most of the "memories" are enabled at once instead of sequentially.

To reuse the existing code just insert some if statements where needed
and add a configuration similar to the one from MSM8916.

[1]: https://git.codelinaro.org/clo/la/kernel/msm-3.10/-/commit/56dcedc8dac8abff6b007f76a29430b2d0a44704

Signed-off-by: Stephan Gerhold <stephan.gerhold@kernkonzept.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220908182433.466908-6-stephan.gerhold@kernkonzept.com
drivers/remoteproc/qcom_q6v5_mss.c