1

dt-bindings: crypto: sun8i-ce: Add compatible for H616

The Allwinner H616 has a crypto engine very similar to the one in the
H6, although all addresses in the DMA descriptors are shifted by 2 bits,
to accommodate for the larger physical address space. That makes it
incompatible to the H6 variant, and thus requires a new compatible
string. Clock wise it relies on the internal oscillator for the TRNG,
so needs all four possible clocks specified.

Add the compatible string to the list of recognised names, and add the
H616 to list of devices requiring all four clocks.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Andre Przywara 2024-06-25 00:21:07 +01:00 committed by Herbert Xu
parent 95c0f5c3b8
commit 996f8a9654

View File

@ -18,6 +18,7 @@ properties:
- allwinner,sun50i-a64-crypto - allwinner,sun50i-a64-crypto
- allwinner,sun50i-h5-crypto - allwinner,sun50i-h5-crypto
- allwinner,sun50i-h6-crypto - allwinner,sun50i-h6-crypto
- allwinner,sun50i-h616-crypto
reg: reg:
maxItems: 1 maxItems: 1
@ -49,6 +50,7 @@ if:
compatible: compatible:
enum: enum:
- allwinner,sun20i-d1-crypto - allwinner,sun20i-d1-crypto
- allwinner,sun50i-h616-crypto
then: then:
properties: properties:
clocks: clocks: