lkml.org 
[lkml]   [2023]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] mfd: tps65219: Add support for soft shutdown via sys-off API
From


On 03/03/2023 06:36, Vignesh Raghavendra wrote:
>
>
> 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@baylibre.com/
>>
>> 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?
You are right, this is a typo. It's LP-SK
> [...]
>

\
 
 \ /
  Last update: 2023-03-27 00:42    [W:0.116 / U:2.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site