Re: [PATCH 0/2] Add support for AD7293 Power Amplifier

From: Jonathan Cameron
Date: Sat Nov 13 2021 - 13:12:59 EST


On Fri, 5 Nov 2021 13:29:27 +0200
Antoniu Miclaus <antoniu.miclaus@xxxxxxxxxx> wrote:

> The AD7293 is a Power Amplifier drain current controller containing
> functionality for general-purpose monitoring and control of
> current, voltage, and temperature, integrated into a single chip
> solution with an SPI-compatible interface.
>
> Datasheet:
> https://www.analog.com/media/en/technical-documentation/data-sheets/AD7293.pdf

Wrong cover letter. This had me rather confused for a few moments as I had
two copies of this in my inbox with different patches underneath!
>
> This series of patches provide an initial implementation of the
> driver with access from the userspace to the:
> - ADC channels (read raw values, set range, set offset)
> - DAC channels (set code, set offset)
> - Temperature sensing (read raw values, set offset)
> - Current sensing (read raw, set offset, set gain)
>
> Antoniu Miclaus (2):
> iio:amplifiers:ad7293: add support for AD7293
> dt-bindings:iio:amplifiers: add ad7293 doc
>
> .../bindings/iio/amplifiers/adi,ad7293.yaml | 49 ++
> drivers/iio/amplifiers/Kconfig | 11 +
> drivers/iio/amplifiers/Makefile | 1 +
> drivers/iio/amplifiers/ad7293.c | 794 ++++++++++++++++++
> 4 files changed, 855 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/iio/amplifiers/adi,ad7293.yaml
> create mode 100644 drivers/iio/amplifiers/ad7293.c
>