devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: crypto: sun8i-ce: Add compatible for D1
@ 2021-11-19  5:10 Samuel Holland
  2021-11-19  5:10 ` [PATCH 2/2] crypto: sun8i-ce: Add support for the D1 variant Samuel Holland
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Samuel Holland @ 2021-11-19  5:10 UTC (permalink / raw)
  To: Corentin Labbe, Herbert Xu, David S . Miller, linux-crypto
  Cc: Rob Herring, devicetree, Maxime Ripard, Chen-Yu Tsai,
	Jernej Skrabec, linux-sunxi, Samuel Holland

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

Signed-off-by: Samuel Holland <samuel@sholland.org>
---

 .../devicetree/bindings/crypto/allwinner,sun8i-ce.yaml      | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/crypto/allwinner,sun8i-ce.yaml b/Documentation/devicetree/bindings/crypto/allwinner,sun8i-ce.yaml
index 00648f9d9278..d43a8aad8680 100644
--- a/Documentation/devicetree/bindings/crypto/allwinner,sun8i-ce.yaml
+++ b/Documentation/devicetree/bindings/crypto/allwinner,sun8i-ce.yaml
@@ -14,6 +14,7 @@ properties:
     enum:
       - allwinner,sun8i-h3-crypto
       - allwinner,sun8i-r40-crypto
+      - allwinner,sun20i-d1-crypto
       - allwinner,sun50i-a64-crypto
       - allwinner,sun50i-h5-crypto
       - allwinner,sun50i-h6-crypto
@@ -44,7 +45,10 @@ properties:
 if:
   properties:
     compatible:
-      const: allwinner,sun50i-h6-crypto
+      contains:
+        enum:
+          - allwinner,sun20i-d1-crypto
+          - allwinner,sun50i-h6-crypto
 then:
   properties:
     clocks:
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-11-29 23:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-19  5:10 [PATCH 1/2] dt-bindings: crypto: sun8i-ce: Add compatible for D1 Samuel Holland
2021-11-19  5:10 ` [PATCH 2/2] crypto: sun8i-ce: Add support for the D1 variant Samuel Holland
2021-11-26  5:31   ` Herbert Xu
2021-11-19  8:29 ` [PATCH 1/2] dt-bindings: crypto: sun8i-ce: Add compatible for D1 Maxime Ripard
2021-11-29 23:13 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).