Thread (61 messages) 61 messages, 4 authors, 2020-05-16
STALE2253d
Revisions (5)
  1. v1 current
  2. v3 [diff vs current]
  3. v4 [diff vs current]
  4. v5 [diff vs current]
  5. v6 [diff vs current]

[PATCH 02/17] dt-bindings: spi: dw: Add DMA properties bindings

From: Serge Semin <hidden>
Date: 2020-05-08 13:30:14
Also in: linux-mips, linux-spi, lkml
Subsystem: open firmware and flattened device tree bindings, spi subsystem, the rest · Maintainers: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Mark Brown, Linus Torvalds

Since DW SPI controller may use DW DMA engine to perform the CPU-less
Tx/Rx SPI transfers and the DW SPI driver now supports it, lets alter
the DW SPI bindings file to accept the Rx and Tx DMA line specifiers.

Signed-off-by: Serge Semin <redacted>
Cc: Georgy Vlasov <redacted>
Cc: Ramil Zaripov <redacted>
Cc: Alexey Malahov <redacted>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <redacted>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Allison Randal <redacted>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Gareth Williams <redacted>
Cc: linux-mips@vger.kernel.org
---
 .../devicetree/bindings/spi/snps,dw-apb-ssi.yaml       | 10 ++++++++++
 1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml
index e2f6d8aa6181..454208842084 100644
--- a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml
+++ b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml
@@ -73,6 +73,16 @@ properties:
     minimum: 1
     maximum: 4
 
+  dmas:
+    items:
+      - description: TX DMA Channel
+      - description: RX DMA Channel
+
+  dma-names:
+    items:
+      - const: tx
+      - const: rx
+
 patternProperties:
   "^.*@[0-9a-f]+$":
     type: object
-- 
2.25.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