devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: crypto: Add optional dma properties
@ 2021-11-16 14:32 Maxime Ripard
  2021-11-16 16:13 ` Jernej Škrabec
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Maxime Ripard @ 2021-11-16 14:32 UTC (permalink / raw)
  To: Herbert Xu, David S . Miller, Rob Herring, Frank Rowand
  Cc: devicetree, Chen-Yu Tsai, Maxime Ripard, Jernej Škrabec,
	linux-sunxi, linux-arm-kernel, linux-crypto

Some platforms, like the v3s, have DMA channels assigned to the crypto
engine, which were in the DTSI but were never documented.

Let's make sure they are.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
---
 .../bindings/crypto/allwinner,sun4i-a10-crypto.yaml    | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml b/Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml
index 0429fb774f10..dedc99e34ebc 100644
--- a/Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml
+++ b/Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml
@@ -44,6 +44,16 @@ properties:
       - const: ahb
       - const: mod
 
+  dmas:
+    items:
+      - description: RX DMA Channel
+      - description: TX DMA Channel
+
+  dma-names:
+    items:
+      - const: rx
+      - const: tx
+
   resets:
     maxItems: 1
 
-- 
2.33.1


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

end of thread, other threads:[~2021-11-22  9:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-16 14:32 [PATCH] dt-bindings: crypto: Add optional dma properties Maxime Ripard
2021-11-16 16:13 ` Jernej Škrabec
2021-11-18 18:19 ` Corentin Labbe
2021-11-22  9:07 ` Maxime Ripard

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).