Skip to content

Commit bbeaec8

Browse files
spectrum70jic23
authored andcommitted
iio: ad7380: add support for SPI offload
Add support for SPI offload to the ad7380 driver. SPI offload allows sampling data at the max sample rate (2MSPS with one SDO line). This is developed and tested against the ADI example FPGA design for this family of ADCs [1]. [1]: http://analogdevicesinc.github.io/hdl/projects/ad738x_fmc/index.html Signed-off-by: Angelo Dureghello <[email protected]> Link: https://patch.msgid.link/20250310-wip-bl-spi-offload-ad7380-v4-1-b184b37b7c72@baylibre.com Signed-off-by: Jonathan Cameron <[email protected]>
1 parent ee735aa commit bbeaec8

File tree

2 files changed

+477
-36
lines changed

2 files changed

+477
-36
lines changed

drivers/iio/adc/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,9 @@ config AD7298
228228
config AD7380
229229
tristate "Analog Devices AD7380 ADC driver"
230230
depends on SPI_MASTER
231+
select SPI_OFFLOAD
231232
select IIO_BUFFER
233+
select IIO_BUFFER_DMAENGINE
232234
select IIO_TRIGGER
233235
select IIO_TRIGGERED_BUFFER
234236
help

0 commit comments

Comments
 (0)