Skip to content

iio: adc: sc27xx: adjust structure and add PMIC's support

Cixi Geng linux-devicetree linux-iio lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest7 patches 8 repliesIn review
  2. v37 patches 10 repliesSuperseded
  3. v27 patches 17 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v17 patches16 repliesSuperseded

Changes in v4 from the cover letter

Add fix tag in the 2/7 patch.
Separate modification and refactoring 3/7(v3) to 2 pathes. remove the pmic_type struct instead of a boot set_volref to define the specific feathure.
use switch statement in all scale_init functions. remove ump9620 pmic support in this patchset, submit separately in the next patches.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7dt-bindings:iio:adc: add sprd,ump9620-adc dt-bindingDocumentation/devicetree/bindings/iio/adc/sprd,sc2720-adc.yaml+53 -62 replies
2/7iio: adc: sc27xx: fix read big scale voltage not rightdrivers/iio/adc/sc27xx_adc.c+2 -21 reply
3/7iio: adc: Fine tune the scale calibration valuesdrivers/iio/adc/sc27xx_adc.c+11 -82 replies
4/7iio: adc: sc27xx: structure adjustment and optimizationdrivers/iio/adc/sc27xx_adc.c+76 -150 replies
5/7iio: adc: refactor some functions for support more PMiCsdrivers/iio/adc/sc27xx_adc.c+30 -161 reply
6/7iio: adc: sc27xx: add support for PMIC sc2720 and sc2721drivers/iio/adc/sc27xx_adc.c+201 -20 replies
7/7iio: adc: sc27xx: add support for PMIC sc2730drivers/iio/adc/sc27xx_adc.c+116 -00 replies

Reviews trailers per patch

2 of 7 patches have a Reviewed-by or Acked-by.

PatchBaolin WangKrzysztof Kozlowski
1/7R-b
2/7R-b
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

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

From: Cixi Geng <[email protected]>

this patchset add a sc27xx_adc_variant_data structure and add sc272*,sc273* and ump9620 PMIC 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.

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

v4 changes:
Add fix tag in the 2/7 patch.
Separate modification and refactoring 3/7(v3) to 2 pathes. remove the pmic_type struct instead of a boot set_volref to define the specific feathure.
use switch statement in all scale_init functions. remove ump9620 pmic support in this patchset, submit separately in the next patches.

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: Fine tune the scale calibration values
iio: adc: sc27xx: structure adjustment 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

 .../bindings/iio/adc/sprd,sc2720-adc.yaml     |  59 ++-
 drivers/iio/adc/sc27xx_adc.c                  | 473 ++++++++++++++++--
 2 files changed, 491 insertions(+), 41 deletions(-)
Signature · 1 line
2.25.1