Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

iio: adc: ad7476: Add LTC2314-14 support

The LTC2314-14 is a 14-bit, 4.5Msps, serial sampling A/D converter that draws only
6.2mA from a wide range analog supply adjustable from 2.7V to 5.25V.

Signed-off-by: Dragos Bogdan <dragos.bogdan@analog.com>
Signed-off-by: Mircea Caprioru <mircea.caprioru@analog.com>
Link: https://lore.kernel.org/r/20201216083639.89425-1-mircea.caprioru@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Dragos Bogdan and committed by
Jonathan Cameron
28e37a92 58a5e29c

+6
+6
drivers/iio/adc/ad7476.c
··· 67 67 ID_ADS7866, 68 68 ID_ADS7867, 69 69 ID_ADS7868, 70 + ID_LTC2314_14, 70 71 }; 71 72 72 73 static void ad7091_convst(struct ad7476_state *st) ··· 251 250 .channel[0] = ADS786X_CHAN(8), 252 251 .channel[1] = IIO_CHAN_SOFT_TIMESTAMP(1), 253 252 }, 253 + [ID_LTC2314_14] = { 254 + .channel[0] = AD7940_CHAN(14), 255 + .channel[1] = IIO_CHAN_SOFT_TIMESTAMP(1), 256 + }, 254 257 }; 255 258 256 259 static const struct iio_info ad7476_info = { ··· 370 365 {"ads7866", ID_ADS7866}, 371 366 {"ads7867", ID_ADS7867}, 372 367 {"ads7868", ID_ADS7868}, 368 + {"ltc2314-14", ID_LTC2314_14}, 373 369 {} 374 370 }; 375 371 MODULE_DEVICE_TABLE(spi, ad7476_id);