| From: |
| Rodrigo Alencar via B4 Relay <devnull+rodrigo.alencar.analog.com-AT-kernel.org> |
| To: |
| linux-kernel-AT-vger.kernel.org, linux-iio-AT-vger.kernel.org, devicetree-AT-vger.kernel.org |
| Subject: |
| [PATCH v3 0/9] iio: amplifiers: ad8366: driver update and dt support |
| Date: |
| Tue, 03 Feb 2026 11:24:06 +0000 |
| Message-ID: |
| <20260203-iio-ad8366-update-v3-0-5d5636b5181a@analog.com> |
| Cc: |
| Michael Hennerich <Michael.Hennerich-AT-analog.com>, Lars-Peter Clausen <lars-AT-metafoo.de>, Jonathan Cameron <jic23-AT-kernel.org>, David Lechner <dlechner-AT-baylibre.com>, Andy Shevchenko <andy-AT-kernel.org>, Rob Herring <robh-AT-kernel.org>, Krzysztof Kozlowski <krzk+dt-AT-kernel.org>, Conor Dooley <conor+dt-AT-kernel.org>, Rodrigo Alencar <rodrigo.alencar-AT-analog.com>, Alexandru Ardelean <alexandru.ardelean-AT-analog.com> |
| Archive-link: |
| Article |
This patch series updates the AD8366 amplifier/attenuator driver with
modern device resource management, including support for additional
device variants.
Adds support for multiple digital step attenuators:
- ADRF5720: 0.5 dB LSB, 6-Bit, Digital Attenuator, 9 kHz to 40 GHz
- ADRF5730: 0.5 dB LSB, 6-Bit, Digital Attenuator, 100 MHz to 40 GHz
- ADRF5731: 2 dB LSB, 4-Bit, Digital Attenuator, 100 MHz to 40 GHz
- HMC271A: 1 dB LSB, 5-bit, Digital Attenuator, 0.7 - 3.7 GHz
- HMC1018A: 1.0 dB LSB GaAs MMIC 5-BIT DIGITAL ATTENUATOR, 0.1 - 30 GHz
- HMC1019A: 0.5 dB LSB GaAs MMIC 5-BIT DIGITAL ATTENUATOR, 0.1 - 30 GHz
Device Tree Support:
- Adds device tree binding documentation
- Adds device tree compatible strings for all supported devices
- Favor chip info tables over device type.
Signed-off-by: Rodrigo Alencar <rodrigo.alencar@analog.com>
---
Changes in v3:
- Add compatible checks for dt-binding gpio properties.
- Remove reset and enable gpio from device state struct.
- Split refactoring commits.
- Drop part of the refactoring in favor of a cleaner diff.
- Get included header files sorted.
- Link to v2: https://lore.kernel.org/r/20260126-iio-ad8366-update-v2-0...
Changes in v2:
- Reorganize commits with cleanups before features.
- Link to v1: https://lore.kernel.org/r/20260119-iio-ad8366-update-v1-0...
---
Rodrigo Alencar (9):
MAINTAINERS: Add missing maintainer entry for AD8366 driver
dt-bindings: iio: amplifiers: Add AD8366 support
iio: amplifiers: ad8366: use devm_mutex_init() and drop mutex_init()
iio: amplifiers: ad8366: drop reset_gpio from private struct
iio: amplifiers: ad8366: refactor device resource management
iio: amplifiers: ad8366: sort header includes
iio: amplifiers: ad8366: add device tree support
iio: amplifiers: ad8366: consume enable gpio
iio: amplifiers: ad8366: Update device support
.../bindings/iio/amplifiers/adi,ad8366.yaml | 97 ++++++
MAINTAINERS | 9 +
drivers/iio/amplifiers/Kconfig | 6 +
drivers/iio/amplifiers/ad8366.c | 362 +++++++++++----------
4 files changed, 297 insertions(+), 177 deletions(-)
---
base-commit: 62b44ebc1f2c71db3ca2d4737c52e433f6f03038
change-id: 20251121-iio-ad8366-update-56abac58bbca
Best regards,
--
Rodrigo Alencar <rodrigo.alencar@analog.com>