diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2014-04-15 14:28:06 +0400 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2014-05-07 20:28:40 +0400 |
commit | 8be1c477d5c860841298a970ebc102311cc7273a (patch) | |
tree | a88235b4ca9ab05d3ac7492d57eb6f803dcc4534 /arch/arm/mach-at91/board-sam9rlek.c | |
parent | 9d9716255f34daf04ab428cab254f8ffbab89fb7 (diff) | |
download | linux-8be1c477d5c860841298a970ebc102311cc7273a.tar.xz |
ARM: at91: sam9rl: switch from atmel_tsadcc to at91_adc
atmel_tsadcc is not allowing to use the remaining ADC channels while at91_adc
does. Completely switch to at91_adc and remove the tsadcc platform_data for
at91sam9rl and at91sam9rl based boards.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/board-sam9rlek.c')
-rw-r--r-- | arch/arm/mach-at91/board-sam9rlek.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-at91/board-sam9rlek.c b/arch/arm/mach-at91/board-sam9rlek.c index 1db43e32e6c5..b64648b4a1fc 100644 --- a/arch/arm/mach-at91/board-sam9rlek.c +++ b/arch/arm/mach-at91/board-sam9rlek.c @@ -231,16 +231,6 @@ static struct gpio_led ek_leds[] = { /* - * Touchscreen - */ -static struct at91_tsadcc_data ek_tsadcc_data = { - .adc_clock = 1000000, - .pendet_debounce = 0x0f, - .ts_sample_hold_time = 0x03, -}; - - -/* * ADC + Touchscreen */ static struct at91_adc_data ek_adc_data = { @@ -323,8 +313,6 @@ static void __init ek_board_init(void) at91_add_device_lcdc(&ek_lcdc_data); /* AC97 */ at91_add_device_ac97(&ek_ac97_data); - /* Touch Screen Controller */ - at91_add_device_tsadcc(&ek_tsadcc_data); /* Touch Screen Controller + ADC */ at91_add_device_adc(&ek_adc_data); /* LEDs */ |