pmic: stpmic1: add support for SYSRESET_POWER_OFF
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 20 May 2019 07:47:07 +0000 (09:47 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Fri, 12 Jul 2019 09:18:53 +0000 (11:18 +0200)
commit82cd1a2a04e24b92976d46fc8a55dd7574929391
treed8477d68ae183a74768136c9a1098bf5e86ed057
parent35a54d41d9d4e91f75c87a16f7db7e362549d4f9
pmic: stpmic1: add support for SYSRESET_POWER_OFF

Adds support for SYSRESET_POWER_OFF = PMIC power off used by command
power off and introduced by commit 751fed426f87 ("sysreset: Add a way
to find the last reset").
The driver use SYSRESET_POWER for the PMIC-level power cycle, with restart.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/power/pmic/stpmic1.c