]> git.baikalelectronics.ru Git - kernel.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)
commite065341e824a4f4a07593bc5a12758e085df336f
treea1d306946864a711f4cb7316ad49f7ef5c37e92e
parent975adeb4784e337c1ad3c074b5e365c17d86871c
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