Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: remoteproc: qcom,pas: correct memory-region constraints

Qualcomm PAS devices expect exactly one memory region, not many. Also,
the memory-region is now defined in device specific binding, not in
qcom,pas-common.yaml, thus also require it in the same place.

Fixes: cee616c68846 ("dt-bindings: remoteproc: qcom: adsp: move memory-region and firmware-name out of pas-common")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230713072242.11268-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Bjorn Andersson
1e5c6933 3440d8da

+17 -9
+1
Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml
··· 46 46 47 47 required: 48 48 - compatible 49 + - memory-region 49 50 50 51 unevaluatedProperties: false 51 52
-1
Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml
··· 82 82 - clock-names 83 83 - interrupts 84 84 - interrupt-names 85 - - memory-region 86 85 - qcom,smem-states 87 86 - qcom,smem-state-names 88 87
+2 -1
Documentation/devicetree/bindings/remoteproc/qcom,qcs404-pas.yaml
··· 42 42 smd-edge: false 43 43 44 44 memory-region: 45 - minItems: 1 45 + maxItems: 1 46 46 description: Reference to the reserved-memory for the Hexagon core 47 47 48 48 firmware-name: ··· 52 52 required: 53 53 - compatible 54 54 - reg 55 + - memory-region 55 56 56 57 allOf: 57 58 - $ref: /schemas/remoteproc/qcom,pas-common.yaml#
+2 -1
Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml
··· 51 51 - const: mss 52 52 53 53 memory-region: 54 - minItems: 1 54 + maxItems: 1 55 55 description: Reference to the reserved-memory for the Hexagon core 56 56 57 57 qcom,qmp: ··· 67 67 required: 68 68 - compatible 69 69 - reg 70 + - memory-region 70 71 71 72 allOf: 72 73 - $ref: /schemas/remoteproc/qcom,pas-common.yaml#
+2 -1
Documentation/devicetree/bindings/remoteproc/qcom,sc8180x-pas.yaml
··· 38 38 smd-edge: false 39 39 40 40 memory-region: 41 - minItems: 1 41 + maxItems: 1 42 42 description: Reference to the reserved-memory for the Hexagon core 43 43 44 44 firmware-name: ··· 48 48 required: 49 49 - compatible 50 50 - reg 51 + - memory-region 51 52 52 53 allOf: 53 54 - $ref: /schemas/remoteproc/qcom,pas-common.yaml#
+2 -1
Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml
··· 38 38 smd-edge: false 39 39 40 40 memory-region: 41 - minItems: 1 41 + maxItems: 1 42 42 description: Reference to the reserved-memory for the Hexagon core 43 43 44 44 firmware-name: ··· 48 48 required: 49 49 - compatible 50 50 - reg 51 + - memory-region 51 52 52 53 allOf: 53 54 - $ref: /schemas/remoteproc/qcom,pas-common.yaml#
+2 -1
Documentation/devicetree/bindings/remoteproc/qcom,sdx55-pas.yaml
··· 46 46 - const: mss 47 47 48 48 memory-region: 49 - minItems: 1 49 + maxItems: 1 50 50 description: Reference to the reserved-memory for the Hexagon core 51 51 52 52 qcom,qmp: ··· 62 62 required: 63 63 - compatible 64 64 - reg 65 + - memory-region 65 66 66 67 allOf: 67 68 - $ref: /schemas/remoteproc/qcom,pas-common.yaml#
+2 -1
Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml
··· 36 36 description: Reference to the AOSS side-channel message RAM. 37 37 38 38 memory-region: 39 - minItems: 1 39 + maxItems: 1 40 40 description: Reference to the reserved-memory for the Hexagon core 41 41 42 42 smd-edge: false ··· 48 48 required: 49 49 - compatible 50 50 - reg 51 + - memory-region 51 52 52 53 allOf: 53 54 - $ref: /schemas/remoteproc/qcom,pas-common.yaml#
+2 -1
Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml
··· 40 40 description: Reference to the AOSS side-channel message RAM. 41 41 42 42 memory-region: 43 - minItems: 1 43 + maxItems: 1 44 44 description: Reference to the reserved-memory for the Hexagon core 45 45 46 46 smd-edge: false ··· 52 52 required: 53 53 - compatible 54 54 - reg 55 + - memory-region 55 56 56 57 allOf: 57 58 - $ref: /schemas/remoteproc/qcom,pas-common.yaml#
+2 -1
Documentation/devicetree/bindings/remoteproc/qcom,sm8350-pas.yaml
··· 43 43 smd-edge: false 44 44 45 45 memory-region: 46 - minItems: 1 46 + maxItems: 1 47 47 description: Reference to the reserved-memory for the Hexagon core 48 48 49 49 firmware-name: ··· 53 53 required: 54 54 - compatible 55 55 - reg 56 + - memory-region 56 57 57 58 allOf: 58 59 - $ref: /schemas/remoteproc/qcom,pas-common.yaml#