]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: adc: ad4080: add support for AD4081
authorAntoniu Miclaus <antoniu.miclaus@analog.com>
Tue, 7 Oct 2025 11:15:25 +0000 (11:15 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Oct 2025 10:59:22 +0000 (11:59 +0100)
commitd34ad6467200380c8f8337ceefee9f3d8cee5492
treefeedb4510a2fc09648c11af8f92387b8a2486635
parent83185903b4eca86e0c7145d62e55de768eeb9e7b
iio: adc: ad4080: add support for AD4081

Add support for AD4081 20-bit SAR ADC. The AD4081 has the same
resolution as AD4080 (20-bit) but differs in LVDS CNV clock count
maximum (2 vs 7).

Changes:
- Add AD4081_CHIP_ID definition (0x0051)
- Create ad4081_channel with 20-bit resolution and 32-bit storage
- Add ad4081_chip_info with lvds_cnv_clk_cnt_max = 2
- Register AD4081 in device ID and OF match tables

Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad4080.c