diff options
| author | Kyle Hsieh <kylehsieh1995@gmail.com> | 2026-03-25 05:24:22 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2026-03-25 22:48:45 +0300 |
| commit | 8625d418d24bc0ff463267b26b7cb2e7a612495f (patch) | |
| tree | 041c6b9f4072485025674f65dbd1a2cb4fb545a5 /include | |
| parent | 999ca38066302347c94fda49db7a33ce87def5b6 (diff) | |
| download | linux-8625d418d24bc0ff463267b26b7cb2e7a612495f.tar.xz | |
iio: adc: ltc2309: add support for ltc2305
Add support for the LTC2305 ADC to the LTC2309 driver. The LTC2305 is
a 2-channel, 12-bit SAR ADC that is register-compatible with the
LTC2309 but has a different channel selection mapping and count.
To support multiple chips in this family, introduce ltc2309_chip_info
struct to store chip-specific channel specifications and names.
The probe function now uses i2c_get_match_data() to retrieve the
correct configuration for the detected device.
Specific channel addresses for LTC2305 (CH0, CH1, and differential
pairs) are added based on the datasheet.
Signed-off-by: Kyle Hsieh <kylehsieh1995@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
