public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Touchscreen on Innovator OMAP1510
@ 2006-05-05 12:07 Prakash Narayanan M
  2006-05-05 20:25 ` David Brownell
  0 siblings, 1 reply; 2+ messages in thread
From: Prakash Narayanan M @ 2006-05-05 12:07 UTC (permalink / raw)
  To: linux-omap-open-source

Hi All,

 

I am using the latest git (2.6), with 3.4.1 toolchain.  I am trying to
configure the kernel for touchscreen support.  I enable the touchscreen
in the kernel in the following way,

Drivers->Input Device Support -> touchscreen interface

==>     event interface

==>     Touchscreens -> OMAP touchscreen input driver

 

After doing this when I cross compile I get the error
"CONFIG_ARCH_OMAP16XX" is not defined and also tsc2101_write function
generates error.

Innovator has ADS7846E as touchscreen controller.  How to enable the
driver for ads7846 instead of tsc2101?

Also what is the source of CONFIG_ARCH_OMAP16XX not defined?

I am putting the error messages below.  Hope someone will know the
source of these errors.

 

Thanks in advance

Regards

Prakash

drivers/ssi/omap-tsc2101.c:42:5: warning: "CONFIG_ARCH_OMAP16XX" is not
defined
drivers/ssi/omap-tsc2101.c:45:2: #error "Unsupported configuration"
drivers/ssi/omap-tsc2101.c: In function `omap_tsc2101_write':
drivers/ssi/omap-tsc2101.c:136: warning: implicit declaration of
function `omap_uwire_data_transfer'
drivers/ssi/omap-tsc2101.c: In function `omap_tsc2101_configure':
drivers/ssi/omap-tsc2101.c:222: error: `UWIRE_READ_RISING_EDGE'
undeclared (first use in this function)
drivers/ssi/omap-tsc2101.c:222: error: (Each undeclared identifier is
reported only once
drivers/ssi/omap-tsc2101.c:222: error: for each function it appears in.)
drivers/ssi/omap-tsc2101.c:222: error: `UWIRE_WRITE_RISING_EDGE'
undeclared (first use in this function)
drivers/ssi/omap-tsc2101.c:224: warning: implicit declaration of
function `omap_uwire_configure_mode' 

 

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

* Re: Touchscreen on Innovator OMAP1510
  2006-05-05 12:07 Touchscreen on Innovator OMAP1510 Prakash Narayanan M
@ 2006-05-05 20:25 ` David Brownell
  0 siblings, 0 replies; 2+ messages in thread
From: David Brownell @ 2006-05-05 20:25 UTC (permalink / raw)
  To: linux-omap-open-source; +Cc: Prakash Narayanan M

On Friday 05 May 2006 5:07 am, Prakash Narayanan M wrote:

> Innovator has ADS7846E as touchscreen controller.  How to enable the
> driver for ads7846 instead of tsc2101?

Did you try this with the current kernel tree?  There was a bogus
dependency in Kconfig which should resolve that even if you're using
the "old" touchscreen driver.

You could switch do the "new" drivers/input/touchscreen/ads7846.c driver
with a simple bitbang SPI module.  If you're interested, I'll post you one
off-list that you'd need to modify for Innovator.

- Dave

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

end of thread, other threads:[~2006-05-05 20:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-05 12:07 Touchscreen on Innovator OMAP1510 Prakash Narayanan M
2006-05-05 20:25 ` David Brownell

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