diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2018-10-11 16:26:50 +0800 |
---|---|---|
committer | Anson Huang <Anson.Huang@nxp.com> | 2018-10-23 11:06:00 +0800 |
commit | 282f524de7f60a722910669a62bfd49eb4ec239c (patch) | |
tree | b671f068ec295f2d73f69ba8d8911ea7e2658316 /plat/imx/imx8qxp/platform.mk | |
parent | 9aa39de9f366046a363a6754b40e9f277e73adbd (diff) |
imx8qxp: add support for cpuidle
This patch adds support for cpuidle with CPU powerdown,
there will be 3 idle states in Linux kernel:
1: wfi;
2: cpu power down;
3: cluster power down.
As Linux kernel needs a broadcast timer for waking up
CPU when whole CLUSTER is powerdown, GPT is adopted as
broadcast timer, and to make the clock & power management
easy for Linux kernel to avoid many workaround/hake in
Linux kernel, TF-A will handle GPT's power & clock management
as well as registers save/restore when suspend/resume.
Also, psci power states are used to determine CORE/CLUSTER/SYSTEM
power state to distinguish CPU idle and SYSTEM suspend which share
same domain_suspend callback.
The SoC IPs register mmap regions are merged into 1 large
section to cover all the SoC IPs register ranges TF-A needs,
this is to save mmap regions and make it simple.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Diffstat (limited to 'plat/imx/imx8qxp/platform.mk')
-rw-r--r-- | plat/imx/imx8qxp/platform.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plat/imx/imx8qxp/platform.mk b/plat/imx/imx8qxp/platform.mk index baf2f3b9..42626bcd 100644 --- a/plat/imx/imx8qxp/platform.mk +++ b/plat/imx/imx8qxp/platform.mk @@ -50,6 +50,7 @@ BL31_SOURCES += plat/imx/common/lpuart_console.S \ plat/imx/imx8qxp/imx8qxp_bl31_setup.c \ plat/imx/imx8qxp/imx8qxp_psci.c \ plat/imx/common/imx8_topology.c \ + plat/common/plat_psci_common.c \ lib/xlat_tables/xlat_tables_common.c \ lib/xlat_tables/aarch64/xlat_tables.c \ lib/cpus/aarch64/cortex_a35.S \ |