dt-bindings: crypto: Add optional dma properties
authorMaxime Ripard <maxime@cerno.tech>
Tue, 16 Nov 2021 14:32:55 +0000 (15:32 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 22 Nov 2021 09:04:55 +0000 (10:04 +0100)
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>
Acked-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20211116143255.385480-1-maxime@cerno.tech
Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml

index 0429fb7..dedc99e 100644 (file)
@@ -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