Skip to content

Changes to support different VADC scaling

Rama Krishna Phani A linux-arm-msm linux-iio 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest1 of 2 patches 2 repliesIn review
  2. v51 of 2 patches 0 repliesSuperseded
  3. v42 patches 6 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v32 patches14 repliesSuperseded
v21 of 2 patches0 repliesSuperseded

1 of 2 patches is in this archive. The cover letter announces 2.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/2iio: adc: spmi-vadc: Changes to support different scalingdrivers/iio/adc/qcom-spmi-vadc.c+327 -1082 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

Cover letter [PATCH V6 0/2] Changes to support different VADC scaling

VADC is a 15 bit ADC that measures signals through the Main analog multiplexer (AMUX). The driver arbitrates the request to issue ADC read requests. These patches adds different scaling functionality to convert adc code to physical units.

[V6]
1. Remove processed sysfs attributes for SCALE_NONE.

[V5]
1. Retain new line as suggested.

[V4]
1. Remove DT bindings and implement scaling logic with in driver.

[V3]
1. Update the commit text to give more information on the functionality implemented in the patches.
2. Added Dt maintainers.

[V2]
1. Replaced the do_div with normal division.
2. Split the functionality implemented in v1 patch.
3. Abstracted out common logic and updated change to report Raw adc code properly.
4. Change to support different scaling functionality.
5. Added support for introducing new bindings in driver.

[V1]

	https://lkml.org/lkml/2016/10/25/26

Rama Krishna Phani A (2):
iio: adc: spmi-vadc: Update function for generic voltage conversion
iio: adc: spmi-vadc: Changes to support different scaling

 drivers/iio/adc/qcom-spmi-vadc.c | 479 ++++++++++++++++++++++++++++-----------
 1 file changed, 351 insertions(+), 128 deletions(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project