summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/include
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2009-11-19 09:31:20 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-11-20 00:55:29 -0800
commit423c9b0dc3d01e50a4df4e48e8477bfb33638d6e (patch)
treee7bc6d9725bad87619ae6f84488fbea05390a19f /arch/arm/mach-at91/include
parent970435a141b55b2334c6b7e834ed5da7a87daae5 (diff)
downloadblackbird-op-linux-423c9b0dc3d01e50a4df4e48e8477bfb33638d6e.tar.gz
blackbird-op-linux-423c9b0dc3d01e50a4df4e48e8477bfb33638d6e.zip
AT91: add platform parameters for atmel_tsadcc in at91sam9rlek
Setup platform parameters in at91sam9rl-ek board to be passed to atmel_tsadcc touchscreen. Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Andrew Victor <linux@maxim.org.za> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'arch/arm/mach-at91/include')
-rw-r--r--arch/arm/mach-at91/include/mach/board.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/include/mach/board.h b/arch/arm/mach-at91/include/mach/board.h
index 2f4fcedc02ba..6f1579f8abdd 100644
--- a/arch/arm/mach-at91/include/mach/board.h
+++ b/arch/arm/mach-at91/include/mach/board.h
@@ -186,7 +186,12 @@ extern void __init at91_add_device_ac97(struct ac97c_platform_data *data);
extern void __init at91_add_device_isi(void);
/* Touchscreen Controller */
-extern void __init at91_add_device_tsadcc(void);
+struct at91_tsadcc_data {
+ unsigned int adc_clock;
+ u8 pendet_debounce;
+ u8 ts_sample_hold_time;
+};
+extern void __init at91_add_device_tsadcc(struct at91_tsadcc_data *data);
/* CAN */
struct at91_can_data {
OpenPOWER on IntegriCloud