Re: [PATCH 0/4] iio: adc: ad4695: implement calibration support

From: Jonathan Cameron
Date: Mon Aug 26 2024 - 06:47:13 EST


On Tue, 20 Aug 2024 10:58:34 -0500
David Lechner <dlechner@xxxxxxxxxxxx> wrote:

> This series adds calibration support to the ad4695 driver.
>
> This has the same "odd" gain and offset registers that are being used
> for calibration as discussed recently in the ad4030 series [1]. So if
> the ranges in the *_available attributes seem a bit big for calibration,
> that is why. The official datasheet explanation for this feature is,
> "The AD4695/AD4696 include offset and gain error correction
> functionality to correct for first-order nonidealities in a full
> [analog front end] signal chain."
>
> [1]: https://lore.kernel.org/linux-iio/20240814193814.78fe45cc@jic23-huawei/
Series LGTM
Applied to the togreg branch of iio.git and pushed out as testing.
Note I'll be rebasing after the previous pull request (hopefully)
gets picked up by Greg.

Jonathan

>
> ---
> David Lechner (4):
> iio: adc: ad4695: add 2nd regmap for 16-bit registers
> iio: adc: ad4695: implement calibration support
> doc: iio: ad4695: update for calibration support
> iio: ABI: document ad4695 new attributes
>
> Documentation/ABI/testing/sysfs-bus-iio | 3 +
> Documentation/iio/ad4695.rst | 7 +-
> drivers/iio/adc/ad4695.c | 242 +++++++++++++++++++++++++++++---
> 3 files changed, 234 insertions(+), 18 deletions(-)
> ---
> base-commit: 0f718e10da81446df0909c9939dff2b77e3b4e95
> change-id: 20240819-ad4695-gain-offset-c748d7addf27
>
> Best regards,