imx: power optimization for i.mx8qm
Current implementation of i.MX8QM power management related
features does NOT optimize power number, all system resources
like CCI, DDR, and A cluster etc. are kept in STBY mode (powered
ON) when system suspend or CPU hotplug.

To lower the power number, OFF mode should be adopted for those
system resources whenever they can be OFF, A cluster will be OFF
if the CPUs in the cluster are all off line, DDR/MU/DB can be OFF
if system suspend, IRQ steer can be OFF if the wakeup source is
belonged to system controller partition, so wakeup source runtime
check is used to determine if IRQ steer can be OFF before system
suspend.

If resources are powered off for suspend, they should be restored
properly after system resume.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
1 parent e9b7779 commit 3a2b51993d0c9666a6e1bdc4fd45a987ef6f1266
@Anson Huang Anson Huang authored on 24 Jan 2019
Showing 9 changed files
View
plat/imx/common/imx8_psci.c
View
plat/imx/common/include/plat_imx8.h
View
plat/imx/common/plat_imx8_gic.c
View
plat/imx/common/sci/imx8_mu.c
View
plat/imx/common/sci/imx8_mu.h
View
plat/imx/imx8qm/imx8qm_bl31_setup.c
View
plat/imx/imx8qm/imx8qm_psci.c
View
plat/imx/imx8qm/include/platform_def.h
View
plat/imx/imx8qm/include/sec_rsrc.h