Skip to content

Commit 501aceb

Browse files
dlechnunojsa
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 a8b2263 commit 501aceb

File tree

2 files changed

+309
-7
lines changed

2 files changed

+309
-7
lines changed

drivers/spi/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ config SPI_AU1550
158158
config SPI_AXI_SPI_ENGINE
159159
tristate "Analog Devices AXI SPI Engine controller"
160160
depends on HAS_IOMEM
161+
select SPI_OFFLOAD
161162
help
162163
This enables support for the Analog Devices AXI SPI Engine SPI controller.
163164
It is part of the SPI Engine framework that is used in some Analog Devices

0 commit comments

Comments
 (0)