[PATCH V3 0/7] iio: adc: sc27xx: adjust structure and add PMIC's support

From: Cixi Geng
Date: Thu Apr 07 2022 - 04:22:15 EST


From: Cixi Geng <cixi.geng1@xxxxxxxxxx>

this patchset add a sc27xx_adc_variant_data structure
and add sc272*,sc273* and ump9620 PMIC support.

Cixi Geng (7):
dt-bindings:iio:adc: add sprd,ump9620-adc dt-binding
iio: adc: sc27xx: fix read big scale voltage not right
iio: adc: sc27xx: structure adjuststment and optimization
iio: adc: refactor some functions for support more PMiCs
iio: adc: sc27xx: add support for PMIC sc2720 and sc2721
iio: adc: sc27xx: add support for PMIC sc2730
iio: adc: sc27xx: add support for PMIC ump9620

v2 changes:
fix dt_binding_check error
adjust some code-style issue
optimize the copy-paste functions
the smatch warnings found by lkp
and ohter comments by v1 patches.

v3 changes:
fix nvmem-cells Items value and add ump9620 dt sample
add the correct signature for each patch
fix the unused warning in 3/7, add explain for set the scales
remove duplicate code,add goto label in sc27xx_adc_read
pull out the refactor code into a single patch
delete the suspend and resume pm for ump9620


.../bindings/iio/adc/sprd,sc2720-adc.yaml | 57 +-
drivers/iio/adc/sc27xx_adc.c | 717 ++++++++++++++++--
2 files changed, 710 insertions(+), 64 deletions(-)

--
2.25.1