[PATCH v4 0/8] iio: adc: ad{4130,7124,7173}: A few fixes and ad7124 calibration
From: Uwe Kleine-König
Date: Mon Mar 03 2025 - 06:47:51 EST
Hello,
v3 of this series can be found at
https://lore.kernel.org/linux-iio/cover.1740405546.git.u.kleine-koenig@xxxxxxxxxxxx .
The changes here are:
- rebase to current iio/togreg (which required a few trivial adaptions
due to changes around
iio_device_claim_direct/iio_device_claim_direct_mode()
- patch #5 (ad4130: Adapt internal names to match official filter_type
ABI) is new.
- refactor ad7124_write_syscalib() as suggested by Jonathan to simplify
code flow.
- Rework the two ad7124 calibration patches to grab direct mode.
(There is another patch series of mine that fixes two other drivers
in this regard. Git handles applying this series just fine on top of
this.)
Best regards
Uwe
Uwe Kleine-König (8):
iio: adc: ad_sigma_delta: Disable channel after calibration
iio: adc: ad4130: Fix comparison of channel setups
iio: adc: ad7124: Fix comparison of channel configs
iio: adc: ad7173: Fix comparison of channel configs
iio: adc: ad4130: Adapt internal names to match official filter_type
ABI
iio: adc: ad_sigma_delta: Add error checking for
ad_sigma_delta_set_channel()
iio: adc: ad7124: Implement internal calibration at probe time
iio: adc: ad7124: Implement system calibration
drivers/iio/adc/ad4130.c | 121 +++++++-----
drivers/iio/adc/ad7124.c | 315 ++++++++++++++++++++++++++++---
drivers/iio/adc/ad7173.c | 25 ++-
drivers/iio/adc/ad_sigma_delta.c | 6 +-
4 files changed, 397 insertions(+), 70 deletions(-)
base-commit: 9cbc49c91d2f50f47f52c458d59253c21d883560
--
2.47.1