]> git.karo-electronics.de Git - linux-beck.git/commit
iio: at91_adc: fix missing Sample and Hold time
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Fri, 29 Mar 2013 14:54:00 +0000 (14:54 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 2 Apr 2013 18:22:16 +0000 (19:22 +0100)
commitbeca9e767e27f756d6aed9a62665e3f73546aabb
treed182af55501a1b53b86fdb4e7d7ccf20acc11076
parente748783c55f074046134d2ef15a6e04dd467ecfc
iio: at91_adc: fix missing Sample and Hold time

On the at91_adc a minimal Sample and Hold Time is necessary for the ADC to
guarantee the best converted final value between two channels selection.
This time has to be programmed through the bitfield SHTIM in the
Mode Register ADC_MR.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/arm/atmel-adc.txt
drivers/iio/adc/at91_adc.c