dt-bindings: crypto: sun8i-ce: Add compatible for D1
authorSamuel Holland <samuel@sholland.org>
Sat, 31 Dec 2022 22:01:43 +0000 (16:01 -0600)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 13 Jan 2023 08:39:04 +0000 (16:39 +0800)
commit197286f86012250191bfe616dc4e9b8e34380c35
tree9303cfb60bbf1cf6a06bba25772d22083b26c92c
parent55ef6c811b8481b65e54217010a62c4074e19302
dt-bindings: crypto: sun8i-ce: Add compatible for D1

D1 has a crypto engine similar to the one in other Allwinner SoCs.
Like H6, it has a separate MBUS clock gate.

It also requires the internal RC oscillator to be enabled for the TRNG
to return data, presumably because noise from the oscillator is used as
an entropy source. This is likely the case for earlier variants as well,
but it really only matters for H616 and newer SoCs, as H6 provides no
way to disable the internal oscillator.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Documentation/devicetree/bindings/crypto/allwinner,sun8i-ce.yaml