mbox series

[v1,0/3] iio: adc: ad7124: Implement calibration at probe time

Message ID 20250212105322.10243-5-u.kleine-koenig@baylibre.com (mailing list archive)
Headers show
Series iio: adc: ad7124: Implement calibration at probe time | expand

Message

Uwe Kleine-Konig Feb. 12, 2025, 10:53 a.m. UTC
Hello,

this series aims to implement calibration of the ad7124 ADC. The first
patch was already sent separately, and got some feedback. I include it
here (yet unmodified) as it conflicts with this series. The second patch
is a change that I need on ad7124 because channels left enabled confuse
the driver logic. I didn't check if other drivers are also affected. The
last patch actually implements the desired calibration. Missing here
(and the next quest) is to implement runtime calibration to fix
measurements e.g. after the gain was changed. Have to learn a few things
for that first though (or find the right driver where I can copy that
from).

This is based on
git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
.

Best regards
Uwe

Uwe Kleine-König (3):
  iio: adc: ad7124: Fix comparison of channel configs
  iio: adc: ad_sigma_delta: Disable channel after calibration
  iio: adc: ad7124: Implement calibration at probe time

 drivers/iio/adc/ad7124.c         | 126 +++++++++++++++++++++++++++++--
 drivers/iio/adc/ad_sigma_delta.c |   1 +
 2 files changed, 122 insertions(+), 5 deletions(-)


base-commit: 0c5d8af2a5fd5e5a9d17ad41e81501a12245bfc8