Skip to content

Commit 6c01367

Browse files
linuswherbertx
authored andcommitted
dt-bindings: crypto: Let STM32 define Ux500 CRYP
This adds device tree bindings for the Ux500 CRYP block as a compatible in the STM32 CRYP bindings. The Ux500 CRYP binding has been used for ages in the kernel device tree for Ux500 but was never documented, so fill in the gap by making it a sibling of the STM32 CRYP block, which is what it is. The relationship to the existing STM32 CRYP block is pretty obvious when looking at the register map, and I have written patches to reuse the STM32 CRYP driver on the Ux500. The two properties added are DMA channels and power domain. Power domains are a generic SoC feature and the STM32 variant also has DMA channels. Cc: [email protected] Cc: Rob Herring <[email protected]> Cc: Krzysztof Kozlowski <[email protected]> Cc: Lionel Debieve <[email protected]> Cc: Maxime Coquelin <[email protected]> Cc: Alexandre Torgue <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 9f6ec8d commit 6c01367

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Documentation/devicetree/bindings/crypto/st,stm32-cryp.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,18 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
66

77
title: STMicroelectronics STM32 CRYP bindings
88

9+
description: The STM32 CRYP block is built on the CRYP block found in
10+
the STn8820 SoC introduced in 2007, and subsequently used in the U8500
11+
SoC in 2010.
12+
913
maintainers:
1014
- Lionel Debieve <[email protected]>
1115

1216
properties:
1317
compatible:
1418
enum:
19+
- st,stn8820-cryp
20+
- stericsson,ux500-cryp
1521
- st,stm32f756-cryp
1622
- st,stm32mp1-cryp
1723

@@ -27,6 +33,19 @@ properties:
2733
resets:
2834
maxItems: 1
2935

36+
dmas:
37+
items:
38+
- description: mem2cryp DMA channel
39+
- description: cryp2mem DMA channel
40+
41+
dma-names:
42+
items:
43+
- const: mem2cryp
44+
- const: cryp2mem
45+
46+
power-domains:
47+
maxItems: 1
48+
3049
required:
3150
- compatible
3251
- reg

0 commit comments

Comments
 (0)