mbox series

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

Message ID 20220311164628.378849-1-gengcixi@gmail.com (mailing list archive)
Headers show
Series iio: adc: sc27xx: adjust structure and add PMIC's support | expand

Message

Cixi Geng March 11, 2022, 4:46 p.m. UTC
From: Cixi Geng <cixi.geng1@unisoc.com>

this patchset add a sc27xx_adc_variant_data structure
and add sc272*,sc273* and ump9620 PMIC support.
also add ump9620 PMIC suspend and resume pm implement.

Cixi Geng (7):
  dt-bindings:iio:adc: add sprd,ump9620-adc dtbindings
  iio: adc: sc27xx: fix read big scale voltage not right
  iio: adc: sc27xx: structure adjuststment and optimization
  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
  iio: adc: sc27xx: add Ump9620 ADC suspend and resume pm support

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.

 .../bindings/iio/adc/sprd,sc2720-adc.yaml     |  30 +-
 drivers/iio/adc/sc27xx_adc.c                  | 797 ++++++++++++++++--
 2 files changed, 764 insertions(+), 63 deletions(-)