imx: power optimization for i.mx8qx
Current implementation of i.MX8QX 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 3a2b519 commit e6cf7a468e18143672219caaa7bb0e143833d6a6
@Anson Huang Anson Huang authored on 24 Jan 2019
Showing 4 changed files
View
plat/imx/imx8qx/imx8qx_bl31_setup.c
View
plat/imx/imx8qx/imx8qx_psci.c
View
plat/imx/imx8qx/include/platform_def.h
View
plat/imx/imx8qx/include/sec_rsrc.h