mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
![Carlo Caione](/assets/img/avatar_default.png)
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>
11 lines
437 B
Text
11 lines
437 B
Text
What: /sys/class/input/input(x)/device/startup
|
|
Date: March 2014
|
|
Contact: Carlo Caione <carlo@caione.org>
|
|
Description: Startup time in us. Board is powered on if the button is pressed
|
|
for more than <startup_time>
|
|
|
|
What: /sys/class/input/input(x)/device/shutdown
|
|
Date: March 2014
|
|
Contact: Carlo Caione <carlo@caione.org>
|
|
Description: Shutdown time in us. Board is powered off if the button is pressed
|
|
for more than <shutdown_time>
|