mbox series

[v3,0/7] iio: adc: ad{4130,7124,7173}: A few fixes and ad7124 calibration

Message ID cover.1740405546.git.u.kleine-koenig@baylibre.com (mailing list archive)
Headers show
Series iio: adc: ad{4130,7124,7173}: A few fixes and ad7124 calibration | expand

Message

Uwe Kleine-König Feb. 24, 2025, 2:10 p.m. UTC
Hello,

this v3 addresses most feedback I received for v2 which is available at
https://lore.kernel.org/linux-iio/cover.1739902968.git.u.kleine-koenig@baylibre.com:

 - fix commit log leftover mentioning BUILD_BUG (David)
 - s/adaptions/adaptations/ (Andy)
 - drop a #define DEBUG (Nuno)
 - return early in ad7124_write_syscalib() to save some indentation
   level
 - Rework the calibrate_all function to simplify error handling
   (Jonathan)
 - rebase to today's iio/togreg
 - new patch "Add error checking for ad_sigma_delta_set_channel()".
   I noticed that one during working on the driver. Didn't see actual
   breakage, so IMHO not an urgent patch.

I didn't rework calibration to make use of direct mode. That's still an
open question in v2. Didn't wait for that resolving to get the first few
patches out of the door for Jonathan to apply them.

Best regards
Uwe

Uwe Kleine-König (7):
  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: 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         |  41 ++++-
 drivers/iio/adc/ad7124.c         | 302 ++++++++++++++++++++++++++++---
 drivers/iio/adc/ad7173.c         |  25 ++-
 drivers/iio/adc/ad_sigma_delta.c |   6 +-
 4 files changed, 344 insertions(+), 30 deletions(-)

base-commit: 66e80e2f21762bdaa56a4d63c79e5aca5f6bd93c