summaryrefslogtreecommitdiff
path: root/plat/imx/common/imx8m/ddr4_retention.c
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2018-10-11 16:26:50 +0800
committerAnson Huang <Anson.Huang@nxp.com>2018-10-23 11:06:00 +0800
commit282f524de7f60a722910669a62bfd49eb4ec239c (patch)
treeb671f068ec295f2d73f69ba8d8911ea7e2658316 /plat/imx/common/imx8m/ddr4_retention.c
parent9aa39de9f366046a363a6754b40e9f277e73adbd (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/common/imx8m/ddr4_retention.c')
0 files changed, 0 insertions, 0 deletions