[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20191016025051.bstkghi4ug4upxvr@smtp.gmail.com>
Date: Tue, 15 Oct 2019 23:50:54 -0300
From: Marcelo Schmitt <marcelo.schmitt1@...il.com>
To: jic23@...nel.org
Cc: dragos.bogdan@...log.com, alexandru.ardelean@...log.com,
linux-kernel@...r.kernel.org, linux-iio@...r.kernel.org,
kernel-usp@...glegroups.com
Subject: [PATCH v2 0/2] iio: adc: Add driver support for AD7292
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
Powered by blists - more mailing lists