public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: A NAVEEN <anaveen@mistralsolutions.com>
Cc: linux-omap@vger.kernel.org,
	'Samyeer Metrani' <samyeer@mistralsoftware.com>
Subject: Re: [PATCH] Patch for Touch Screen noise on OMAP3EVM.
Date: Wed, 10 Sep 2008 17:26:25 -0700	[thread overview]
Message-ID: <20080911002625.GF21163@atomide.com> (raw)
In-Reply-To: <6B5159045A3A48F9831070C42A927DE7@mistral.in>

* A NAVEEN <anaveen@mistralsolutions.com> [080907 23:09]:
> 
> 
> 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.

Ah but this applies, pushing today.

Tony

> 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.
> 
> 
> --
> 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

  reply	other threads:[~2008-09-11  0:26 UTC|newest]

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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080911002625.GF21163@atomide.com \
    --to=tony@atomide.com \
    --cc=anaveen@mistralsolutions.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=samyeer@mistralsoftware.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox