Skip to content

Commit 9cad3b9

Browse files
l1kjic23
authored andcommitted
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 <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 8d532d3 commit 9cad3b9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

drivers/iio/dac/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ config AD5446
6060
Say yes here to build support for Analog Devices AD5300, AD5301, AD5310,
6161
AD5311, AD5320, AD5321, AD5444, AD5446, AD5450, AD5451, AD5452, AD5453,
6262
AD5512A, AD5541A, AD5542A, AD5543, AD5553, AD5601, AD5602, AD5611, AD5612,
63-
AD5620, AD5621, AD5622, AD5640, AD5641, AD5660, AD5662 DACs.
63+
AD5620, AD5621, AD5622, AD5640, AD5641, AD5660, AD5662 DACs
64+
as well as Texas Instruments DAC081S101, DAC101S101, DAC121S101.
6465

6566
To compile this driver as a module, choose M here: the
6667
module will be called ad5446.

drivers/iio/dac/ad5446.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,9 @@ static const struct spi_device_id ad5446_spi_ids[] = {
460460
{"ad5660-2500", ID_AD5660_2500},
461461
{"ad5660-1250", ID_AD5660_1250},
462462
{"ad5662", ID_AD5662},
463+
{"dac081s101", ID_AD5300}, /* compatible Texas Instruments chips */
464+
{"dac101s101", ID_AD5310},
465+
{"dac121s101", ID_AD5320},
463466
{}
464467
};
465468
MODULE_DEVICE_TABLE(spi, ad5446_spi_ids);

0 commit comments

Comments
 (0)