aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-09-04 05:10:00 -0400
committerJonathan Cameron <jic23@kernel.org>2012-09-08 05:14:46 -0400
commitbf83238019cf091a32d3a8aeddf22282af992843 (patch)
tree86da4a753e0a3ba52ec09878c5986b13c63d3c46
parent2fafbce25063ae2732f2f2d9f853f1d97145eab5 (diff)
iio:ad5446: Add device ids for ad5301/ad5311/ad5321
The ad5301/ad5311/ad5321 are software compatible to the ad5602/ad5612/ad5622. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r--drivers/iio/dac/Kconfig8
-rw-r--r--drivers/iio/dac/ad5446.c3
2 files changed, 7 insertions, 4 deletions
diff --git a/drivers/iio/dac/Kconfig b/drivers/iio/dac/Kconfig
index 7599d62eb142..78452630f85d 100644
--- a/drivers/iio/dac/Kconfig
+++ b/drivers/iio/dac/Kconfig
@@ -59,10 +59,10 @@ config AD5446
59 tristate "Analog Devices AD5446 and similar single channel DACs driver" 59 tristate "Analog Devices AD5446 and similar single channel DACs driver"
60 depends on (SPI_MASTER || I2C) 60 depends on (SPI_MASTER || I2C)
61 help 61 help
62 Say yes here to build support for Analog Devices AD5300, AD5310, AD5320, 62 Say yes here to build support for Analog Devices AD5300, AD5301, AD5310,
63 AD5444, AD5446, AD5450, AD5451, AD5452, AD5453, AD5512A, AD5541A, AD5542A, 63 AD5311, AD5320, AD5321, AD5444, AD5446, AD5450, AD5451, AD5452, AD5453,
64 AD5543, AD5553, AD5601, AD5602, AD5611, AD5612, AD5620, AD5621, AD5622, 64 AD5512A, AD5541A, AD5542A, AD5543, AD5553, AD5601, AD5602, AD5611, AD5612,
65 AD5640, AD5660, AD5662 DACs. 65 AD5620, AD5621, AD5622, AD5640, AD5660, AD5662 DACs.
66 66
67 To compile this driver as a module, choose M here: the 67 To compile this driver as a module, choose M here: the
68 module will be called ad5446. 68 module will be called ad5446.
diff --git a/drivers/iio/dac/ad5446.c b/drivers/iio/dac/ad5446.c
index 2b0968f717db..3310cbbd41e7 100644
--- a/drivers/iio/dac/ad5446.c
+++ b/drivers/iio/dac/ad5446.c
@@ -552,6 +552,9 @@ static int __devexit ad5446_i2c_remove(struct i2c_client *i2c)
552} 552}
553 553
554static const struct i2c_device_id ad5446_i2c_ids[] = { 554static const struct i2c_device_id ad5446_i2c_ids[] = {
555 {"ad5301", ID_AD5602},
556 {"ad5311", ID_AD5612},
557 {"ad5321", ID_AD5622},
555 {"ad5602", ID_AD5602}, 558 {"ad5602", ID_AD5602},
556 {"ad5612", ID_AD5612}, 559 {"ad5612", ID_AD5612},
557 {"ad5622", ID_AD5622}, 560 {"ad5622", ID_AD5622},