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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 10 Feb 2025 13:09:59 -0600
David Lechner <dlechner@xxxxxxxxxxxx> 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@xxxxxxxxx/
> 
> >  	select IIO_TRIGGERED_BUFFER
> >  	help  
> 
> 





[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux