iio: adc: ad7606: add offset and phase calibration support
authorAngelo Dureghello <adureghello@baylibre.com>
Fri, 6 Jun 2025 14:19:18 +0000 (16:19 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 9 Jun 2025 06:45:37 +0000 (07:45 +0100)
commit48d487dc64455641eafc6dcebeba8741999dd58d
treea775886f3b69d3f19aeccea90a16a5d2c72e59b4
parent342c52dde2f031add61ddeaced9c100f88e04d09
iio: adc: ad7606: add offset and phase calibration support

Add support for offset and phase calibration, only for
devices that support software mode, that are:

ad7606b
ad7606c-16
ad7606c-18

Tested-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20250606-wip-bl-ad7606-calibration-v9-3-6e014a1f92a2@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7606.c
drivers/iio/adc/ad7606.h