Skip to content
Commit 48694218 authored by Patrick Delaunay's avatar Patrick Delaunay
Browse files

sysreset: syscon: add support for power off



The new type sysreset 'POWER_OFF', introduced by
commit 751fed42 ("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: default avatarPatrick Delaunay <patrick.delaunay@st.com>
parent 4048e171
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment