[U-Boot] [PATCH] sysreset: syscon: add support for power off

Patrick DELAUNAY patrick.delaunay at st.com
Fri Jul 12 12:58:03 UTC 2019


Hi,

> From: Patrick DELAUNAY <patrick.delaunay at st.com>
> Sent: lundi 20 mai 2019 10:59
> 
> The new type sysreset 'POWER_OFF', introduced by commit 751fed426f87
> ("sysreset: Add a way to find the last reset") is only supported for "syscon-
> poweroff" compatible.
> 
> For details see Linux binding:
> ./Documentation/devicetree/bindings/power/reset/syscon-poweroff.txt
> 
> This patch removes the support of POWER_OFF for "syscon-reboot"
> and keeps only the COLD reset (for command reset support) and it introduces the
> compatible "syscon-poweroff"
> for the POWER_OFF case.
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
> 
>  drivers/sysreset/sysreset_syscon.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 

Applied to u-boot-stm32/master, thanks!

Patrick


More information about the U-Boot mailing list