aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/iio/dac/ad5446.c
diff options
context:
space:
mode:
authorLukas Wunner <lukas@wunner.de>2017-09-05 11:44:00 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-09-13 17:49:57 +0100
commit9cad3b9854e3a0961557059e149876dd05615170 (patch)
tree8eec750d8b7b07c9818079950a81ca701c2143b9 /drivers/iio/dac/ad5446.c
parentdt-bindings: iio: pressure: add LPS33HW and LPS35HW device bindings (diff)
downloadwireguard-linux-9cad3b9854e3a0961557059e149876dd05615170.tar.xz
wireguard-linux-9cad3b9854e3a0961557059e149876dd05615170.zip
iio: dac: ad5446: Add IDs of compatible Texas Instruments chips
The Texas Instruments DAC081S101, DAC101S101 and DAC121S101 have the exact same pinout, programming interface and power-down modes as the AD5300, AD5310 and AD5320, respectively, and their datasheets declare them "a direct replacement" for the Analog Devices chips. This may not be immediately obvious to a casual observer, so add them to the supported modalias strings. Datasheets: http://www.ti.com/lit/ds/symlink/dac081s101.pdf http://www.ti.com/lit/ds/symlink/dac101s101.pdf http://www.ti.com/lit/ds/symlink/dac121s101.pdf http://www.analog.com/media/en/technical-documentation/data-sheets/AD5300.pdf http://www.analog.com/media/en/technical-documentation/data-sheets/AD5310.pdf http://www.analog.com/media/en/technical-documentation/data-sheets/AD5320.pdf Signed-off-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/dac/ad5446.c')
-rw-r--r--drivers/iio/dac/ad5446.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/iio/dac/ad5446.c b/drivers/iio/dac/ad5446.c
index c6c22f3520eb..3f6465de39de 100644
--- a/drivers/iio/dac/ad5446.c
+++ b/drivers/iio/dac/ad5446.c
@@ -460,6 +460,9 @@ static const struct spi_device_id ad5446_spi_ids[] = {
{"ad5660-2500", ID_AD5660_2500},
{"ad5660-1250", ID_AD5660_1250},
{"ad5662", ID_AD5662},
+ {"dac081s101", ID_AD5300}, /* compatible Texas Instruments chips */
+ {"dac101s101", ID_AD5310},
+ {"dac121s101", ID_AD5320},
{}
};
MODULE_DEVICE_TABLE(spi, ad5446_spi_ids);