From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH] Patch for Touch Screen noise on OMAP3EVM. Date: Wed, 10 Sep 2008 17:24:13 -0700 Message-ID: <20080911002413.GE21163@atomide.com> References: <20080908005324.5y0or63ahpys8084@webmail.mistralsolutions.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mho-01-bos.mailhop.org ([63.208.196.178]:59949 "EHLO mho-01-bos.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753491AbYIKAYP (ORCPT ); Wed, 10 Sep 2008 20:24:15 -0400 Content-Disposition: inline In-Reply-To: <20080908005324.5y0or63ahpys8084@webmail.mistralsolutions.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: anaveen@mistralsolutions.com Cc: linux-omap@vger.kernel.org * anaveen@mistralsolutions.com [080907 22:54]: > > > 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. This does not seem to apply, can you please refresh? Thanks, Tony > Signed-off-by: Naveen Atmakuri > --- > 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 > #include > #include > +#include > +#include > > #include > #include > @@ -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. > > -- > To unsubscribe from this list: send the line "unsubscribe linux-omap" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html