2021-11-05 16:01:35

by Antoniu Miclaus

[permalink] [raw]
Subject: [PATCH 0/2] Add support for AD7293 Power Amplifier

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

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

--
2.33.1


2021-11-13 18:12:56

by Jonathan Cameron

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

On Fri, 5 Nov 2021 13:29:27 +0200
Antoniu Miclaus <[email protected]> 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
>