summaryrefslogtreecommitdiff
path: root/drivers/power/max17040_battery.c
diff options
context:
space:
mode:
authorFrans Klaver <frans.klaver@xsens.com>2015-01-14 08:15:45 (GMT)
committerSebastian Reichel <sre@kernel.org>2015-01-20 12:58:31 (GMT)
commitee18185331ded6bbcf1aa59b9a81545c1ff5eecd (patch)
tree55ab58e03ece08587e36c8a8fb1f4d6b9647447a /drivers/power/max17040_battery.c
parentc1ada2ff8045eacc11a3b894f2056aa5457b17b5 (diff)
downloadlinux-ee18185331ded6bbcf1aa59b9a81545c1ff5eecd.tar.xz
power: reset: ltc2952: make trigger input optional
Currently the ltc2952 supports only one button sequence to initiate powerdown. This is not always desirable, as even prolonged button presses can happen in use. Allow ltc2952 users to pick their own power down sequence, by making the trigger input optional. Since this still means that the ltc2952 may power down the platform if the power button is pressed for about 5 seconds, we still need to make sure to start the watchdog toggle to prolong the system power for as long as we need it. This will still allow the system to control power using the kill signal. Signed-off-by: Frans Klaver <frans.klaver@xsens.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/max17040_battery.c')
0 files changed, 0 insertions, 0 deletions