diff mbox series

[1/1] dt-bindings: crypto: fsl,sec-v4.0: add second register space for rtic

Message ID 20240821192135.578126-1-Frank.Li@nxp.com (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show
Series [1/1] dt-bindings: crypto: fsl,sec-v4.0: add second register space for rtic | expand

Commit Message

Frank Li Aug. 21, 2024, 7:20 p.m. UTC
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>
---
 Documentation/devicetree/bindings/crypto/fsl,sec-v4.0.yaml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

Conor Dooley Aug. 22, 2024, 3:43 p.m. UTC | #1
On Wed, Aug 21, 2024 at 03:20:48PM -0400, Frank Li wrote:
> 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>
Herbert Xu Aug. 30, 2024, 10:39 a.m. UTC | #2
On Wed, Aug 21, 2024 at 03:20:48PM -0400, Frank Li wrote:
> 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>
> ---
>  Documentation/devicetree/bindings/crypto/fsl,sec-v4.0.yaml | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)

Patch applied.  Thanks.
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/crypto/fsl,sec-v4.0.yaml b/Documentation/devicetree/bindings/crypto/fsl,sec-v4.0.yaml
index 0a9ed2848b7c6..9c8c9991f29ad 100644
--- a/Documentation/devicetree/bindings/crypto/fsl,sec-v4.0.yaml
+++ b/Documentation/devicetree/bindings/crypto/fsl,sec-v4.0.yaml
@@ -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