]> git.baikalelectronics.ru Git - kernel.git/commit
Input: add driver for AXP20x Power Enable Key
authorCarlo Caione <carlo@caione.org>
Mon, 29 Dec 2014 19:20:54 +0000 (11:20 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 8 Jan 2015 21:53:51 +0000 (13:53 -0800)
commit3d4670f30a43d0672e7d4b6daa8d8d0c8cd26633
tree375a3c783a93930c81a673fab90df505a08966e5
parent62bb815bf3b774abadbb25434e8d09ef4ec424de
Input: add driver for AXP20x Power Enable Key

This change adds support for the Power Enable Key found on MFD AXP202
and AXP209. Besides the basic support for the button, the driver adds
two entries in sysfs to configure the time delay for power on/off.

Signed-off-by: Carlo Caione <carlo@caione.org>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
[wens@csie.org: made axp20x_pek_remove() static; removed driver owner
 field; fixed path for sysfs entries]
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/ABI/testing/sysfs-driver-input-axp-pek [new file with mode: 0644]
drivers/input/misc/Kconfig
drivers/input/misc/Makefile
drivers/input/misc/axp20x-pek.c [new file with mode: 0644]