All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Dooks <ben-linux@fluff.org>
To: ch.naveen@samsung.com
Cc: linux-samsung-soc@vger.kernel.org
Subject: Re: S3C64XX & S3C24XX TS/ADC support in mainline
Date: Tue, 4 May 2010 07:55:29 +0100	[thread overview]
Message-ID: <20100504065529.GA26401@trinity.fluff.org> (raw)
In-Reply-To: <1270530310-24119-1-git-send-email-ch.naveen@samsung.com>

On Tue, Apr 06, 2010 at 10:35:10AM +0530, ch.naveen@samsung.com wrote:
> From: Naveen Krishna CH <ch.naveen@samsung.com>
> 
> Hi Ben,
> 
> This is Naveen from Samsung, India. 
> 
> I'm working on adding support for TS/ADC for the following boards
> 6410, 6440 and V210 on 2.6.34-rc2 kernel. 
> 
> 1)
> I did some initial work and found that the current driver 
> (s3c24xx_ts.c) exists for ARCH_S3C24XX alone 
> and which requires ADC for S3C24XX.  
> 
> Though. there is no board under (mach-s3c24XX) implementing the 
> touchscreen driver.
> 
> I would like to know, on what all boards is this driver tested  & 
> how much compatible it is with S3C64XX and S5P series SoCs.

The h1940 should be using the touchscreen, since this is what it was
originally written for.
 
> 2)
> I also have a design issue with 
> a.  There are some GPIO config specific to 2410 in the current driver.

yes, although this could be removed and given to the relevant machine.

> b.  It uses only 1 IRQ (PenDown) and 

yes.

> c.  The ISR for this IRQ uses the ADC APIs.
> 
> I have a reference driver, which uses 2 IRQs 
> One for PENDOWN and another Stylus Action.
> And this driver does not use the ADC driver.

either update the existing driver to use the StylusAction IRQ
or do without it.
 
> TS on S3C64XX and S5P series does not seem to need
> ADC driver as such. 

please dont' assume you know bettert than any of your potentuial
customers... the ADC API is there for a reason, there are more than
just the TS ADC inputs and it is entirly possible something else
will need acces to them.

On some of our boards, they provide input voltage monitoring and
feedback from sensors.

-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.

      reply	other threads:[~2010-05-04  6:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-06  5:05 S3C64XX & S3C24XX TS/ADC support in mainline ch.naveen
2010-05-04  6:55 ` Ben Dooks [this message]

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=20100504065529.GA26401@trinity.fluff.org \
    --to=ben-linux@fluff.org \
    --cc=ch.naveen@samsung.com \
    --cc=linux-samsung-soc@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.