summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorFabio Estevam <festevam@denx.de>2023-09-25 13:12:20 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2023-10-05 12:16:30 +0200
commit200a98797b8f6414dc7a852e8bb650ce726b8a15 (patch)
tree72b2065271b72e9a4b8391dff4e386bf4c0bb3d7 /Documentation
parentdt-bindings: crypto: fsl-imx-sahara: Document the clocks (diff)
downloadlinux-200a98797b8f6414dc7a852e8bb650ce726b8a15.tar.xz
linux-200a98797b8f6414dc7a852e8bb650ce726b8a15.zip
dt-bindings: crypto: fsl-imx-sahara: Fix the number of irqs
i.MX27 has only one Sahara interrupt. i.MX53 has two. Describe this difference. Signed-off-by: Fabio Estevam <festevam@denx.de> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml22
1 files changed, 21 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml b/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml
index 9dbfc15510a8..41df80bcdcd9 100644
--- a/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml
+++ b/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml
@@ -19,7 +19,10 @@ properties:
maxItems: 1
interrupts:
- maxItems: 1
+ items:
+ - description: SAHARA Interrupt for Host 0
+ - description: SAHARA Interrupt for Host 1
+ minItems: 1
clocks:
items:
@@ -38,6 +41,23 @@ required:
- clocks
- clock-names
+allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - fsl,imx53-sahara
+ then:
+ properties:
+ interrupts:
+ minItems: 2
+ maxItems: 2
+ else:
+ properties:
+ interrupts:
+ maxItems: 1
+
additionalProperties: false
examples: