summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac/ad5686.h
diff options
context:
space:
mode:
authorStefan Popa <stefan.popa@analog.com>2018-04-11 14:53:39 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-04-15 19:39:48 +0100
commit4177381b440130ccb686712aaa09b45539114698 (patch)
tree1229f82c456251ab63ab45480655d72d6d406917 /drivers/iio/dac/ad5686.h
parent0357e488b825313db3d574137337557f404e59ed (diff)
downloadlinux-stable-4177381b440130ccb686712aaa09b45539114698.tar.gz
linux-stable-4177381b440130ccb686712aaa09b45539114698.tar.bz2
linux-stable-4177381b440130ccb686712aaa09b45539114698.zip
iio:dac:ad5686: Add AD5671R/75R/94/94R/95R/96/96R support
The AD5694/AD5694R/AD5695R/AD5696/AD5696R are a family of 4 channel DACs with 12-bit, 14-bit and 16-bit precision respectively. The devices have either no built-in reference, or built-in 2.5V reference. The AD5671R/AD5675R are similar, except that they have 8 instead of 4 channels. These devices are similar to AD5672R/AD5676/AD5676R and AD5684/AD5684R/AD5684/AD5685R/AD5686/AD5686R, except that they use i2c instead of spi. Datasheets: http://www.analog.com/media/en/technical-documentation/data-sheets/AD5671R_5675R.pdf http://www.analog.com/media/en/technical-documentation/data-sheets/AD5696R_5695R_5694R.pdf Signed-off-by: Stefan Popa <stefan.popa@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/dac/ad5686.h')
-rw-r--r--drivers/iio/dac/ad5686.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/iio/dac/ad5686.h b/drivers/iio/dac/ad5686.h
index c8e1565391ca..05f0ce9d2de1 100644
--- a/drivers/iio/dac/ad5686.h
+++ b/drivers/iio/dac/ad5686.h
@@ -39,7 +39,9 @@
* ad5686_supported_device_ids:
*/
enum ad5686_supported_device_ids {
+ ID_AD5671R,
ID_AD5672R,
+ ID_AD5675R,
ID_AD5676,
ID_AD5676R,
ID_AD5684,
@@ -47,6 +49,11 @@ enum ad5686_supported_device_ids {
ID_AD5685R,
ID_AD5686,
ID_AD5686R,
+ ID_AD5694,
+ ID_AD5694R,
+ ID_AD5695R,
+ ID_AD5696,
+ ID_AD5696R,
};
struct ad5686_state;