diff options
| author | Heiner Kallweit <[email protected]> | 2017-03-18 19:38:19 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2017-03-25 14:55:03 +0000 |
| commit | 48ba7c3c0b37363d9ddca3354ca503ad721e14dc (patch) | |
| tree | 29bdd0293434233619059e2f544ba15a82cd7e44 /tools/perf/scripts/python/bin | |
| parent | 66893ea3757ceb2a95b57ac0fec6632003155f5b (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 <[email protected]>
Tested-by: Martin Blumenstingl <[email protected]>
Reviewed-by: Martin Blumenstingl <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions