ARM: i.MX: provide handler for power off over standby
One of the Freescale recommended sequences for power off with external
PMIC is the following:
...
3.  SoC is programming PMIC for power off when standby is asserted.
4.  In CCM STOP mode, Standby is asserted, PMIC gates SoC supplies.

See:
http://www.nxp.com/assets/documents/data/en/reference-manuals/IMX6DQRM.pdf
page 5083

This patch implements step 4. of this sequence.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
1 parent e16c539 commit 1e9458720a2379f65cb9b50b2e9214f6790ad84c
@Oleksij Rempel Oleksij Rempel authored on 7 Jul 2017
Lucas Stach committed on 7 Jul 2017
Showing 2 changed files
View
arch/arm/mach-imx/imx6.c
View
arch/arm/mach-imx/include/mach/imx6.h