diff options
| author | Michael Hennerich <michael.hennerich@analog.com> | 2025-11-04 15:35:17 +0000 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-11-09 16:32:29 +0000 |
| commit | 826ccaecbe06b9626bbc1863f892485e62af5813 (patch) | |
| tree | 7e9431ece45dc92f0d420c3a62a05586f0ae01e5 /drivers/iio | |
| parent | 8265cc284dc619aefb49fb07dde436bb3e8b52e3 (diff) | |
iio: dac: ad5446: Add AD5542 to the spi id table
This adds support for the AD5542 single channel Current Source and
Voltage Output DACs.
It is similar to the AD5542A model so just use the same id.
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Co-developed-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio')
| -rw-r--r-- | drivers/iio/dac/ad5446-spi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/dac/ad5446-spi.c b/drivers/iio/dac/ad5446-spi.c index dfba1972d1e0..e29d77f21482 100644 --- a/drivers/iio/dac/ad5446-spi.c +++ b/drivers/iio/dac/ad5446-spi.c @@ -175,6 +175,7 @@ static const struct spi_device_id ad5446_spi_ids[] = { {"ad5453", (kernel_ulong_t)&ad5446_chip_info}, /* ad5453 is compatible to the ad5446 */ {"ad5512a", (kernel_ulong_t)&ad5512a_chip_info}, {"ad5541a", (kernel_ulong_t)&ad5541a_chip_info}, + {"ad5542", (kernel_ulong_t)&ad5541a_chip_info}, /* ad5541a and ad5542 are compatible */ {"ad5542a", (kernel_ulong_t)&ad5541a_chip_info}, /* ad5541a and ad5542a are compatible */ {"ad5543", (kernel_ulong_t)&ad5541a_chip_info}, /* ad5541a and ad5543 are compatible */ {"ad5553", (kernel_ulong_t)&ad5553_chip_info}, @@ -211,6 +212,7 @@ static const struct of_device_id ad5446_of_ids[] = { { .compatible = "adi,ad5453", .data = &ad5446_chip_info }, { .compatible = "adi,ad5512a", .data = &ad5512a_chip_info }, { .compatible = "adi,ad5541a", .data = &ad5541a_chip_info }, + { .compatible = "adi,ad5542", .data = &ad5541a_chip_info }, { .compatible = "adi,ad5542a", .data = &ad5541a_chip_info }, { .compatible = "adi,ad5543", .data = &ad5541a_chip_info }, { .compatible = "adi,ad5553", .data = &ad5553_chip_info }, |
