Commit 1e5c6933 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Bjorn Andersson

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: cee616c6 ("dt-bindings: remoteproc: qcom: adsp: move memory-region and firmware-name out of pas-common")
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230713072242.11268-2-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 3440d8da
...@@ -46,6 +46,7 @@ properties: ...@@ -46,6 +46,7 @@ properties:
required: required:
- compatible - compatible
- memory-region
unevaluatedProperties: false unevaluatedProperties: false
......
...@@ -82,7 +82,6 @@ required: ...@@ -82,7 +82,6 @@ required:
- clock-names - clock-names
- interrupts - interrupts
- interrupt-names - interrupt-names
- memory-region
- qcom,smem-states - qcom,smem-states
- qcom,smem-state-names - qcom,smem-state-names
......
...@@ -42,7 +42,7 @@ properties: ...@@ -42,7 +42,7 @@ properties:
smd-edge: false smd-edge: false
memory-region: memory-region:
minItems: 1 maxItems: 1
description: Reference to the reserved-memory for the Hexagon core description: Reference to the reserved-memory for the Hexagon core
firmware-name: firmware-name:
...@@ -52,6 +52,7 @@ properties: ...@@ -52,6 +52,7 @@ properties:
required: required:
- compatible - compatible
- reg - reg
- memory-region
allOf: allOf:
- $ref: /schemas/remoteproc/qcom,pas-common.yaml# - $ref: /schemas/remoteproc/qcom,pas-common.yaml#
......
...@@ -51,7 +51,7 @@ properties: ...@@ -51,7 +51,7 @@ properties:
- const: mss - const: mss
memory-region: memory-region:
minItems: 1 maxItems: 1
description: Reference to the reserved-memory for the Hexagon core description: Reference to the reserved-memory for the Hexagon core
qcom,qmp: qcom,qmp:
...@@ -67,6 +67,7 @@ properties: ...@@ -67,6 +67,7 @@ properties:
required: required:
- compatible - compatible
- reg - reg
- memory-region
allOf: allOf:
- $ref: /schemas/remoteproc/qcom,pas-common.yaml# - $ref: /schemas/remoteproc/qcom,pas-common.yaml#
......
...@@ -38,7 +38,7 @@ properties: ...@@ -38,7 +38,7 @@ properties:
smd-edge: false smd-edge: false
memory-region: memory-region:
minItems: 1 maxItems: 1
description: Reference to the reserved-memory for the Hexagon core description: Reference to the reserved-memory for the Hexagon core
firmware-name: firmware-name:
...@@ -48,6 +48,7 @@ properties: ...@@ -48,6 +48,7 @@ properties:
required: required:
- compatible - compatible
- reg - reg
- memory-region
allOf: allOf:
- $ref: /schemas/remoteproc/qcom,pas-common.yaml# - $ref: /schemas/remoteproc/qcom,pas-common.yaml#
......
...@@ -38,7 +38,7 @@ properties: ...@@ -38,7 +38,7 @@ properties:
smd-edge: false smd-edge: false
memory-region: memory-region:
minItems: 1 maxItems: 1
description: Reference to the reserved-memory for the Hexagon core description: Reference to the reserved-memory for the Hexagon core
firmware-name: firmware-name:
...@@ -48,6 +48,7 @@ properties: ...@@ -48,6 +48,7 @@ properties:
required: required:
- compatible - compatible
- reg - reg
- memory-region
allOf: allOf:
- $ref: /schemas/remoteproc/qcom,pas-common.yaml# - $ref: /schemas/remoteproc/qcom,pas-common.yaml#
......
...@@ -46,7 +46,7 @@ properties: ...@@ -46,7 +46,7 @@ properties:
- const: mss - const: mss
memory-region: memory-region:
minItems: 1 maxItems: 1
description: Reference to the reserved-memory for the Hexagon core description: Reference to the reserved-memory for the Hexagon core
qcom,qmp: qcom,qmp:
...@@ -62,6 +62,7 @@ properties: ...@@ -62,6 +62,7 @@ properties:
required: required:
- compatible - compatible
- reg - reg
- memory-region
allOf: allOf:
- $ref: /schemas/remoteproc/qcom,pas-common.yaml# - $ref: /schemas/remoteproc/qcom,pas-common.yaml#
......
...@@ -36,7 +36,7 @@ properties: ...@@ -36,7 +36,7 @@ properties:
description: Reference to the AOSS side-channel message RAM. description: Reference to the AOSS side-channel message RAM.
memory-region: memory-region:
minItems: 1 maxItems: 1
description: Reference to the reserved-memory for the Hexagon core description: Reference to the reserved-memory for the Hexagon core
smd-edge: false smd-edge: false
...@@ -48,6 +48,7 @@ properties: ...@@ -48,6 +48,7 @@ properties:
required: required:
- compatible - compatible
- reg - reg
- memory-region
allOf: allOf:
- $ref: /schemas/remoteproc/qcom,pas-common.yaml# - $ref: /schemas/remoteproc/qcom,pas-common.yaml#
......
...@@ -40,7 +40,7 @@ properties: ...@@ -40,7 +40,7 @@ properties:
description: Reference to the AOSS side-channel message RAM. description: Reference to the AOSS side-channel message RAM.
memory-region: memory-region:
minItems: 1 maxItems: 1
description: Reference to the reserved-memory for the Hexagon core description: Reference to the reserved-memory for the Hexagon core
smd-edge: false smd-edge: false
...@@ -52,6 +52,7 @@ properties: ...@@ -52,6 +52,7 @@ properties:
required: required:
- compatible - compatible
- reg - reg
- memory-region
allOf: allOf:
- $ref: /schemas/remoteproc/qcom,pas-common.yaml# - $ref: /schemas/remoteproc/qcom,pas-common.yaml#
......
...@@ -43,7 +43,7 @@ properties: ...@@ -43,7 +43,7 @@ properties:
smd-edge: false smd-edge: false
memory-region: memory-region:
minItems: 1 maxItems: 1
description: Reference to the reserved-memory for the Hexagon core description: Reference to the reserved-memory for the Hexagon core
firmware-name: firmware-name:
...@@ -53,6 +53,7 @@ properties: ...@@ -53,6 +53,7 @@ properties:
required: required:
- compatible - compatible
- reg - reg
- memory-region
allOf: allOf:
- $ref: /schemas/remoteproc/qcom,pas-common.yaml# - $ref: /schemas/remoteproc/qcom,pas-common.yaml#
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment