[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260129152731.154368-1-antoniu.miclaus@analog.com>
Date: Thu, 29 Jan 2026 17:27:28 +0200
From: Antoniu Miclaus <antoniu.miclaus@...log.com>
To: Lars-Peter Clausen <lars@...afoo.de>,
Michael Hennerich
<Michael.Hennerich@...log.com>,
Antoniu Miclaus <antoniu.miclaus@...log.com>,
Jonathan Cameron <jic23@...nel.org>,
David Lechner <dlechner@...libre.com>,
Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko
<andy@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski
<krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, <linux-iio@...r.kernel.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH 0/2] iio: adc: ad4080: add support for AD4880 dual-channel ADC
Add support for the AD4880, a dual-channel 20-bit 40MSPS SAR ADC from
the same family as AD4080.
The AD4880 has two independent ADC channels, each with its own SPI
configuration interface and LVDS data output. The driver uses
spi_new_ancillary_device() for the second channel's SPI and requires
two io-backend instances for the data interfaces.
Driver changes:
- Extend state structure with arrays for regmaps, backends, and SPI devices
- Refactor setup into per-channel function
- Make filter_type, sampling_frequency, and oversampling_ratio per-channel
- Add update_scan_mode callback for multi-channel buffer handling
Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ad4880.pdf
Antoniu Miclaus (2):
dt-bindings: iio: adc: ad4080: add AD4880 support
iio: adc: ad4080: add support for AD4880 dual-channel ADC
.../bindings/iio/adc/adi,ad4080.yaml | 49 +++-
drivers/iio/adc/ad4080.c | 236 +++++++++++++-----
2 files changed, 220 insertions(+), 65 deletions(-)
--
2.43.0
Powered by blists - more mailing lists