Skip to content

Commit 5a19e19

Browse files
dlechbroonie
authored andcommitted
spi: axi-spi-engine: implement offload support
Implement SPI offload support for the AXI SPI Engine. Currently, the hardware only supports triggering offload transfers with a hardware trigger so attempting to use an offload message in the regular SPI message queue will fail. Also, only allows streaming rx data to an external sink, so attempts to use a rx_buf in the offload message will fail. Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Nuno Sa <nuno.sa@analog.com> Signed-off-by: David Lechner <dlechner@baylibre.com> Link: https://patch.msgid.link/20250207-dlech-mainline-spi-engine-offload-2-v8-7-e48a489be48c@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent e110137 commit 5a19e19

2 files changed

Lines changed: 309 additions & 7 deletions

File tree

drivers/spi/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ config SPI_AU1550
179179
config SPI_AXI_SPI_ENGINE
180180
tristate "Analog Devices AXI SPI Engine controller"
181181
depends on HAS_IOMEM
182+
select SPI_OFFLOAD
182183
help
183184
This enables support for the Analog Devices AXI SPI Engine SPI controller.
184185
It is part of the SPI Engine framework that is used in some Analog Devices

0 commit comments

Comments
 (0)