diff options
| author | 2017-03-18 19:38:19 +0100 | |
|---|---|---|
| committer | 2017-03-25 14:55:03 +0000 | |
| commit | 48ba7c3c0b37363d9ddca3354ca503ad721e14dc (patch) | |
| tree | 29bdd0293434233619059e2f544ba15a82cd7e44 /scripts/stackusage | |
| parent | staging: adis16203: Remove locking on raw reads of IIO_CHAN_INFO_CALIBBIAS (diff) | |
iio: adc: meson-saradc: add calibration
This patch adds calibration for the Meson SAR ADC.
Points 25% vref and 75% vref are used for calibration.
It uses a simple linear calibration function: SCALE * val + BIAS
Successfully tested on a Odroid C2.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
