dt-bindings: mailbox: arm,mhu: Make secure interrupt optional
authorRob Herring <robh@kernel.org>
Thu, 28 Jul 2022 19:08:10 +0000 (13:08 -0600)
committerRob Herring <robh@kernel.org>
Wed, 10 Aug 2022 21:12:49 +0000 (15:12 -0600)
The secure interrupt is only useful to secure world, therefore for NS
users it shouldn't be required. Make it optional.

This fixes a warning on Arm Juno board:

mhu@2b1f0000: interrupts: [[0, 36, 4], [0, 35, 4]] is too short

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20220728190810.1290857-1-robh@kernel.org
Documentation/devicetree/bindings/mailbox/arm,mhu.yaml

index bd49c201477dc13ddabae404738446617cf3afc7..d9a4f4a02d7cb0cf674afee9e598f51747084fec 100644 (file)
@@ -57,6 +57,7 @@ properties:
     maxItems: 1
 
   interrupts:
+    minItems: 2
     items:
       - description: low-priority non-secure
       - description: high-priority non-secure