public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Re-add a lost TSC2102 touchscreen Kconfig entry
@ 2007-05-22 17:22 andrzej zaborowski
  2007-05-22 23:40 ` David Brownell
  2007-05-25  0:31 ` Tony Lindgren
  0 siblings, 2 replies; 5+ messages in thread
From: andrzej zaborowski @ 2007-05-22 17:22 UTC (permalink / raw)
  To: Linux OMAP ML

[-- Attachment #1: Type: text/plain, Size: 277 bytes --]

The TSC2102 option in drivers/input/touchscreen/Kconfig got lost
somewhere in January (although the commit is not visible in git-web),
so adding it back.  Also remove the input_dev.dev assignment due to an
upstream change.

Signed-off-by: Andrzej Zaborowski <balrog@zabor.org>

[-- Attachment #2: 0004-Re-add-a-lost-TSC2102-touchscreen-Kconfig-entry.txt --]
[-- Type: text/plain, Size: 2052 bytes --]

From 492e5cbe39613f06b8146c12bff9500259739fd5 Mon Sep 17 00:00:00 2001
From: Andrzej Zaborowski <balrog@zabor.org>
Date: Tue, 22 May 2007 20:08:47 +0200
Subject: [PATCH] Re-add a lost TSC2102 touchscreen Kconfig entry.

The TSC2102 option in drivers/input/touchscreen/Kconfig got lost somewhere
in January (although the commit is not visible in git-web), so adding it
back.  Also remove the input_dev.dev assignment due to an upstream change.
---
 drivers/input/touchscreen/Kconfig      |   15 +++++++++++++++
 drivers/input/touchscreen/tsc2102_ts.c |    1 -
 2 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index 58fe796..acd0dff 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -164,6 +164,21 @@ config TOUCHSCREEN_UCB1400
 	  To compile this driver as a module, choose M here: the
 	  module will be called ucb1400_ts.
 
+config TOUCHSCREEN_TSC2102
+	tristate "TSC 2102 based touchscreens"
+	depends on SPI_MASTER
+	select SPI_TSC2102
+	help
+	  Say Y here if you have a touchscreen interface using the
+	  TI TSC 2102 controller, and your board-specific initialization
+	  code includes that in its table of SPI devices.  Also make
+	  sure the proper SPI controller is selected.
+
+	  If unsure, say N (but it's safe to say "Y").
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called tsc2102_ts.
+
 config TOUCHSCREEN_TSC2301
 	tristate "TSC2301 touchscreen support"
 	depends on SPI_TSC2301
diff --git a/drivers/input/touchscreen/tsc2102_ts.c b/drivers/input/touchscreen/tsc2102_ts.c
index 8188263..b6ed927 100644
--- a/drivers/input/touchscreen/tsc2102_ts.c
+++ b/drivers/input/touchscreen/tsc2102_ts.c
@@ -81,7 +81,6 @@ static int tsc2102_ts_probe(struct platform_device *pdev)
 	}
 
 	dev->name = "TSC2102 Touchscreen";
-	dev->dev = &pdev->dev;
 	dev->cdev.dev = &pdev->dev;
 	dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS);
 	dev->keybit[LONG(BTN_TOUCH)] |= BIT(BTN_TOUCH);
-- 
1.4.4.3


[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



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

end of thread, other threads:[~2007-05-25  0:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-22 17:22 [PATCH] Re-add a lost TSC2102 touchscreen Kconfig entry andrzej zaborowski
2007-05-22 23:40 ` David Brownell
2007-05-23 15:41   ` Tony Lindgren
2007-05-23 23:54   ` andrzej zaborowski
2007-05-25  0:31 ` Tony Lindgren

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