diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2009-11-19 12:31:20 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-11-20 03:55:29 -0500 |
commit | 423c9b0dc3d01e50a4df4e48e8477bfb33638d6e (patch) | |
tree | e7bc6d9725bad87619ae6f84488fbea05390a19f /arch/arm/mach-at91/include | |
parent | 970435a141b55b2334c6b7e834ed5da7a87daae5 (diff) |
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.h | 7 |
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); | |||
186 | extern void __init at91_add_device_isi(void); | 186 | extern void __init at91_add_device_isi(void); |
187 | 187 | ||
188 | /* Touchscreen Controller */ | 188 | /* Touchscreen Controller */ |
189 | extern void __init at91_add_device_tsadcc(void); | 189 | struct at91_tsadcc_data { |
190 | unsigned int adc_clock; | ||
191 | u8 pendet_debounce; | ||
192 | u8 ts_sample_hold_time; | ||
193 | }; | ||
194 | extern void __init at91_add_device_tsadcc(struct at91_tsadcc_data *data); | ||
190 | 195 | ||
191 | /* CAN */ | 196 | /* CAN */ |
192 | struct at91_can_data { | 197 | struct at91_can_data { |