|
|
Log in / Subscribe / Register

Add SPI offload support to AD4030

From:  Marcelo Schmitt <marcelo.schmitt-AT-analog.com>
To:  <linux-iio-AT-vger.kernel.org>, <devicetree-AT-vger.kernel.org>, <linux-doc-AT-vger.kernel.org>, <linux-kernel-AT-vger.kernel.org>
Subject:  [PATCH v6 0/8] Add SPI offload support to AD4030
Date:  Mon, 20 Oct 2025 16:13:12 -0300
Message-ID:  <cover.1760984107.git.marcelo.schmitt@analog.com>
Cc:  <jic23-AT-kernel.org>, <michael.hennerich-AT-analog.com>, <nuno.sa-AT-analog.com>, <eblanc-AT-baylibre.com>, <dlechner-AT-baylibre.com>, <andy-AT-kernel.org>, <robh-AT-kernel.org>, <krzk+dt-AT-kernel.org>, <conor+dt-AT-kernel.org>, <corbet-AT-lwn.net>, <marcelo.schmitt1-AT-gmail.com>
Archive-link:  Article

Hi,

Thanks for all reviews and suggestions to v5.
I believe to have addressed them all and here comes v6.

Change log v5 -> v6
[DT]
- Picked up Conor's review tag.
[IIO]
- Adjusted comment on list of average modes.
- Dropped link associated with Suggested-by tag.
- Fixed IIO device number of channels in base offload support patch for AD4030.
- Dropped st->offload_trigger check in paths only reachable with offload support.
- Adjusted comment about sample averaging and sampling frequency configurations.
- Dropped redundant parentheses on declaration of ADAQ hw gain table.
- Dropped unneeded cast to u64.
- Use constant for number of ADAQ PGA pins in error message.
- Picked up review tags.
- Re-added common-mode channel for offload setups in a separate patch.

There is a patch to the SPI subsystem [1] that contains a feature required by
AD4030 offload support.

[1]: https://lore.kernel.org/linux-spi/cd315e95c0bd8523f00e91c...

When that patch become available in an immutable branch or similar, I'll gladly
rebase this series on top of that.

Thanks,
Marcelo


Marcelo Schmitt (8):
  dt-bindings: iio: adc: adi,ad4030: Reference spi-peripheral-props
  Docs: iio: ad4030: Add double PWM SPI offload doc
  dt-bindings: iio: adc: adi,ad4030: Add PWM
  iio: adc: ad4030: Use BIT macro to improve code readability
  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          |  76 +-
 Documentation/iio/ad4030.rst                  |  39 ++
 drivers/iio/adc/Kconfig                       |   5 +
 drivers/iio/adc/ad4030.c                      | 658 +++++++++++++++++-
 4 files changed, 753 insertions(+), 25 deletions(-)


base-commit: 4b17a60d1e1c2d9d2ccbd58642f6f4ac2fa364ba
-- 
2.39.2




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds