2325c401e47e7de654f4e96339ceb38f3fc0bc99
[openpandora.oe.git] / packages / linux / omap3-pandora-kernel-wifi / touchscreen.patch
1 diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c
2 index d8109ae..f8ce669 100644
3 --- a/arch/arm/mach-omap2/board-omap3evm.c
4 +++ b/arch/arm/mach-omap2/board-omap3evm.c
5 @@ -128,8 +128,16 @@ static int ads7846_get_pendown_state(void)
6  }
7  
8  struct ads7846_platform_data ads7846_config = {
9 +       .x_max                  = 0x0fff,
10 +       .y_max                  = 0x0fff,
11 +       .x_plate_ohms           = 180,
12 +       .pressure_max           = 255,
13 +       .debounce_max           = 10,
14 +       .debounce_tol           = 3,
15 +       .debounce_rep           = 1,
16         .get_pendown_state      = ads7846_get_pendown_state,
17         .keep_vref_on           = 1,
18 +       .settle_delay_usecs     = 150,
19  };
20  
21  static struct omap2_mcspi_device_config ads7846_mcspi_config = {
22