lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250211193242.6c9a6740@jic23-huawei>
Date: Tue, 11 Feb 2025 19:32:42 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: David Lechner <dlechner@...libre.com>
Cc: Mark Brown <broonie@...nel.org>, Rob Herring <robh@...nel.org>,
 Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley
 <conor+dt@...nel.org>, Nuno Sá <nuno.sa@...log.com>, Uwe
 Kleine-König <ukleinek@...nel.org>, Michael Hennerich
 <Michael.Hennerich@...log.com>, Lars-Peter Clausen <lars@...afoo.de>, David
 Jander <david@...tonic.nl>, Martin Sperl <kernel@...tin.sperl.org>,
 linux-spi@...r.kernel.org, devicetree@...r.kernel.org,
 linux-kernel@...r.kernel.org, linux-iio@...r.kernel.org, Jonathan Cameron
 <Jonathan.Cameron@...wei.com>
Subject: Re: [PATCH v8 11/17] iio: adc: ad7944: add support for SPI offload

On Mon, 10 Feb 2025 13:09:59 -0600
David Lechner <dlechner@...libre.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  
> 
> 


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ