summaryrefslogtreecommitdiff
path: root/drivers/iio/dac/ad5686-spi.c
diff options
context:
space:
mode:
authorMircea Caprioru <mircea.caprioru@analog.com>2019-01-09 12:14:16 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-01-12 21:58:21 +0300
commit192778fb969c2b9bc33d559b9c7aecdd1498c1ba (patch)
tree2766aa48bdf4278ea4e74a1ecc252319370ae055 /drivers/iio/dac/ad5686-spi.c
parente717f8c6dfec8f76be032fc2a7516de6e31a56a1 (diff)
downloadlinux-192778fb969c2b9bc33d559b9c7aecdd1498c1ba.tar.xz
iio: dac: ad5686: Add support for AD5674R/AD5679R
The AD5674R/AD5679R are low power, 16-channel, 12-/16-bit buffered voltage output digital-to-analog converters (DACs). They include a 2.5 V internal reference (enabled by default). These devices are very similar to AD5684R/AD5686R, except that they have 16 channels. Signed-off-by: Mircea Caprioru <mircea.caprioru@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/dac/ad5686-spi.c')
-rw-r--r--drivers/iio/dac/ad5686-spi.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/iio/dac/ad5686-spi.c b/drivers/iio/dac/ad5686-spi.c
index 665fa6bd9ced..4d857c8da2d2 100644
--- a/drivers/iio/dac/ad5686-spi.c
+++ b/drivers/iio/dac/ad5686-spi.c
@@ -1,7 +1,8 @@
// SPDX-License-Identifier: GPL-2.0+
/*
- * AD5672R, AD5676, AD5676R, AD5681R, AD5682R, AD5683, AD5683R,
- * AD5684, AD5684R, AD5685R, AD5686, AD5686R
+ * AD5672R, AD5674R, AD5676, AD5676R, AD5679R,
+ * AD5681R, AD5682R, AD5683, AD5683R, AD5684,
+ * AD5684R, AD5685R, AD5686, AD5686R
* Digital to analog converters driver
*
* Copyright 2018 Analog Devices Inc.
@@ -102,8 +103,10 @@ static int ad5686_spi_remove(struct spi_device *spi)
static const struct spi_device_id ad5686_spi_id[] = {
{"ad5310r", ID_AD5310R},
{"ad5672r", ID_AD5672R},
+ {"ad5674r", ID_AD5674R},
{"ad5676", ID_AD5676},
{"ad5676r", ID_AD5676R},
+ {"ad5679r", ID_AD5679R},
{"ad5681r", ID_AD5681R},
{"ad5682r", ID_AD5682R},
{"ad5683", ID_AD5683},