diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2014-04-15 12:28:00 +0200 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2014-05-07 18:28:40 +0200 |
commit | cab915947466112c6c5139ba132ea8d19ac06c6d (patch) | |
tree | 964d9b7943b26054fb87df998b85ab546fcd9588 /drivers/iio/adc | |
parent | iio: adc: at91_adc: Add support for touchscreens without TSMR (diff) | |
download | linux-cab915947466112c6c5139ba132ea8d19ac06c6d.tar.xz linux-cab915947466112c6c5139ba132ea8d19ac06c6d.zip |
ARM: at91: sam9m10g45ek: Add touchscreen support through at91_adc
at91_adc now supports reading a touchscreen for ADCs without a TSMR register.
Enable touchscreen support through at91_adc. This allows to use both a
touchscreen and the remaining ADC channel at the same time.
Also, lower the clock for the ADC as it allows to have more stable reads and
this is the speed used by atmel_tsadcc.
It lowers the maximum throughput rate from 440000 samples per second to 12958
samples per second. It shouldn't be an issue as the CPU is not able to keep up
reading samples at that frequency.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'drivers/iio/adc')
0 files changed, 0 insertions, 0 deletions