mbox series

[v4,0/2] iio: dac: AD5770R: Add support

Message ID 20200218121031.27233-1-alexandru.tachici@analog.com (mailing list archive)
Headers show
Series iio: dac: AD5770R: Add support | expand

Message

Alexandru Tachici Feb. 18, 2020, 12:10 p.m. UTC
This series of patches adds support for the AD5570R
14-bit current DAC.

Changelog V3 -> V4:

- make use of GENMASK in defines
- added a DMA safe buffer for regmap_bulk_read/writeval
- removed of_match_ptr
- removed DVdd supply from dt bindings as the datasheet
specifies that must have same voltage as AVdd

Alexandru Tachici (2):
  iio: dac: ad5770r: Add AD5770R support
  dt-bindings: iio: dac: Add docs for AD5770R DAC

 .../bindings/iio/dac/adi,ad5770r.yaml         | 188 +++++
 drivers/iio/dac/Kconfig                       |  10 +
 drivers/iio/dac/Makefile                      |   1 +
 drivers/iio/dac/ad5770r.c                     | 695 ++++++++++++++++++
 4 files changed, 894 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml
 create mode 100644 drivers/iio/dac/ad5770r.c