626af8611211c55595cd316103abd2419cd4d861 |
|
07-Oct-2011 |
Daniel Kurtz <djkurtz@chromium.org> |
Input: atmel_mxt_ts - use snprintf for sysfs attribute show method Sysfs attribute show methods are always passed a buffer of length PAGE_SIZE. To keep from overwriting this buffer and causing havoc, use snprintf() to guarantee we never write more than the buffer can hold. In addition, at least for my touchscreen, the number and size of objects was far too big to fit in a single 4K page. Therefore, this patch also trims some redundant framing text to leave more room for actual data. Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> Acked-by: Nick Dyer <nick.dyer@itdev.co.uk> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/touchscreen/atmel_mxt_ts.c
|
28ac293363368650963ee4c1e323c1ff502c121f |
|
16-Aug-2011 |
Yufeng Shen <miletus@chromium.org> |
Input: atmel_mxt_ts - report pressure information from the driver Atmel mxt1386 touch controller has the touch pressure information so let's report it to the user space. [dtor@mail.ru: added ABS_RESSURE reporting for ST emulation.] Signed-off-by: Yufeng Shen <miletus@chromium.org> Acked-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> Acked-by: Henrik Rydberg <rydberg@euromail.se> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/touchscreen/atmel_mxt_ts.c
|
a93d4f2d023ea5e84c0104d4e479243c6ac77d17 |
|
04-Jul-2011 |
Iiro Valkonen <iiro.valkonen@atmel.com> |
Input: atmel_mxt_ts - handle objects with multiple instances correctly Handle the objects with multiple instances correctly when the configuration data is loaded. Signed-off-by: Iiro Valkonen <iiro.valkonen@atmel.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/touchscreen/atmel_mxt_ts.c
|
81c88a711aef5552375c4296bb473fdf9b12273c |
|
04-Jul-2011 |
Iiro Valkonen <iiro.valkonen@atmel.com> |
Input: atmel_mxt_ts - update object list Update the object list to include new objects, and add unique identifiers so we can distinguish between old & new generation of the same object. Signed-off-by: Iiro Valkonen <iiro.valkonen@atmel.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/touchscreen/atmel_mxt_ts.c
|
8b86c1c28f569301aa1a113a060f9ed803300903 |
|
13-Apr-2011 |
Joonyoung Shim <jy0922.shim@samsung.com> |
Input: atmel_mxt_ts - convert to MT protocol B Atmel touchscreen chips can use MT protocol B because they can assign unique id to ABS_MT_TRACKING_ID from finger id provided by hardware. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Reviewed-by: Henrik Rydberg <rydberg@euromail.se> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/touchscreen/atmel_mxt_ts.c
|
08960a070add74cda8c968b8ace5418a5acf17c3 |
|
13-Apr-2011 |
Iiro Valkonen <iiro.valkonen@atmel.com> |
Input: atmel_mxt_ts - make CHG line high after enabling interrupts Make the CHG line (interrupt line) go high after the interrupts have been enabled to make sure we don't miss the falling edge. Signed-off-by: Iiro Valkonen <iiro.valkonen@atmel.com> Acked-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/touchscreen/atmel_mxt_ts.c
|
910d80513056589d3b12b3aad8598d19e0a0a5bd |
|
13-Apr-2011 |
Joonyoung Shim <jy0922.shim@samsung.com> |
Input: atmel_mxt_ts - support 12bit resolution Atmel touchscreen chip can support 12bit resolution and this patch modifies to get maximum x and y size from platform data. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Acked-by: Iiro Valkonen <iiro.valkonen@atmel.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/touchscreen/atmel_mxt_ts.c
|
4c75de32eb9fcaa14925e2e444748f8b71e4f6fc |
|
15-Mar-2011 |
Joonyoung Shim <jy0922.shim@samsung.com> |
Input: atmel_mxt_ts - add objects of mXT1386 chip Atmel mXT1386 chip is operated by atmel_mxt_ts driver and it has some different objects. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/touchscreen/atmel_mxt_ts.c
|
979a72dad9c6649486e35a84324af8e81936af03 |
|
15-Mar-2011 |
Joonyoung Shim <jy0922.shim@samsung.com> |
Input: atmel_mxt_ts - remove firmware version check Atmel touchscreen chips have different firmware version with each chip, so we cannot distinguish attribute of chip by firmware version. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/touchscreen/atmel_mxt_ts.c
|
0d3c07378bb7d423302d7cb0dcd3fa5a26c40220 |
|
24-Feb-2011 |
Iiro Valkonen <iiro.valkonen@atmel.com> |
Input: atmel_mxt_ts - remove matrix size check The mxt_check_matrix_size() is currently setting the CTE mode to match xline/yline information that is in the platform data, but it does not take into account for example the fact that we could have a key array in use too (key array would use some x/y lines as well). It would be better to simply rely on the configuration data, and make sure that the CTE mode set in there matches the touch object (touchscreen, key array, proximity) configuration (which are set in the config data too). Signed-off-by: Iiro Valkonen <iiro.valkonen@atmel.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/touchscreen/atmel_mxt_ts.c
|
919ed895f0b4227da26ea1b0a1347db5010f105e |
|
15-Feb-2011 |
Iiro Valkonen <iiro.valkonen@atmel.com> |
Input: atmel_mxt_ts - allow board code to specify IRQ flags Different board have different requirements/setups so let's be more flexible. Signed-off-by: Iiro Valkonen <iiro.valkonen@atmel.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/touchscreen/atmel_mxt_ts.c
|
71749f5c66e797a39600dae9de58aab3858dc488 |
|
15-Feb-2011 |
Iiro Valkonen <iiro.valkonen@atmel.com> |
Input: atmel_mxt_ts - allow board code to suppliy controller config As there is no common configuration settings that would work in every situation, remove the fixed config data from driver code and add config data to platform data. Signed-off-by: Iiro Valkonen <iiro.valkonen@atmel.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/touchscreen/atmel_mxt_ts.c
|
46ee2a05a466ca7e34d65fe3feba195d62109362 |
|
15-Feb-2011 |
Chris Leech <christopher.leech@linux.intel.com> |
Input: atmel_mxt_ts - add mXT224 identifier to id_table "mXT224" is used in the Intel mid firmware in SFI tables to identify the presence of this I2C device. Signed-off-by: Chris Leech <christopher.leech@linux.intel.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/touchscreen/atmel_mxt_ts.c
|
26cdb1ae76f842e895ef4d09796a9101a7f8746b |
|
04-Feb-2011 |
Iiro Valkonen <iiro.valkonen@atmel.com> |
Input: atmel_mxt_ts - read whole message to make CHG low Read the whole message, as reading just the first byte isn't always guaranteed to clear the message. Signed-off-by: Iiro Valkonen <iiro.valkonen@atmel.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/touchscreen/atmel_mxt_ts.c
|
7686b108d8ef5c32f429d5228798636f3a1caf5a |
|
03-Feb-2011 |
Iiro Valkonen <iiro.valkonen@atmel.com> |
Input: atmel_mxt_ts - get rid of qt602240 prefixes in names Change prefixes from qt602240 to mxt to reflect that the driver supports whole line of mXT touchscreens. Signed-off-by: Iiro Valkonen <iiro.valkonen@atmel.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/touchscreen/atmel_mxt_ts.c
|
964de52147c2842092642512e6f654fc2ab51408 |
|
03-Feb-2011 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: qt602240_ts - rename to atmel_mxt_ts Since the driver will be supporting whole range of Atmels mXT touchscreen controllers we better rename it to atmel_mxt_ts. Acked-by: Iiro Valkonen <iiro.valkonen@atmel.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/touchscreen/atmel_mxt_ts.c
|