]> git.baikalelectronics.ru Git - kernel.git/commit
soc: imx6qp: Use GENPD_FLAG_ALWAYS_ON for PU errata
authorLeonard Crestez <leonard.crestez@nxp.com>
Fri, 13 Jul 2018 10:01:15 +0000 (13:01 +0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 17 Jul 2018 06:12:14 +0000 (14:12 +0800)
commit0e7a40c5031ed04b76afd25239cd680ea2f90471
treefd074b711b7082188ee9678594e35ff6b8a177ed
parent8c81eda022765f907ed78e8d4bcd05dae2102c5e
soc: imx6qp: Use GENPD_FLAG_ALWAYS_ON for PU errata

This is functionally identical but simpler and slightly faster.

The PU domain is turned on at boot time and never turned off. In the
current implementation the pm core will repeatedly call power_off when
the domain is unused and get -EBUSY back. If the domain is marked as
"always on" instead the pm core won't even attempt to turn it off.

In theory on 6qp it is safe to turn PU off in suspend, however that is
best accomplished with a new core flag.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/gpc.c