diff options
author | Philip Balister <philip@balister.org> | 2009-01-11 09:18:42 -0500 |
---|---|---|
committer | Philip Balister <philip@balister.org> | 2009-01-11 09:18:42 -0500 |
commit | c64ada5c2865a4b3f84ca64f4515034e215a86dd (patch) | |
tree | 1e5cb6f2c656cec6d73e8a390eb8c70fd6d439d1 /packages/linux/linux-omap-pm/touchscreen.patch | |
parent | b7e746ca9db1cd9b55f9c3b703c8776fb099e1d6 (diff) |
linux-omap-pm : Add recipe for OMAP3 kernel with power management. This tracks
Kevin Hilmans git tree. When the OMAP3 pm stuff is merged into
the linux-omap git, this recipe should be removed.
Diffstat (limited to 'packages/linux/linux-omap-pm/touchscreen.patch')
-rw-r--r-- | packages/linux/linux-omap-pm/touchscreen.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/linux/linux-omap-pm/touchscreen.patch b/packages/linux/linux-omap-pm/touchscreen.patch new file mode 100644 index 0000000000..2325c401e4 --- /dev/null +++ b/packages/linux/linux-omap-pm/touchscreen.patch @@ -0,0 +1,22 @@ +diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c +index d8109ae..f8ce669 100644 +--- a/arch/arm/mach-omap2/board-omap3evm.c ++++ b/arch/arm/mach-omap2/board-omap3evm.c +@@ -128,8 +128,16 @@ static int ads7846_get_pendown_state(void) + } + + struct ads7846_platform_data ads7846_config = { ++ .x_max = 0x0fff, ++ .y_max = 0x0fff, ++ .x_plate_ohms = 180, ++ .pressure_max = 255, ++ .debounce_max = 10, ++ .debounce_tol = 3, ++ .debounce_rep = 1, + .get_pendown_state = ads7846_get_pendown_state, + .keep_vref_on = 1, ++ .settle_delay_usecs = 150, + }; + + static struct omap2_mcspi_device_config ads7846_mcspi_config = { + |