From: Patrick DELAUNAY Date: Fri, 12 Jul 2019 12:58:03 +0000 Subject: [U-Boot] [PATCH] sysreset: syscon: add support for power off In-Reply-To: <1558342719-11895-1-git-send-email-patrick.delaunay@st.com> References: <1558342719-11895-1-git-send-email-patrick.delaunay@st.com> Message-ID: <5640f664ec304cb6aaab667ecff7332a@SFHDAG6NODE3.st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, > From: Patrick DELAUNAY > 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 > --- > > drivers/sysreset/sysreset_syscon.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > Applied to u-boot-stm32/master, thanks! Patrick