]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: crypto: fsl,sec-v4.0: add second register space for rtic
authorFrank Li <Frank.Li@nxp.com>
Wed, 21 Aug 2024 19:20:48 +0000 (15:20 -0400)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 30 Aug 2024 10:22:31 +0000 (18:22 +0800)
Add two description for register space of rtic. There are two register
space, one is for control and status, the other optional space is
recoverable error indication register space.

Fix below CHECK_DTBS error:
arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dtb: crypto@1700000: rtic@60000:reg: [[393216, 256], [396800, 24]] is too long
        from schema $id: http://devicetree.org/schemas/crypto/fsl,sec-v4.0.yaml#

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Documentation/devicetree/bindings/crypto/fsl,sec-v4.0.yaml

index 0a9ed2848b7c632bb34929e680767ab64180762e..9c8c9991f29ad6e4056f23aa3a3014c600d612bb 100644 (file)
@@ -137,7 +137,10 @@ patternProperties:
           - const: fsl,sec-v4.0-rtic
 
       reg:
-        maxItems: 1
+        items:
+          - description: RTIC control and status register space.
+          - description: RTIC recoverable error indication register space.
+        minItems: 1
 
       ranges:
         maxItems: 1