فهرست منبع

changes in egalax i2c patch

Reinhard Russinger 8 سال پیش
والد
کامیت
f3111e0c19
1فایلهای تغییر یافته به همراه19 افزوده شده و 4 حذف شده
  1. 19 4
      board/GfA/Display001/linux_4.4.65_rt17/linux-004-egalax_i2c_touchcontroller.patch

+ 19 - 4
board/GfA/Display001/linux_4.4.65_rt17/linux-004-egalax_i2c_touchcontroller.patch

@@ -1,8 +1,20 @@
+From a12a55f6571c5992f5a88e8bbbaabf442c0be88c Mon Sep 17 00:00:00 2001
+From: Reinhard Russinger <reinhard@russinger.at>
+Date: Wed, 3 May 2017 08:25:31 +0200
+Subject: [PATCH 1/1] add egalax i2c touchcontroller driver
+
+---
+ drivers/input/touchscreen/Kconfig      |  10 +
+ drivers/input/touchscreen/Makefile     |   1 +
+ drivers/input/touchscreen/egalax_i2c.c | 961 +++++++++++++++++++++++++++++++++
+ 3 files changed, 972 insertions(+)
+ create mode 100644 drivers/input/touchscreen/egalax_i2c.c
+
 diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
-index ae33da7..cf0aa92 100644
+index 2fb1f43..01f4776 100644
 --- a/drivers/input/touchscreen/Kconfig
 +++ b/drivers/input/touchscreen/Kconfig
-@@ -308,6 +308,16 @@ config TOUCHSCREEN_FT6236
+@@ -318,6 +318,16 @@ config TOUCHSCREEN_FT6236
  	  To compile this driver as a module, choose M here: the
  	  module will be called ft6236.
  
@@ -20,7 +32,7 @@ index ae33da7..cf0aa92 100644
  	tristate "Fujitsu serial touchscreen"
  	select SERIO
 diff --git a/drivers/input/touchscreen/Makefile b/drivers/input/touchscreen/Makefile
-index cbaa6ab..8670407 100644
+index b4373d6..67ed603 100644
 --- a/drivers/input/touchscreen/Makefile
 +++ b/drivers/input/touchscreen/Makefile
 @@ -34,6 +34,7 @@ obj-$(CONFIG_TOUCHSCREEN_GUNZE)		+= gunze.o
@@ -29,8 +41,8 @@ index cbaa6ab..8670407 100644
  obj-$(CONFIG_TOUCHSCREEN_ELO)		+= elo.o
 +obj-$(CONFIG_TOUCHSCREEN_EGALAX_I2C)	+= egalax_i2c.o
  obj-$(CONFIG_TOUCHSCREEN_EGALAX)	+= egalax_ts.o
+ obj-$(CONFIG_TOUCHSCREEN_EGALAX_SERIAL)	+= egalax_ts_serial.o
  obj-$(CONFIG_TOUCHSCREEN_FT6236)	+= ft6236.o
- obj-$(CONFIG_TOUCHSCREEN_FUJITSU)	+= fujitsu_ts.o
 diff --git a/drivers/input/touchscreen/egalax_i2c.c b/drivers/input/touchscreen/egalax_i2c.c
 new file mode 100644
 index 0000000..9ee5566
@@ -998,3 +1010,6 @@ index 0000000..9ee5566
 +MODULE_AUTHOR("EETI <touch_fae@eeti.com>");
 +MODULE_DESCRIPTION("egalax all points controller i2c driver");
 +MODULE_LICENSE("GPL");
+-- 
+1.9.1
+