summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2017-03-18 19:38:19 +0100
committerJonathan Cameron <jic23@kernel.org>2017-03-25 14:55:03 +0000
commit48ba7c3c0b37363d9ddca3354ca503ad721e14dc (patch)
tree29bdd0293434233619059e2f544ba15a82cd7e44 /include/drm
parent66893ea3757ceb2a95b57ac0fec6632003155f5b (diff)
downloadlinux-stable-48ba7c3c0b37363d9ddca3354ca503ad721e14dc.tar.gz
linux-stable-48ba7c3c0b37363d9ddca3354ca503ad721e14dc.tar.bz2
linux-stable-48ba7c3c0b37363d9ddca3354ca503ad721e14dc.zip
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 'include/drm')
0 files changed, 0 insertions, 0 deletions