mbox series

[v2,0/5] remoteproc: qcom_q6v5_mss: Add MSM8909

Message ID 20220718140344.1831731-1-stephan.gerhold@kernkonzept.com (mailing list archive)
Headers show
Series remoteproc: qcom_q6v5_mss: Add MSM8909 | expand

Message

Stephan Gerhold July 18, 2022, 2:03 p.m. UTC
Convert parts of the qcom,q6v5.txt binding documentation to a DT schema
(together with some DT fixes) in preparation of adding a new
"qcom,msm8909-mss-pil" compatible. The schema can be easily shared
between MSM8916, MSM8974 and MSM8909 because they have almost the same
requirements. The other SoCs are quite different and would be better
described in a separate DT schema to avoid a lot of complicated if
statements.

Finally, add support for MSM8909 to the qcom_q6v5_mss driver by reusing
the initialization sequence for MSM8996/8, with some minor if statements
to handle the differences for MSM8909.

---
Changes in v2:
  - Address review comments from Krzysztof
  - Drop "ARM: dts: qcom: msm8974: Disable remoteprocs by default"
    since Bjorn applied it already

Stephan Gerhold (5):
  arm64: dts: qcom: msm8916: Drop MSS fallback compatible
  dt-bindings: remoteproc: qcom,q6v5: Move MSM8916 to schema
  dt-bindings: remoteproc: qcom,msm8916-mss-pil: Add MSM8974
  dt-bindings: remoteproc: qcom,msm8916-mss-pil: Add MSM8909
  remoteproc: qcom_q6v5_mss: Add support for MSM8909

 .../remoteproc/qcom,msm8916-mss-pil.yaml      | 264 ++++++++++++++++++
 .../bindings/remoteproc/qcom,q6v5.txt         |  35 ---
 arch/arm64/boot/dts/qcom/msm8916.dtsi         |   2 +-
 drivers/remoteproc/qcom_q6v5_mss.c            | 123 +++++---
 4 files changed, 355 insertions(+), 69 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,msm8916-mss-pil.yaml

Comments

Bjorn Andersson Oct. 18, 2022, 3:15 a.m. UTC | #1
On Mon, 18 Jul 2022 16:03:39 +0200, Stephan Gerhold wrote:
> Convert parts of the qcom,q6v5.txt binding documentation to a DT schema
> (together with some DT fixes) in preparation of adding a new
> "qcom,msm8909-mss-pil" compatible. The schema can be easily shared
> between MSM8916, MSM8974 and MSM8909 because they have almost the same
> requirements. The other SoCs are quite different and would be better
> described in a separate DT schema to avoid a lot of complicated if
> statements.
> 
> [...]

Applied, thanks!

[1/5] arm64: dts: qcom: msm8916: Drop MSS fallback compatible
      commit: ff02ac621634e82c0c34d02a79d402ae700cdfd0

Best regards,