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. [V1] https://lkml.org/lkml/2016/10/25/26 Rama Krishna Phani A (2): iio: adc: spmi-vadc: Update changes to support reporting of Raw adc code. iio: adc: spmi-vadc: Changes to support different scaling .../devicetree/bindings/iio/adc/qcom,spmi-vadc.txt | 14 + drivers/iio/adc/qcom-spmi-vadc.c | 311 ++++++++++++++++----- 2 files changed, 261 insertions(+), 64 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html