Thread (3 messages) 3 messages, 3 authors, 2016-03-28

Re: [PATCH v5] iio: dac: Add support for the AD5592R/AD5593R ADCs/DACs

From: Rob Herring <robh@kernel.org>
Date: 2016-03-23 15:15:20
Also in: linux-gpio, linux-iio

On Wed, Mar 23, 2016 at 09:19:55AM +0100, michael.hennerich@analog.com wrote:
From: Paul Cercueil <redacted>

This patch adds support for the AD5592R (spi) and AD5593R (i2c)
ADC/DAC/GPIO devices.

Signed-off-by: Paul Cercueil <redacted>
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>

---

Changes since v1:
	* Fix mutex usage
	* Remove unnecessary NULL pointer guards
	* Add comment explaining the invalid data read
	* AD5593R Remove surplus adc readback

Changes since v2:
	* Use child nodes to describe channels
	* Fix probe return and driver remove path
	* Move locking closer to where its used
	* Remove WARN_ON but return error
	* Remove OPEN DRAIN configuration option

Changes since v3:
	* Documentation: Add missing vendor prefixes in the examples
	* Minor function reordering in remove() to match the reverse of probe()

Changes since v4:
	* Documentation: Add missing gpio bindings
	* Kconfig: Select GPIOLIB and remove ifdefs in code
	* Remove surplus error check in ad5592r_gpio_request()
	* Add comment about reset magic
---
 .../devicetree/bindings/iio/dac/ad5592r.txt        | 152 +++++
Acked-by: Rob Herring <robh@kernel.org>
 drivers/iio/dac/Kconfig                            |  27 +
 drivers/iio/dac/Makefile                           |   3 +
 drivers/iio/dac/ad5592r-base.c                     | 694 +++++++++++++++++++++
 drivers/iio/dac/ad5592r-base.h                     |  78 +++
 drivers/iio/dac/ad5592r.c                          | 164 +++++
 drivers/iio/dac/ad5593r.c                          | 131 ++++
 include/dt-bindings/iio/adi,ad5592r.h              |  16 +
 8 files changed, 1265 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/dac/ad5592r.txt
 create mode 100644 drivers/iio/dac/ad5592r-base.c
 create mode 100644 drivers/iio/dac/ad5592r-base.h
 create mode 100644 drivers/iio/dac/ad5592r.c
 create mode 100644 drivers/iio/dac/ad5593r.c
 create mode 100644 include/dt-bindings/iio/adi,ad5592r.h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help