Re: [PATCH v8 11/17] iio: adc: ad7944: add support for SPI offload

From: David Lechner
Date: Mon Feb 10 2025 - 14:10:18 EST


On 2/7/25 2:09 PM, David Lechner wrote:
> Add support for SPI offload to the ad7944 driver. This allows reading
> data at the max sample rate of 2.5 MSPS.
>

...

> ---
> drivers/iio/adc/Kconfig | 1 +
> drivers/iio/adc/ad7944.c | 291 ++++++++++++++++++++++++++++++++++++++++++++---
> 2 files changed, 276 insertions(+), 16 deletions(-)
>
> diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
> index a3e8ac569ce4c6b6b30b48acb265d530aa98e89c..995b9cacbaa964d26424346120c139858f93cdcd 100644
> --- a/drivers/iio/adc/Kconfig
> +++ b/drivers/iio/adc/Kconfig
> @@ -360,6 +360,7 @@ config AD7923
> config AD7944
> tristate "Analog Devices AD7944 and similar ADCs driver"
> depends on SPI
> + select SPI_OFFLOAD
> select IIO_BUFFER

I missed adding

select IIO_BUFFER_DMAENGINE

Closes: https://lore.kernel.org/oe-kbuild-all/202502082251.NuHT15R7-lkp@xxxxxxxxx/

> select IIO_TRIGGERED_BUFFER
> help