Skip to content

Commit

Permalink
iio: ad7380: add support for SPI offload
Browse files Browse the repository at this point in the history
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 <adureghello@baylibre.com>
Link: https://patch.msgid.link/20250310-wip-bl-spi-offload-ad7380-v4-1-b184b37b7c72@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
  • Loading branch information
Angelo Dureghello authored and Jonathan Cameron committed Mar 11, 2025
1 parent ee735aa commit bbeaec8
Show file tree
Hide file tree
Showing 2 changed files with 477 additions and 36 deletions.
2 changes: 2 additions & 0 deletions drivers/iio/adc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,9 @@ config AD7298
config AD7380
tristate "Analog Devices AD7380 ADC driver"
depends on SPI_MASTER
select SPI_OFFLOAD
select IIO_BUFFER
select IIO_BUFFER_DMAENGINE
select IIO_TRIGGER
select IIO_TRIGGERED_BUFFER
help
Expand Down
Loading

0 comments on commit bbeaec8

Please sign in to comment.