summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/ads7846.c
diff options
context:
space:
mode:
authorNick Dyer <nick.dyer@itdev.co.uk>2014-07-28 10:14:34 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-07-28 10:26:29 -0700
commit9d469d033d135d80742a4e39e6bbb4519dd5eee1 (patch)
tree347632dc1343950e8ad504d42fb03c164df3ff6c /drivers/input/touchscreen/ads7846.c
parentf048615efc34035e217af148ebdde8ce6efd8af9 (diff)
Input: atmel_mxt_ts - use deep sleep mode when stopped
By writing zero to both the active and idle cycle times the maXTouch device is put into a deep sleep mode when it consumes minimal power. It is unnecessary to change the configuration of any other objects (for example to disable T9 touchscreen). It is counterproductive to reset the chip on resume, it will result in a long delay. However it is necessary to issue a calibrate command after the chip has spent any time in deep sleep. This patch also deals with the situation where the power configuration is zero on probe, which would mean that the device never wakes up to execute commands. Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk> Acked-by: Benson Leung <bleung@chromium.org> Acked-by: Yufeng Shen <miletus@chromium.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/ads7846.c')
0 files changed, 0 insertions, 0 deletions