Re: [PATCH 4.19 182/422] ARM: imx6: register pm_power_off handler if "fsl,pmic-stby-poweroff" is set

From: Pavel Machek
Date: Tue Nov 19 2019 - 15:19:49 EST


Hi!

> From: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
>
> [ Upstream commit 8148d2136002da2e2887caf6a07bbd9c033f14f3 ]
>
> 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.


> + if (of_property_read_bool(np, "fsl,pmic-stby-poweroff"))
> + imx6_pm_stby_poweroff_probe();
> }

This is only active when fsl,pmic-stby-poweroff is present somewhere
in the tree, and that is not the case for 4.19-stable AFAICT. Is it
still good idea to have it stable branch?

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature