lkml.org 
[lkml]   [2025]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v8 11/17] iio: adc: ad7944: add support for SPI offload
On Mon, 10 Feb 2025 13:09:59 -0600
David Lechner <dlechner@baylibre.com> wrote:

> 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
>
Tweaked and pushed out.

> Closes: https://lore.kernel.org/oe-kbuild-all/202502082251.NuHT15R7-lkp@intel.com/
>
> > select IIO_TRIGGERED_BUFFER
> > help
>
>


\
 
 \ /
  Last update: 2025-02-11 20:34    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog