drivers: iio: adc: ltc2497: LTC2499 support
authorCiprian Regus <ciprian.regus@analog.com>
Fri, 16 Sep 2022 14:09:21 +0000 (17:09 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 21 Sep 2022 17:42:54 +0000 (18:42 +0100)
commit2187cfeb362678dae2f6235b20a6ef658836b3d4
treed2b023fbabb15eac40b33365f5fe0ab3c5d82e87
parentcc6fbf2672bba1c1042f8e5b8a61067f5d3a3214
drivers: iio: adc: ltc2497: LTC2499 support

The LTC2499 is a 16-channel (eight differential), 24-bit,
ADC with Easy Drive technology and a 2-wire, I2C interface.

Implement support for the LTC2499 ADC by extending the LTC2497
driver. A new chip_info struct is added to differentiate between
chip types and resolutions when reading data from the device.

Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/2499fe.pdf
Signed-off-by: Ciprian Regus <ciprian.regus@analog.com>
Link: https://lore.kernel.org/r/20220916140922.2506248-5-ciprian.regus@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ltc2496.c
drivers/iio/adc/ltc2497-core.c
drivers/iio/adc/ltc2497.c
drivers/iio/adc/ltc2497.h