mbox series

[0/2] Add support for AD7293 Power Amplifier

Message ID 20211105112930.122017-1-antoniu.miclaus@analog.com (mailing list archive)
Headers show
Series Add support for AD7293 Power Amplifier | expand

Message

Antoniu Miclaus Nov. 5, 2021, 11:29 a.m. UTC
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

Comments

Jonathan Cameron Nov. 13, 2021, 6:17 p.m. UTC | #1
On Fri, 5 Nov 2021 13:29:27 +0200
Antoniu Miclaus <antoniu.miclaus@analog.com> 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
>