mbox series

[v4,0/2] Allow imx6qp PU domain off in suspend

Message ID cover.1556313614.git.leonard.crestez@nxp.com (mailing list archive)
Headers show
Series Allow imx6qp PU domain off in suspend | expand

Message

Leonard Crestez April 26, 2019, 9:38 p.m. UTC
On imx6qp power gating on the PU domain is disabled because of errata
ERR009619. However power gating during suspend/resume can still be
performed.

Implemented with a new core flag because otherwise distinguishing
between "runtime off" and "suspend off" is very complicated.

Link to v3 for previous attempt: https://lkml.org/lkml/2018/7/6/698

The imx vendor tree has been doing this for a many years but it uses
direct calls from platform suspend to GPC driver.

Link to v1 for similar attempt: https://lkml.org/lkml/2018/7/2/357

Leonard Crestez (2):
  PM / Domains: Add GENPD_FLAG_NO_RUNTIME_OFF flag
  soc: imx: gpc: Use GENPD_FLAG_NO_RUNTIME_OFF for ERR009619

 drivers/base/power/domain.c |  8 ++++++--
 drivers/soc/imx/gpc.c       | 13 +++++++++++--
 include/linux/pm_domain.h   |  4 ++++
 3 files changed, 21 insertions(+), 4 deletions(-)