pmic: stpmu1: add power switch off support
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 4 Feb 2019 10:26:19 +0000 (11:26 +0100)
committerPatrick Delaunay <patrick.delaunay@st.com>
Fri, 12 Apr 2019 14:09:13 +0000 (16:09 +0200)
commit8811583e0413c8c00116e87113c359bdc4b582b4
treeaf05b58d5a6f3fb122efb85affe8ca9e3d35d30e
parentdb4ff0df656f8ca8d363df64cddc7b5f835a7ecc
pmic: stpmu1: add power switch off support

Add sysreset support, and support power switch off request,
needed by poweroff command.

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