This set adds high speed data capture with AD4030/AD4630 and similar ADCs. It
also adds support for ADAQ4216 and ADAQ4224.
Change log v7 -> v8
Rebased on top of spi-multi-lane change set [1].
Requires ("units: Add HZ_PER_GHZ") patch to build [2].
[1]: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-multi-lane
[2]: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/include/linux/units.h?h=next-20260204&id=5083dba0fde5446c00ee1a82a3911c8f88a2c72e
[DT]
- Fixed issues reported by dt_binding_check.
[IIO]
- Added comment in the list of available average modes to prevent regrouping in the future.
- Minor tidy up for macro consistency and fewer blank lines.
- Reuse dev pointer in probe().
- Refactor to check -ENODEV only once.
- Grouped includes for features from IIO subsystem.
- Downgraded offload_period_ns type and use DIV_ROUND_UP() instead of DIV_ROUND_UP_ULL().
- Use HZ_PER_GHZ.
Link to v7: https://lore.kernel.org/linux-iio/cover.1770309522.git.marcelo.schmitt@analog.com/T/#mc0285fb4750e57582f96584dd98d90163521c7b8
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 | 64 ++
Documentation/iio/ad4030.rst | 39 ++
drivers/iio/adc/Kconfig | 5 +
drivers/iio/adc/ad4030.c | 642 +++++++++++++++++-
4 files changed, 727 insertions(+), 23 deletions(-)
base-commit: 0ec5ed7c95d1ba6a74491928ff38abb351dbed36
prerequisite-patch-id: f3b2f63f86731322c9b10e1bae0952a12219258a
--
2.39.2