diff options
author | Fabio Estevam <festevam@denx.de> | 2023-09-25 08:12:20 -0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-10-05 18:16:30 +0800 |
commit | 200a98797b8f6414dc7a852e8bb650ce726b8a15 (patch) | |
tree | 72b2065271b72e9a4b8391dff4e386bf4c0bb3d7 | |
parent | dcd7a8961c99aab619f1efdf2c2f94f0e0ecbc34 (diff) | |
download | linux-stable-200a98797b8f6414dc7a852e8bb650ce726b8a15.tar.gz linux-stable-200a98797b8f6414dc7a852e8bb650ce726b8a15.tar.bz2 linux-stable-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>
-rw-r--r-- | Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml | 22 |
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: |