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

From: Antoniu Miclaus
Date: Tue Nov 02 2021 - 10:00:19 EST


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