summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac/ad5696-i2c.c
diff options
context:
space:
mode:
authorStefan Popa <stefan.popa@analog.com>2018-06-04 17:22:07 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-06-10 14:30:09 +0100
commitd8084a048cca85e3316c685415fd15234665b160 (patch)
tree9f456d13eeeb617570f5dc986031e31593d1de16 /drivers/iio/dac/ad5696-i2c.c
parenta591525f43e7d17dc5f94f314d30f6e4da753d7b (diff)
downloadtalos-op-linux-d8084a048cca85e3316c685415fd15234665b160.tar.gz
talos-op-linux-d8084a048cca85e3316c685415fd15234665b160.zip
iio:dac:ad5686: Add AD5311R support
AD5311R is a single channel DAC with 10-bit precision and i2c interface. The device includes a 2.5V internal reference which is enabled by default. This device is similar to AD5691R/AD5692R/AD5693/AD5693R, the only difference is that it has 10-bit precision. Datasheet: http://www.analog.com/media/en/technical-documentation/data-sheets/AD5310R_5311R.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/ad5696-i2c.c')
-rw-r--r--drivers/iio/dac/ad5696-i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/dac/ad5696-i2c.c b/drivers/iio/dac/ad5696-i2c.c
index d18735d7d938..7350d9806a11 100644
--- a/drivers/iio/dac/ad5696-i2c.c
+++ b/drivers/iio/dac/ad5696-i2c.c
@@ -71,6 +71,7 @@ static int ad5686_i2c_remove(struct i2c_client *i2c)
}
static const struct i2c_device_id ad5686_i2c_id[] = {
+ {"ad5311r", ID_AD5311R},
{"ad5671r", ID_AD5671R},
{"ad5675r", ID_AD5675R},
{"ad5691r", ID_AD5691R},
OpenPOWER on IntegriCloud