mbox series

[v2,0/7] dt-bindings: remoteproc: qcom: split and reorganize PAS/PIL

Message ID 20221118123402.95784-1-krzysztof.kozlowski@linaro.org
Headers show
Series dt-bindings: remoteproc: qcom: split and reorganize PAS/PIL | expand

Message

Krzysztof Kozlowski Nov. 18, 2022, 12:33 p.m. UTC
Changes since v1
================
1. Keep resets, reset-names, qcom,qmp and qcom,halt-regs in qcom,adsp, because
   they are not shared with most of PAS bindings.
2. Add firmware-name to examples.
3. New patches: qcom,sc8180x-pas and qcom,sdx55-pas.

Description
===========
The Qualcomm PAS/PIL (qcom,adsp.yaml) bindings grew considerably with huge
amount of if:then:else blocks and 40 compatibles (still growing).   These
if:then:else blocks constrain clocks, power-domains and interrupt per variants.
Adding new variants is now tricky - it's easy to forget to add variant to one
if:then: clause.

Split the bindings into reusable schema and per-soc bindings, groupping them
when applicable.

This part is finished, but more and more compatibles should be moved out of
qcom,adsp.yaml, eventually dropping the file.

Best regards,
Krzysztof

Krzysztof Kozlowski (7):
  dt-bindings: remoteproc: qcom,adsp: split common part
  dt-bindings: remoteproc: qcom,sm8350-pas: split into separate file
  dt-bindings: remoteproc: qcom,sm8150-pas: split into separate file
  dt-bindings: remoteproc: qcom,sm6350-pas: split into separate file
  dt-bindings: remoteproc: qcom,sc8280xp-pas: split into separate file
  dt-bindings: remoteproc: qcom,sc8180x-pas: split into separate file
  dt-bindings: remoteproc: qcom,sdx55-pas: split into separate file

 .../bindings/remoteproc/qcom,adsp.yaml        | 241 +-----------------
 .../bindings/remoteproc/qcom,pas-common.yaml  |  97 +++++++
 .../bindings/remoteproc/qcom,sc8180x-pas.yaml | 101 ++++++++
 .../remoteproc/qcom,sc8280xp-pas.yaml         | 160 ++++++++++++
 .../bindings/remoteproc/qcom,sdx55-pas.yaml   | 101 ++++++++
 .../bindings/remoteproc/qcom,sm6350-pas.yaml  | 173 +++++++++++++
 .../bindings/remoteproc/qcom,sm8150-pas.yaml  | 184 +++++++++++++
 .../bindings/remoteproc/qcom,sm8350-pas.yaml  | 194 ++++++++++++++
 8 files changed, 1012 insertions(+), 239 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml
 create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,sc8180x-pas.yaml
 create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml
 create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,sdx55-pas.yaml
 create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml
 create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml
 create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,sm8350-pas.yaml