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

Jonathan Santos posted 4 patches 1 month, 3 weeks ago
drivers/iio/adc/Kconfig    |   2 +
drivers/iio/adc/ad7768-1.c | 220 ++++++++++++++++++++++++++++++++++---
2 files changed, 206 insertions(+), 16 deletions(-)
[PATCH v2 0/4] iio: adc: ad7768-1: add SPI offload support and fixes
Posted by Jonathan Santos 1 month, 3 weeks ago
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@analog.com/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
Re: [PATCH v2 0/4] iio: adc: ad7768-1: add SPI offload support and fixes
Posted by David Lechner 1 month, 2 weeks ago
On 2/23/26 5:59 AM, Jonathan Santos wrote:
> 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.
> 
Reviewed-by: David Lechner <dlechner@baylibre.com>