]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
spi: dw: Add Tx/Rx DMA properties
authorSerge Semin <Sergey.Semin@baikalelectronics.ru>
Fri, 15 May 2020 10:47:40 +0000 (13:47 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 15 May 2020 17:54:11 +0000 (18:54 +0100)
Since commit 22d48ad7bfac ("spi: dw: Add Elkhart Lake PSE DMA support")
the spi-dw-mid.c module supports a platform DMA engine handling the DW APB
SSI controller requests. Lets alter the DW SPI bindings file to accept the
Rx and Tx DMA line specifiers.

Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Cc: Georgy Vlasov <Georgy.Vlasov@baikalelectronics.ru>
Cc: Ramil Zaripov <Ramil.Zaripov@baikalelectronics.ru>
Cc: Alexey Malahov <Alexey.Malahov@baikalelectronics.ru>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Allison Randal <allison@lohutok.net>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Gareth Williams <gareth.williams.jx@renesas.com>
Cc: linux-mips@vger.kernel.org
Link: https://lore.kernel.org/r/20200515104758.6934-2-Sergey.Semin@baikalelectronics.ru
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.txt

index 7a4702edf8963fd6bffc3e6ae6cbbb1fda4e5834..020e3168ee41545f510a6742b3f2c7572d8a31d7 100644 (file)
@@ -23,6 +23,8 @@ Optional properties:
 - num-cs : The number of chipselects. If omitted, this will default to 4.
 - reg-io-width : The I/O register width (in bytes) implemented by this
   device.  Supported values are 2 or 4 (the default).
+- dmas : Phandle + identifiers of Tx and Rx DMA channels.
+- dma-names : Contains the names of the DMA channels. Must be "tx" and "rx".
 
 Child nodes as per the generic SPI binding.