[PATCH v10 0/6] Add SPI offload support to AD4030

Marcelo Schmitt posted 6 patches 1 month, 1 week ago
.../bindings/iio/adc/adi,ad4030.yaml          |  62 ++
Documentation/iio/ad4030.rst                  |  39 ++
drivers/iio/adc/Kconfig                       |   5 +
drivers/iio/adc/ad4030.c                      | 641 +++++++++++++++++-
4 files changed, 726 insertions(+), 21 deletions(-)
[PATCH v10 0/6] Add SPI offload support to AD4030
Posted by Marcelo Schmitt 1 month, 1 week ago
Hello,

This is v10 of high speed data capture support for AD4030/AD4630 and similar ADCs.
It also adds support for ADAQ4216 and ADAQ4224.

Rebased on top of IIO testing.

Looks like a devm_pwm_get_disabled() interface might not get accepted so I
didn't change the handling of PWM initialization on v10.

Change log v9 -> v10
[DT]
- No changes.
[IIO]
- Explained the need of PWM in commint message.
- Fixed off-by-one bug.
- Use in-loop counter declaration.
- Correctly prepared patches, dropping unsupported bindings for input gain control.
- Skipped the patches applied from previous version.
- Initialize iio_scan_type struct fields on same order they are on structure definition.

Link to v9: https://lore.kernel.org/linux-iio/cover.1771253601.git.marcelo.schmitt@analog.com/

Thanks,
Marcelo

Marcelo Schmitt (6):
  Docs: iio: ad4030: Add double PWM SPI offload doc
  dt-bindings: iio: adc: adi,ad4030: Add PWM
  iio: adc: ad4030: Add SPI offload support
  dt-bindings: iio: adc: adi,ad4030: Add ADAQ4216 and ADAQ4224
  iio: adc: ad4030: Add support for ADAQ4216 and ADAQ4224
  iio: adc: ad4030: Support common-mode channels with SPI offloading

 .../bindings/iio/adc/adi,ad4030.yaml          |  62 ++
 Documentation/iio/ad4030.rst                  |  39 ++
 drivers/iio/adc/Kconfig                       |   5 +
 drivers/iio/adc/ad4030.c                      | 641 +++++++++++++++++-
 4 files changed, 726 insertions(+), 21 deletions(-)


base-commit: 0be8a2716187607daaa8ba80687a926438d88432
-- 
2.39.2
Re: [PATCH v10 0/6] Add SPI offload support to AD4030
Posted by Jonathan Cameron 1 month ago
On Mon, 23 Feb 2026 14:08:50 -0300
Marcelo Schmitt <marcelo.schmitt@analog.com> wrote:

> Hello,
> 
> This is v10 of high speed data capture support for AD4030/AD4630 and similar ADCs.
> It also adds support for ADAQ4216 and ADAQ4224.
> 
> Rebased on top of IIO testing.
Series applied to the togreg branch of iio.git and pushed out as testing.

Thanks!

J

> 
> Looks like a devm_pwm_get_disabled() interface might not get accepted so I
> didn't change the handling of PWM initialization on v10.
> 
> Change log v9 -> v10
> [DT]
> - No changes.
> [IIO]
> - Explained the need of PWM in commint message.
> - Fixed off-by-one bug.
> - Use in-loop counter declaration.
> - Correctly prepared patches, dropping unsupported bindings for input gain control.
> - Skipped the patches applied from previous version.
> - Initialize iio_scan_type struct fields on same order they are on structure definition.
> 
> Link to v9: https://lore.kernel.org/linux-iio/cover.1771253601.git.marcelo.schmitt@analog.com/
> 
> Thanks,
> Marcelo
> 
> Marcelo Schmitt (6):
>   Docs: iio: ad4030: Add double PWM SPI offload doc
>   dt-bindings: iio: adc: adi,ad4030: Add PWM
>   iio: adc: ad4030: Add SPI offload support
>   dt-bindings: iio: adc: adi,ad4030: Add ADAQ4216 and ADAQ4224
>   iio: adc: ad4030: Add support for ADAQ4216 and ADAQ4224
>   iio: adc: ad4030: Support common-mode channels with SPI offloading
> 
>  .../bindings/iio/adc/adi,ad4030.yaml          |  62 ++
>  Documentation/iio/ad4030.rst                  |  39 ++
>  drivers/iio/adc/Kconfig                       |   5 +
>  drivers/iio/adc/ad4030.c                      | 641 +++++++++++++++++-
>  4 files changed, 726 insertions(+), 21 deletions(-)
> 
> 
> base-commit: 0be8a2716187607daaa8ba80687a926438d88432