iio: adc: sc27xx: Add ADC scale calibration
authorBaolin Wang <baolin.wang@linaro.org>
Wed, 29 Aug 2018 06:04:05 +0000 (14:04 +0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 2 Sep 2018 08:52:55 +0000 (09:52 +0100)
commit8ba0dbfd07a3587aedb952a95292e41d70dbf16e
tree16c49f3fba1156fe72d95238467b898e9b6002b6
parentfd2f53ebf98173d667fe6b9c2300fef8b4f72f30
iio: adc: sc27xx: Add ADC scale calibration

This patch adds support to read calibration values from the eFuse
controller to calibrate the ADC channel scales, which can make ADC
sample data more accurate.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/sprd,sc27xx-adc.txt
drivers/iio/adc/sc27xx_adc.c