diff options
author | Jerome Neanne <[email protected]> | 2023-06-08 09:19:47 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2023-06-15 09:19:38 +0100 |
commit | 3df4c63675203da74385b00dd72ae90cc59dd710 (patch) | |
tree | d3596ddbb23b7431ab10bf429cb4a4e24c1552c2 /tools/perf/scripts/python | |
parent | 95100ed6ad4f0f74de2c4bb03618e57c896a7a89 (diff) |
mfd: tps65219: Add support for soft shutdown via sys-off API
Use new API for power-off mode support:
Link: https://lwn.net/Articles/894511/
Link: https://lore.kernel.org/all/[email protected]/
sys-off API allows support of shutdown handler and restart handler.
Shutdown was not supported before that enhancement.
This is required for platform that are not using PSCI.
Test:
- restart:
# reboot
Default is cold reset:
# cat /sys/kernel/reboot/mode
Switch boot mode to warm reset:
# echo warm > /sys/kernel/reboot/mode
- power-off:
# halt
Tested on AM62-LP-SK board.
Signed-off-by: Jerome Neanne <[email protected]>
Suggested-by: Andrew Davis <[email protected]>
Reviewed-by: Andrew Davis <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions