Skip to content

iio: adc: ad7768-1: add SPI offload support and fixes

Jonathan Santos linux-iio lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 5 repliesIn review
  2. v13 patches 7 repliesSuperseded

Changes in v2 from the cover letter

* Refactor "fix one-shot mode data acquisition" patch and keep it for backporting
to older kernel versions.
* Instead of restricting the one-shot mode for some filter types, remove
it completely and guarantee the device is always in continuous
conversion mode.
* Add "disable IRQ autoenable" patch to fix an old CPU usage issue and to avoid unnecessary interrupts when buffering data in offload mode.
* Addressed other review comments and kernel test robot reports, see individual patches.
* Link to v1: https://lore.kernel.org/linux-iio/[email protected]/T/#t/

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4iio: adc: ad7768-1: fix one-shot mode data acquisitiondrivers/iio/adc/ad7768-1.c+7 -20 replies
2/4iio: adc: ad7768-1: remove switch to one-shot modedrivers/iio/adc/ad7768-1.c+4 -170 replies
3/4iio: adc: ad7768-1: disable IRQ autoenabledrivers/iio/adc/ad7768-1.c+17 -10 replies
4/4iio: adc: ad7768-1: add support for SPI offloaddrivers/iio/adc/Kconfig drivers/iio/adc/ad7768-1.c+185 -34 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDavid Lechner
SeriesR-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] iio: adc: ad7768-1: add SPI offload support and fixes

This series adds SPI offload support to the AD7768-1 driver and includes fixes for one-shot mode operation and IRQ management discovered during development and testing.

---
Changes in v2:
* Refactor "fix one-shot mode data acquisition" patch and keep it for backporting
to older kernel versions.
* Instead of restricting the one-shot mode for some filter types, remove
it completely and guarantee the device is always in continuous
conversion mode.
* Add "disable IRQ autoenable" patch to fix an old CPU usage issue and to avoid unnecessary interrupts when buffering data in offload mode.
* Addressed other review comments and kernel test robot reports, see individual patches.
* Link to v1: https://lore.kernel.org/linux-iio/[email protected]/T/#t/

Jonathan Santos (4):
iio: adc: ad7768-1: fix one-shot mode data acquisition
iio: adc: ad7768-1: remove switch to one-shot mode
iio: adc: ad7768-1: disable IRQ autoenable
iio: adc: ad7768-1: add support for SPI offload

 drivers/iio/adc/Kconfig    |   2 +
 drivers/iio/adc/ad7768-1.c | 220 ++++++++++++++++++++++++++++++++++---
 2 files changed, 206 insertions(+), 16 deletions(-)

base-commit: 0713b26190addfa3a774b386c8658952ef9f7faf

Signature · 1 line
2.34.1