Re: [PATCH] mfd: tps65219: Add support for soft shutdown via sys-off API

From: Vignesh Raghavendra
Date: Fri Mar 03 2023 - 00:36:55 EST




On 03/02/23 19:31, Jerome Neanne wrote:
> Use new API for power-off mode support:
> Link: https://lwn.net/Articles/894511/
> Link: https://lore.kernel.org/all/7hfseqa7l0.fsf@xxxxxxxxxxxx/
>
> 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-SP-SK board.
>

There is no -SP-SK that I am aware of.. Do you mean -LP-SK?
[...]

--
Regards
Vignesh