Skip to content

Commit

Permalink
Atmel MXT touchscreen: increase reset timeouts
Browse files Browse the repository at this point in the history
There is a more complete atmel patch-series out by Nick Dyer that fixes
this and other things, but in the meantime this is the minimal thing to
get the touchscreen going on (at least my) Pixel Chromebook.

Not that I want my dirty fingers near that beautiful screen, but it
seems that a non-initialized touchscreen will also end up being a
constant wakeup source, so you have to disable it to go to sleep.  And
it's easier to just fix the initialization sequence.

Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
torvalds committed Mar 9, 2013
1 parent 0aefda3 commit 8343bce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/input/touchscreen/atmel_mxt_ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@
/* Define for MXT_GEN_COMMAND_T6 */
#define MXT_BOOT_VALUE 0xa5
#define MXT_BACKUP_VALUE 0x55
#define MXT_BACKUP_TIME 25 /* msec */
#define MXT_RESET_TIME 65 /* msec */
#define MXT_BACKUP_TIME 50 /* msec */
#define MXT_RESET_TIME 200 /* msec */

#define MXT_FWRESET_TIME 175 /* msec */

Expand Down

0 comments on commit 8343bce

Please sign in to comment.