[meta-freescale] [meta-fsl-arm][PATCH] linux-imx_3.0.35: Support Single Pointer into the eGalax Touchscreen Driver

Leonardo Sandoval leonardo.sandoval at freescale.com
Thu Jan 17 11:49:09 PST 2013


This patch enables the touchscreen functionality on i.MX6 Sabre Platforms using the
eGalax Driver.

[YOCTO #3573]

Signed-off-by: Leonardo Sandoval <leonardo.sandoval at freescale.com>
---
 .../egalax_ts-Add-Single-Pointer-Support.patch     |   24 ++++++++++++++++++++
 recipes-kernel/linux/linux-imx_3.0.35.bb           |    3 ++-
 2 files changed, 26 insertions(+), 1 deletion(-)
 create mode 100644 recipes-kernel/linux/linux-imx/egalax_ts-Add-Single-Pointer-Support.patch

diff --git a/recipes-kernel/linux/linux-imx/egalax_ts-Add-Single-Pointer-Support.patch b/recipes-kernel/linux/linux-imx/egalax_ts-Add-Single-Pointer-Support.patch
new file mode 100644
index 0000000..479f6a8
--- /dev/null
+++ b/recipes-kernel/linux/linux-imx/egalax_ts-Add-Single-Pointer-Support.patch
@@ -0,0 +1,24 @@
+From 8c2ff5df3b585b20547fad98f072e32340444183 Mon Sep 17 00:00:00 2001
+From: Leonardo Sandoval <leonardo.sandoval at freescale.com>
+Date: Wed, 16 Jan 2013 14:48:10 -0600
+Subject: [PATCH] egalax_ts: Add Single Pointer Support
+
+---
+ drivers/input/touchscreen/egalax_ts.c |    1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/input/touchscreen/egalax_ts.c b/drivers/input/touchscreen/egalax_ts.c
+index fff8afe..a542d0a 100644
+--- a/drivers/input/touchscreen/egalax_ts.c
++++ b/drivers/input/touchscreen/egalax_ts.c
+@@ -56,6 +56,7 @@
+ #define EVENT_DOWN_UP		(0X1 << 0)
+ 
+ #define MAX_I2C_DATA_LEN	10
++#define FORCE_SINGLE_POINTER_SUPPORT
+ 
+ struct egalax_pointer {
+ 	bool valid;
+-- 
+1.7.9.5
+
diff --git a/recipes-kernel/linux/linux-imx_3.0.35.bb b/recipes-kernel/linux/linux-imx_3.0.35.bb
index 9f1e320..a99b209 100644
--- a/recipes-kernel/linux/linux-imx_3.0.35.bb
+++ b/recipes-kernel/linux/linux-imx_3.0.35.bb
@@ -3,7 +3,7 @@
 
 include linux-imx.inc
 
-PR = "${INC_PR}.7"
+PR = "${INC_PR}.8"
 
 COMPATIBLE_MACHINE = "(mx6)"
 
@@ -12,6 +12,7 @@ SRCREV = "059685632ebd37a89e60cbb1e6dd535b3b08c3be"
 LOCALVERSION = "-12.09.01+yocto"
 
 SRC_URI += "file://fix_getrusage_for_perf.patch \
+            file://egalax_ts-Add-Single-Pointer-Support.patch \
            "
 
 # iMX6Q SabreLITE changes done by Boundary Devices
-- 
1.7.9.5





More information about the meta-freescale mailing list