[PATCH v3 00/15] dt-bindings: remoteproc: qcom: split and reorganize PAS/PIL

From: Krzysztof Kozlowski
Date: Thu Nov 24 2022 - 13:43:50 EST


Changes since v2
================
1. Allow only one or two clocks, after dropping clocks related to PIL binding.
2. Drop if:then: for the clock and put it directly under properties
3. Merge two if:then: clauses for setting interrupts.
4. New patches: DTS fixes, qcom,adsp: drop resets and qcom,halt-regs,
qcom,qcs404-pas, qcom,sc7180-pas and last msm8996-slpi-pil fix.

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 (15):
arm64: dts: qcom: msm8996: drop address/size cells from smd-edge
arm64: dts: qcom: qcs404: align CDSP PAS node with bindings
arm64: dts: qcom: sc7180: align MPSS PAS node with bindings
arm64: dts: qcom: sc7280: align MPSS PAS node with bindings
dt-bindings: remoteproc: qcom,adsp: drop resets and qcom,halt-regs
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
dt-bindings: remoteproc: qcom,qcs404-pas: split into separate file
dt-bindings: remoteproc: qcom,sc7180-pas: split into separate file
dt-bindings: remoteproc: qcom,adsp: correct msm8996-slpi-pil clocks

.../bindings/remoteproc/qcom,adsp.yaml | 414 +-----------------
.../bindings/remoteproc/qcom,pas-common.yaml | 97 ++++
.../bindings/remoteproc/qcom,qcs404-pas.yaml | 86 ++++
.../bindings/remoteproc/qcom,sc7180-pas.yaml | 125 ++++++
.../bindings/remoteproc/qcom,sc8180x-pas.yaml | 87 ++++
.../remoteproc/qcom,sc8280xp-pas.yaml | 139 ++++++
.../bindings/remoteproc/qcom,sdx55-pas.yaml | 101 +++++
.../bindings/remoteproc/qcom,sm6350-pas.yaml | 159 +++++++
.../bindings/remoteproc/qcom,sm8150-pas.yaml | 166 +++++++
.../bindings/remoteproc/qcom,sm8350-pas.yaml | 174 ++++++++
arch/arm64/boot/dts/qcom/msm8996.dtsi | 3 +-
arch/arm64/boot/dts/qcom/qcs404.dtsi | 46 +-
arch/arm64/boot/dts/qcom/sc7180-idp.dts | 18 +
arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 18 +
arch/arm64/boot/dts/qcom/sc7180.dtsi | 20 +-
.../dts/qcom/sc7280-herobrine-lte-sku.dtsi | 17 +
arch/arm64/boot/dts/qcom/sc7280.dtsi | 16 +-
17 files changed, 1221 insertions(+), 465 deletions(-)
create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml
create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,qcs404-pas.yaml
create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.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

--
2.34.1