07 Jul, 2015
1 commit
-
* The edt-ft5x06 driver sets max axes values to quantities much larger
than what is actually obtainable.
* Use the device tree to get the actual max values.Signed-off-by: Jacob Stiffler
19 Nov, 2014
1 commit
-
Because with OF we can pass more specific
compatible flags (such as edt-ft5306) instead
of generic edt-ft5x06, when i2c-core's
of_i2c_register_devices() tries to request_module(),
it'll request it with a non-existent specific module
alias.In order to have this driver autoprobing again, we
just need to add missing MODULE_ALIAS() entries to
edt-ft5x06 driver.Thanks to Dmitry for noticing that it actually should
autoprobe even with of_device_id.Cc: Dmitry Torokhov
Cc:
Cc: # v3.15+
Fixes: dac90dc2 (Input: edt-ft5x06 - add DT support)
Signed-off-by: Felipe Balbi
Signed-off-by: Sekhar Nori
04 Jul, 2014
7 commits
-
[ Upstream commit cc071acaa2cf7b7b8c716ad48f3ba93a2e064687 ]
The driver sends 3 bytes instead of 2 when accessing a register on the M09
firmware, so writing to gain seems to overflow into the offset register.Signed-off-by: Robert Woerle
Acked-By: Simon Budig
Signed-off-by: Dmitry Torokhov
Signed-off-by: Felipe Balbi -
[ Upstream commit e2c3ecf0ea8e87c5209371af7da107ebc47a5639 ]
The if condition was accidentally deleted here so we return every time
instead of returning on error.Fixes: fd335ab04b3f ('Input: edt-ft5x06 - add support for M09 firmware version')
Signed-off-by: Dan Carpenter
Reviewed-by: Jingoo Han
Acked-By: Lothar Waßmann
Signed-off-by: Dmitry Torokhov
Signed-off-by: Felipe Balbi -
[ Upstream commit fd335ab04b3f1b3309dfbfea71a1a79a7bacc4ad ]
There is a new firmware version for the EDT-FT5x06 chip.
Add support for detecting the firmware version and handle the
differences appropriately.Signed-off-by: Lothar Waßmann
Signed-off-by: Dmitry Torokhov
Signed-off-by: Felipe Balbi -
[ Upstream commit ee3e946e31e6df0f9845f9b3d527252003603530 ]
The chip may report invalid coordinates on touchdown events, so don't
report the initial touchdown event.Signed-off-by: Lothar Waßmann
Acked-by: Fugang Duan
Signed-off-by: Dmitry Torokhov
Signed-off-by: Felipe Balbi -
[ Upstream commit c0808467494318029f71185b42b61f1ae153afdc ]
The FT5x06 datasheet specifies a minimum reset width of 5ms and a
delay between deassertion of reset and start of reporting of 300ms.
Adjust the delays to conform to the datasheet.With the original delays I sometimes experienced communication
timeouts when initializing the controller.Signed-off-by: Lothar Waßmann
Acked-by: Fugang Duan
Signed-off-by: Dmitry Torokhov
Signed-off-by: Felipe Balbi -
[ Upstream commit dac90dc23211996286c3b934057d0df77cfef0b4 ]
Signed-off-by: Lothar Waßmann
Signed-off-by: Dmitry Torokhov
Signed-off-by: Felipe Balbi -
[ Upstream commit 1730d81460b929b1f217cb7d9cb193a7b0e58dd9 ]
- remove redundant parens
- remove redundant type casts
- fix mixed tab/space indentationSigned-off-by: Lothar Waßmann
Acked-by: Fugang Duan
Signed-off-by: Dmitry Torokhov
Signed-off-by: Felipe Balbi
21 Jan, 2014
1 commit
-
Simplify the error path and remove() function by using devm_*
functions for requesting gpios and irq and allocating the input
device.Signed-off-by: Lothar Waßmann
Signed-off-by: Dmitry Torokhov
06 Dec, 2013
1 commit
-
Use the wrapper function for retrieving the platform data instead
of accessing dev->platform_data directly. This is a cosmetic change
to make the code simpler and enhance the readability.Signed-off-by: Jingoo Han
Acked-by: Fugang Duan
Signed-off-by: Dmitry Torokhov
31 Mar, 2013
1 commit
-
kfree on a null pointer is a no-op. Hence null check is not
necessary.Signed-off-by: Sachin Kamat
Signed-off-by: Dmitry Torokhov
24 Nov, 2012
3 commits
-
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.Signed-off-by: Bill Pemberton
Acked-by: Mark Brown
Signed-off-by: Dmitry Torokhov -
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.Signed-off-by: Bill Pemberton
Acked-by: Mark Brown
Acked-by: Javier Martinez Canillas
Signed-off-by: Dmitry Torokhov -
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.Signed-off-by: Bill Pemberton
Acked-by: Russell King
Signed-off-by: Dmitry Torokhov
30 Oct, 2012
1 commit
18 Oct, 2012
1 commit
-
This removes an open coded simple_open() function and
replaces file operations references to the function
with simple_open() instead.dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)Signed-off-by: Wei Yongjun
Signed-off-by: Dmitry Torokhov
01 Oct, 2012
1 commit
-
… 'wacom' and 'wiimote' into for-linus
20 Sep, 2012
2 commits
-
copy_to_user() returns the number of bytes remaining, but we want a
negative error code here.Signed-off-by: Axel Lin
Signed-off-by: Dmitry Torokhov -
Preparing to move more repeated code into the mt core, add a flags
argument to the input_mt_slots_init() function.Reviewed-and-tested-by: Benjamin Tissoires
Tested-by: Ping Cheng
Acked-by: Dmitry Torokhov
Signed-off-by: Henrik Rydberg
22 Aug, 2012
1 commit
-
This fixes the following breakage:
edt-ft5x06.c: In function edt_ft5x06_ts_remove:
edt-ft5x06.c:846:14: error: struct edt_ft5x06_ts_data has no member named
raw_bufferSigned-off-by: Guenter Roeck
Acked-by: Simon Budig
Signed-off-by: Dmitry Torokhov
25 Jul, 2012
1 commit
-
This is a driver for the EDT "Polytouch" family of touch controllers
based on the FocalTech FT5x06 line of chips.Signed-off-by: Simon Budig
Reviewed-by: Henrik Rydberg
Signed-off-by: Dmitry Torokhov