Skip to content
Commit 744e2047 authored by Oleksij Rempel's avatar Oleksij Rempel Committed by Bruce Ashfield
Browse files

ARM: imx6: register pm_power_off handler if "fsl,pmic-stby-poweroff" is set

commit 8148d213

 upstream.

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: default avatarOleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
[xl: Just register pm_power_off handler if "fsl,pmic-stby-poweroff" is
set since commit 57b59efd

("ARM: imx: add suspend/resume with FastMix
OFF support") has backported imx6_pm_stby_poweroff_probe and
imx6_pm_stby_poweroff.]
Signed-off-by: default avatarXiaolei Wang <xiaolei.wang@windriver.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent 7f1f3799
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment