#
80cc2f0c |
| 17-Mar-2011 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: tsc2005 - don't use work for 'pen up' handling
We do not need process context to send input events so let's switch to a regular timer. I am going to get rid of taking ts->mutex in tsc2005_irq
Input: tsc2005 - don't use work for 'pen up' handling
We do not need process context to send input events so let's switch to a regular timer. I am going to get rid of taking ts->mutex in tsc2005_irq_thread() later.
Tested-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
show more ...
|
#
9a6e180a |
| 17-Mar-2011 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: tsc2005 - do not use 0 in place of NULL
Sparse in unhappy when people use 0 instead of NULL for pointers so let's rework the way we initialize spi_transfer structure in tsc2005_cmd() and tsc2
Input: tsc2005 - do not use 0 in place of NULL
Sparse in unhappy when people use 0 instead of NULL for pointers so let's rework the way we initialize spi_transfer structure in tsc2005_cmd() and tsc2005_write().
Tested-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
show more ...
|
#
c8b6846a |
| 17-Mar-2011 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: tsc2005 - use true/false for boolean variables
Tested-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
|
#
8dbcc432 |
| 17-Mar-2011 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: tsc2005 - hide selftest attribute if we can't reset
If implementation to perform self-test/reset has not been provided by the platform code hide 'selftest' sysfs attribute instead of returnin
Input: tsc2005 - hide selftest attribute if we can't reset
If implementation to perform self-test/reset has not been provided by the platform code hide 'selftest' sysfs attribute instead of returning error when someone tries to use it.
Tested-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
show more ...
|
#
99bb892d |
| 17-Mar-2011 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: tsc2005 - rework driver initialization code
We need to make sure we have time/work initialized before requesting and enabling interrupts, otherwise we might start using them way too early.
T
Input: tsc2005 - rework driver initialization code
We need to make sure we have time/work initialized before requesting and enabling interrupts, otherwise we might start using them way too early.
Tested-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
show more ...
|
#
f8a67139 |
| 17-Mar-2011 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: tsc2005 - set up bus type in input device
We know what bus we are residing on (SPI) so let's make this data available to the users.
Tested-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-
Input: tsc2005 - set up bus type in input device
We know what bus we are residing on (SPI) so let's make this data available to the users.
Tested-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
show more ...
|
#
b4b480a8 |
| 17-Mar-2011 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: tsc2005 - set up parent device
Set up SPI device as parent of the input device so it gets placed into proper place in sysfs tree.
Tested-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-of
Input: tsc2005 - set up parent device
Set up SPI device as parent of the input device so it gets placed into proper place in sysfs tree.
Tested-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
show more ...
|
#
2721a89a |
| 17-Mar-2011 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: tsc2005 - clear driver data after unbinding
We should not leave garbage pointers in driver structure after we unbind it from the device or if bind fails.
Tested-by: Aaro Koskinen <aaro.koski
Input: tsc2005 - clear driver data after unbinding
We should not leave garbage pointers in driver structure after we unbind it from the device or if bind fails.
Tested-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
show more ...
|
#
b88aa494 |
| 17-Mar-2011 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: tsc2005 - add module description
Add proper module description so that it would show in 'modinfo' output.
Tested-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by: Dmitry Torokhov <d
Input: tsc2005 - add module description
Add proper module description so that it would show in 'modinfo' output.
Tested-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
show more ...
|
#
bcd11879 |
| 17-Mar-2011 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: tsc2005 - remove driver banner message
The boot process is noisy as it is and input core already announces all new device so let's get rid of the banner message in the driver.
Tested-by: Aar
Input: tsc2005 - remove driver banner message
The boot process is noisy as it is and input core already announces all new device so let's get rid of the banner message in the driver.
Tested-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
show more ...
|
#
ef5a672f |
| 17-Mar-2011 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: tsc2005 - remove incorrect module alias
TSC2005 is not a platform driver so it should not define "platform:tsc2005" module alias.
Tested-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-of
Input: tsc2005 - remove incorrect module alias
TSC2005 is not a platform driver so it should not define "platform:tsc2005" module alias.
Tested-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
show more ...
|
#
3ff8ff53 |
| 17-Mar-2011 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: tsc2005 - convert to using dev_pm_ops
Newer code should not be using legacy suspend/resume methods but rather supply dev_pm_ops structure as it allows better control over power management.
T
Input: tsc2005 - convert to using dev_pm_ops
Newer code should not be using legacy suspend/resume methods but rather supply dev_pm_ops structure as it allows better control over power management.
Tested-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
show more ...
|
#
6b007d62 |
| 17-Mar-2011 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: tsc2005 - use spi_get/set_drvdata()
Instead of peeking into underlying device and using dev_get/set_drvdata(), let's use SPI layer's implementation to access driver-private data (which may be
Input: tsc2005 - use spi_get/set_drvdata()
Instead of peeking into underlying device and using dev_get/set_drvdata(), let's use SPI layer's implementation to access driver-private data (which may be different from driver-core private data).
Tested-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
show more ...
|
#
37bd4469 |
| 17-Mar-2011 |
Lauri Leukkunen <lauri.leukkunen@nokia.com> |
Input: introduce tsc2005 driver
Discussions:
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg26748.html
Introduce a driver for the Texas Instruments TSC2005 touchscreen controller (http:
Input: introduce tsc2005 driver
Discussions:
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg26748.html
Introduce a driver for the Texas Instruments TSC2005 touchscreen controller (http://focus.ti.com/docs/prod/folders/print/tsc2005.html).
The patch is based on a driver by Lauri Leukkunen, with modifications by David Brownell, Phil Carmody, Imre Deak, Hiroshi DOYU, Ari Kauppi, Tony Lindgren, Jarkko Nikula, Eero Nurkkala and Roman Tereshonkov.
Signed-off-by: Lauri Leukkunen <lauri.leukkunen@nokia.com> [aaro.koskinen@nokia.com: patch description, rebasing & cleanup] Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com> [ext-srikar.1.bhavanarayana@nokia.com: various fixes] Signed-off-by: Srikar <ext-srikar.1.bhavanarayana@nokia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
show more ...
|