diff options
author | Marcin Juszkiewicz <hrw@koansoftware.com> | 2009-03-26 11:10:03 +0100 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@koansoftware.com> | 2009-03-26 11:10:03 +0100 |
commit | a7be854977d7ad7c8460fee76739db8154e83049 (patch) | |
tree | 3696192bc8abcae8ce4e0121df2dd4e5246541df /recipes/linux/linux-omap-2.6.29/touchscreen.patch | |
parent | e2718269c5f56774705478545316a879f0be82c4 (diff) | |
parent | 1b045e71ce7c3b7ed6c68ae1d60e974edbe38efc (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/linux/linux-omap-2.6.29/touchscreen.patch')
-rw-r--r-- | recipes/linux/linux-omap-2.6.29/touchscreen.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/linux/linux-omap-2.6.29/touchscreen.patch b/recipes/linux/linux-omap-2.6.29/touchscreen.patch new file mode 100644 index 0000000000..2325c401e4 --- /dev/null +++ b/recipes/linux/linux-omap-2.6.29/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 = { + |