public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Patch for Touch Screen noise on OMAP3EVM.
@ 2008-09-08  5:53 anaveen
  2008-09-11  0:24 ` Tony Lindgren
  0 siblings, 1 reply; 6+ messages in thread
From: anaveen @ 2008-09-08  5:53 UTC (permalink / raw)
  To: linux-omap



When git kernel tree is used on a OMAP3EVM board file for touch screen  
testing, it shows lot of jitter. With this patch the jitter can be  
reduced.

Signed-off-by: Naveen Atmakuri <anaveen@mistralsolutions.com>
---
  arch/arm/mach-omap2/board-omap3evm.c |   10 ++++++++++
  1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/board-omap3evm.c  
b/arch/arm/mach-omap2/board-omap3evm.c
index 4963f0f..9a4784e 100644
--- a/arch/arm/mach-omap2/board-omap3evm.c
+++ b/arch/arm/mach-omap2/board-omap3evm.c
@@ -27,6 +27,8 @@
  #include <asm/mach-types.h>
  #include <asm/mach/arch.h>
  #include <asm/mach/map.h>
+#include <linux/io.h>
+#include <linux/delay.h>

  #include <mach/gpio.h>
  #include <mach/keypad.h>
@@ -132,8 +134,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 = {
-- 
1.5.6

Warm Regards,
Naveen Atmakuri.


^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [PATCH] Patch for Touch Screen noise on OMAP3EVM.
@ 2008-09-08  6:11 A NAVEEN
  2008-09-11  0:26 ` Tony Lindgren
  0 siblings, 1 reply; 6+ messages in thread
From: A NAVEEN @ 2008-09-08  6:11 UTC (permalink / raw)
  To: linux-omap; +Cc: 'Samyeer Metrani'



When git kernel tree is used on a OMAP3EVM board file for touch screen
testing, it shows lot of jitter. With this patch the jitter can be
reduced.

Signed-off-by: Naveen Atmakuri <anaveen@mistralsolutions.com>
---
 arch/arm/mach-omap2/board-omap3evm.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/board-omap3evm.c
b/arch/arm/mach-omap2/board-omap3evm.c
index 4963f0f..9a4784e 100644
--- a/arch/arm/mach-omap2/board-omap3evm.c
+++ b/arch/arm/mach-omap2/board-omap3evm.c
@@ -27,6 +27,8 @@
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
+#include <linux/io.h>
+#include <linux/delay.h>
 
 #include <mach/gpio.h>
 #include <mach/keypad.h>
@@ -132,8 +134,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 = {
-- 
1.5.6


Warm Regards,
Naveen Atmakuri.



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-09-11  0:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <764af1890808290007t4ec0afabs4980f23237629f2c@mail.gmail.com>
2008-08-29  7:50 ` [PATCH] Patch for Touch Screen noise on OMAP3EVM Felipe Balbi
2008-09-05 16:50   ` Tony Lindgren
2008-09-08  5:53 anaveen
2008-09-11  0:24 ` Tony Lindgren
  -- strict thread matches above, loose matches on Subject: below --
2008-09-08  6:11 A NAVEEN
2008-09-11  0:26 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox