Thread (4 messages) flat view 4 messages, 3 authors, 2021-11-22

Re: [PATCH] dt-bindings: crypto: Add optional dma properties

From: Jernej Škrabec <jernej.skrabec@gmail.com>
Date: 2021-11-16 16:13:31
Also in: linux-arm-kernel, linux-devicetree, linux-sunxi

Hi Maxime,

Dne torek, 16. november 2021 ob 15:32:55 CET je Maxime Ripard napisal(a):
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 <redacted>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>

Best regards,
Jernej
quoted hunk ↗ jump to hunk
---
 .../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
quoted hunk ↗ jump to hunk
index 0429fb774f10..dedc99e34ebc 100644
--- a/Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-
crypto.yaml
quoted hunk ↗ jump to hunk
+++ b/Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-
crypto.yaml
quoted hunk ↗ jump to hunk
@@ -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
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help