]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: adc: ad9467: support write/read offset via _calibbias
authorTomas Melin <tomas.melin@vaisala.com>
Wed, 3 Dec 2025 09:28:12 +0000 (09:28 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 21 Dec 2025 11:10:26 +0000 (11:10 +0000)
commit0820dd9f51884828777f68daa30bfacacbceaf36
tree430894a13d9bf96ea1a68ae731b4856b031bc59a
parentc7f9c36b7921235453828bfff1ad6f081267a7ec
iio: adc: ad9467: support write/read offset via _calibbias

Support configuring output calibration value. Among the devices
currently supported by this driver, this setting is specific to
ad9434. The offset can be used to calibrate the output against
a known input. The register is called offset, but the procedure
is best mapped internally with calibbias operation.

Reviewed-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Tomas Melin <tomas.melin@vaisala.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad9467.c