]> asedeno.scripts.mit.edu Git - linux.git/commit
ARM: imx6: register pm_power_off handler if "fsl,pmic-stby-poweroff" is set
authorOleksij Rempel <o.rempel@pengutronix.de>
Thu, 2 Aug 2018 10:34:21 +0000 (12:34 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 12 Sep 2018 01:10:43 +0000 (09:10 +0800)
commit8148d2136002da2e2887caf6a07bbd9c033f14f3
tree33b725ef68e939b0ea3fd57222af6ce3b91f29a0
parent9454a0caff6ac6d2a5ea17dd624dc13387bbfcd3
ARM: imx6: register pm_power_off handler if "fsl,pmic-stby-poweroff" is set

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: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/pm-imx6.c