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

From: Jonathan Santos

Date: Mon Feb 23 2026 - 07:01:01 EST


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/cover.1769889074.git.Jonathan.Santos@xxxxxxxxxx/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
--
2.34.1