]> git.baikalelectronics.ru Git - arm-tf.git/commit
imx: power optimization for i.mx8qx
authorAnson Huang <Anson.Huang@nxp.com>
Thu, 24 Jan 2019 08:50:02 +0000 (16:50 +0800)
committerAnson Huang <Anson.Huang@nxp.com>
Tue, 29 Jan 2019 01:26:41 +0000 (09:26 +0800)
commite6cf7a468e18143672219caaa7bb0e143833d6a6
tree5d0906df8e145786b053b09a7922d441f9b40c28
parent3a2b51993d0c9666a6e1bdc4fd45a987ef6f1266
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>
plat/imx/imx8qx/imx8qx_bl31_setup.c
plat/imx/imx8qx/imx8qx_psci.c
plat/imx/imx8qx/include/platform_def.h
plat/imx/imx8qx/include/sec_rsrc.h