
12 Jul
2019
12 Jul
'19
2:58 p.m.
Hi,
From: Patrick DELAUNAY patrick.delaunay@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@st.com
drivers/sysreset/sysreset_syscon.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Applied to u-boot-stm32/master, thanks!
Patrick