[PATCH v2 0/2] iio: adc: Add driver support for AD7292
From: Marcelo Schmitt
Date: Tue Oct 15 2019 - 22:51:01 EST
This patchset adds a basic driver for the AD7292 ADC/DAC system along
with device tree binding documentation.
Changelog V2:
- made SPI rx/tx buffers separated fields in the state struct
- adjusted spi_transfer tx_buf pointer
- at probe, stored vref supply for later reference
- removed regulator_get_voltage() from read_raw() INFO_SCALE
- added a comment to make clear when internal voltage reference will be used
- use standard channel definition to specify the ADC channels in dt-binding doc
Marcelo Schmitt (2):
iio: adc: Add driver support for AD7292
dt-bindings: iio: adc: Add DT docs for AD7292
.../bindings/iio/adc/adi,ad7292.yaml | 107 ++++++
MAINTAINERS | 8 +
drivers/iio/adc/Kconfig | 10 +
drivers/iio/adc/Makefile | 1 +
drivers/iio/adc/ad7292.c | 350 ++++++++++++++++++
5 files changed, 476 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
create mode 100644 drivers/iio/adc/ad7292.c
--
2.23.0