Commit d2403ee7 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Bjorn Andersson

dt-bindings: remoteproc: qcom,adsp: simplify interrupts

Interrupts between variants differ only with presence of last optional
interrupt, so the constraints can be simplified.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220517070113.18023-5-krzysztof.kozlowski@linaro.org
parent 3bf96d46
...@@ -72,11 +72,23 @@ properties: ...@@ -72,11 +72,23 @@ properties:
interrupts: interrupts:
minItems: 5 minItems: 5
maxItems: 6 items:
- description: Watchdog interrupt
- description: Fatal interrupt
- description: Ready interrupt
- description: Handover interrupt
- description: Stop acknowledge interrupt
- description: Shutdown acknowledge interrupt
interrupt-names: interrupt-names:
minItems: 5 minItems: 5
maxItems: 6 items:
- const: wdog
- const: fatal
- const: ready
- const: handover
- const: stop-ack
- const: shutdown-ack
resets: resets:
minItems: 1 minItems: 1
...@@ -317,19 +329,9 @@ allOf: ...@@ -317,19 +329,9 @@ allOf:
then: then:
properties: properties:
interrupts: interrupts:
items: maxItems: 5
- description: Watchdog interrupt
- description: Fatal interrupt
- description: Ready interrupt
- description: Handover interrupt
- description: Stop acknowledge interrupt
interrupt-names: interrupt-names:
items: maxItems: 5
- const: wdog
- const: fatal
- const: ready
- const: handover
- const: stop-ack
- if: - if:
properties: properties:
...@@ -347,21 +349,9 @@ allOf: ...@@ -347,21 +349,9 @@ allOf:
then: then:
properties: properties:
interrupts: interrupts:
items: minItems: 6
- description: Watchdog interrupt
- description: Fatal interrupt
- description: Ready interrupt
- description: Handover interrupt
- description: Stop acknowledge interrupt
- description: Shutdown acknowledge interrupt
interrupt-names: interrupt-names:
items: minItems: 6
- const: wdog
- const: fatal
- const: ready
- const: handover
- const: stop-ack
- const: shutdown-ack
- if: - if:
properties: properties:
......
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