mbox series

[v2,0/2] iio: adc: Add driver support for AD7292

Message ID 20191016025051.bstkghi4ug4upxvr@smtp.gmail.com (mailing list archive)
Headers show
Series iio: adc: Add driver support for AD7292 | expand

Message

Marcelo Schmitt Oct. 16, 2019, 2:50 a.m. UTC
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