Re: [PATCH 1/4] omap: consolidate touch screen initialization among different boards

2011-05-04 Thread Thomas Weber
Hello, because ads7846_get_pendown_state() is not longer set in ads7846_platform_data, the ads7846_setup_pendown tries to request the pendown gpio and fails because the gpio is already requested. Thomas Am 25.04.2011 00:09, schrieb Mike Rapoport: Add common-board-devices.c that will contain

Re: [PATCH 1/4] omap: consolidate touch screen initialization among different boards

2011-05-04 Thread Igor Grinberg
Hi Thomas, On 05/04/11 17:02, Thomas Weber wrote: Hello, because ads7846_get_pendown_state() is not longer set in ads7846_platform_data, the ads7846_setup_pendown tries to request the pendown gpio and fails because the gpio is already requested. Thanks, for testing. I've sent a patch for

Re: [PATCH 1/4] omap: consolidate touch screen initialization among different boards

2011-05-03 Thread Oleg Drokin
Hello! This patch breaks compile for me. On Apr 24, 2011, at 6:09 PM, Mike Rapoport wrote: --- /dev/null +++ b/arch/arm/mach-omap2/common-board-devices.c @@ -0,0 +1,85 @@ +void __init omap_ads7846_init(int bus_num, int gpio_pendown, int gpio_debounce, + struct

[PATCH 1/4] omap: consolidate touch screen initialization among different boards

2011-04-24 Thread Mike Rapoport
Add common-board-devices.c that will contain the code for peripheral devices initializatoin shared between multiple boards. Start small with touchscreen initialization. Signed-off-by: Mike Rapoport m...@compulab.co.il --- arch/arm/mach-omap2/Makefile |2 +