summaryrefslogtreecommitdiff
path: root/drivers/iio/dac/ad5686.h
diff options
context:
space:
mode:
authorMichael Auchter <michael.auchter@ni.com>2020-09-24 22:52:12 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-10-10 18:41:09 +0300
commit7dc8faeab3e3b985bd61131ff9fb9067e91182e3 (patch)
treef8632d37ac4767cca404d186af551c717cf2dfde /drivers/iio/dac/ad5686.h
parent41f0666f0f60997dea10e716df728f330525052e (diff)
downloadlinux-7dc8faeab3e3b985bd61131ff9fb9067e91182e3.tar.xz
iio: dac: ad5686: add support for AD5338R
The AD5338R is a 10-bit DAC with 2 outputs and an internal 2.5V reference (enabled by default). The register configuration is nearly identical to the AD5696R DAC that's already supported by this driver, with the channel selection bits being the only thing different. Signed-off-by: Michael Auchter <michael.auchter@ni.com> Link: https://lore.kernel.org/r/20200924195215.49443-1-michael.auchter@ni.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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/dac/ad5686.h b/drivers/iio/dac/ad5686.h
index a15f2970577e..d9c8ba413fe9 100644
--- a/drivers/iio/dac/ad5686.h
+++ b/drivers/iio/dac/ad5686.h
@@ -52,6 +52,7 @@
enum ad5686_supported_device_ids {
ID_AD5310R,
ID_AD5311R,
+ ID_AD5338R,
ID_AD5671R,
ID_AD5672R,
ID_AD5674R,