Skip to content

Commit 8e875f8

Browse files
dlechnunojsa
authored andcommitted
iio: adc: ad7944: add support for SPI offload
Add support for SPI offload to the ad7944 driver. This allows reading data at the max sample rate of 2.5 MSPS. 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-11-e48a489be48c@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
1 parent 2de7a70 commit 8e875f8

File tree

2 files changed

+278
-16
lines changed

2 files changed

+278
-16
lines changed

drivers/iio/adc/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,9 @@ config AD7923
381381
config AD7944
382382
tristate "Analog Devices AD7944 and similar ADCs driver"
383383
depends on SPI
384+
select SPI_OFFLOAD
385+
select IIO_BUFFER
386+
select IIO_TRIGGERED_BUFFER
384387
help
385388
Say yes here to build support for Analog Devices
386389
AD7944, AD7985, AD7986 ADCs.

0 commit comments

Comments
 (0)