[PATCH] iio: dac: ad5446: Add ID of compatible Texas Instruments i2c dac121c*

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Philippe De Muyter <phdm@xxxxxxxxx>

The Texas Instruments DAC121C* chips are the I2C counterparts of
the DAC121S* SPI chips which are already supported by this ad5446 driver.

Add them to the compatible list.

Signed-off-by: Philippe De Muyter <phdm@xxxxxxxxx>
Cc: Lars-Peter Clausen <lars@xxxxxxxxxx>
Cc: Michael Hennerich <Michael.Hennerich@xxxxxxxxxx>
Cc: Jonathan Cameron <jic23@xxxxxxxxxx>
---
 drivers/iio/dac/ad5446.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iio/dac/ad5446.c b/drivers/iio/dac/ad5446.c
index aa3130b33456..b95c0ccbb796 100644
--- a/drivers/iio/dac/ad5446.c
+++ b/drivers/iio/dac/ad5446.c
@@ -587,6 +587,7 @@ static const struct i2c_device_id ad5446_i2c_ids[] = {
 	{"ad5602", ID_AD5602},
 	{"ad5612", ID_AD5612},
 	{"ad5622", ID_AD5622},
+	{"dac121", ID_AD5622}, /* 'ti,' is dropped by 'of_modalias_node' */
 	{}
 };
 MODULE_DEVICE_TABLE(i2c, ad5446_i2c_ids);
-- 
2.31.1




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux