]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iio: adc: ad4695: implement calibration support
authorDavid Lechner <dlechner@baylibre.com>
Tue, 20 Aug 2024 15:58:36 +0000 (10:58 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 3 Sep 2024 17:49:43 +0000 (18:49 +0100)
commit7763e40f35af295e051a0065c14fec528e3c99e6
treeb981d8e1b47f000a0dce6941c3d40c885f102a6e
parent2ba49fc41b1c399a98468b0e144cfb6f3ad37b64
iio: adc: ad4695: implement calibration support

The AD4695 has a calibration feature that allows the user to compensate
for variations in the analog front end. This implements this feature in
the driver using the standard `calibgain` and `calibbias` attributes.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20240820-ad4695-gain-offset-v1-2-c8f6e3b47551@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad4695.c