]> git.karo-electronics.de Git - linux-beck.git/commit
iio: adc: at91_adc: Add support for touchscreens without TSMR
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 15 Apr 2014 10:27:59 +0000 (12:27 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 7 May 2014 16:28:40 +0000 (18:28 +0200)
commit84882b060301c35ab7e2c1ef355b0bd06b764195
treea1d306946864a711f4cb7316ad49f7ef5c37e92e
parent2de0c019f34ffbe49744c453628afb270aa9adb6
iio: adc: at91_adc: Add support for touchscreens without TSMR

Old ADCs, as present on the sam9rl and the sam9g45 don't have a TSMR register
and the touchscreen support should be handled differently.

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>
arch/arm/mach-at91/include/mach/at91_adc.h
drivers/iio/adc/at91_adc.c
include/linux/platform_data/at91_adc.h