aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/serio
diff options
context:
space:
mode:
authorMarco Felsch <m.felsch@pengutronix.de>2020-05-09 12:10:40 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2020-05-09 14:39:37 -0700
commit21d1611a83f8aa3907ca653b5851dd01951d4da6 (patch)
tree90068f3ee4092cd12caa71785108896d0161fef3 /drivers/input/serio
parentInput: edt-ft5x06 - move parameter restore into helper (diff)
downloadlinux-dev-21d1611a83f8aa3907ca653b5851dd01951d4da6.tar.xz
linux-dev-21d1611a83f8aa3907ca653b5851dd01951d4da6.zip
Input: edt-ft5x06 - improve power management operations
It is possible to bring the device into a deep sleep state. To exit this state the reset or wakeup pin must be toggeled as documented in [1]. Because of the poor documentation I used the several downstream kernels [2] and other applications notes [3] to indentify the related registers. Furthermore I added the support to disable the device completely which is obviously the most effective power-saving mechanism. This mechanism needs the reset pin to ensure the power-up/down sequence. We can't apply any of these power-saving mechanism if both pins are missing (not connected) or if it is a wakeup device. [1] https://www.newhavendisplay.com/appnotes/datasheets/touchpanel/FT5x26.pdf https://www.newhavendisplay.com/appnotes/datasheets/touchpanel/FT5x06.pdf [2] https://github.com/linux-sunxi/linux-sunxi/blob/sunxi-3.4/drivers/input/touchscreen/ft5x_ts.c https://github.com/Pablito2020/focaltech-touch-driver/blob/master/ft5336_driver.c [3] https://www.newhavendisplay.com/appnotes/datasheets/touchpanel/FT5x16_registers.pdf Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.kernel.org/r/20200227112819.16754-4-m.felsch@pengutronix.de Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/serio')
0 files changed, 0 insertions, 0 deletions