summaryrefslogtreecommitdiff
path: root/plat/freescale/imx8mq
AgeCommit message (Collapse)Author
2017-09-02imx8mq: gpc: correct ARM power down request register offsetAnson Huang
The GPC_CPU_PGC_SW_PDN_REQ offset should be 0xfc, previous offset is incorrect, so actually ARM core is NOT powered down and the power leakage is very high. With this fix, each ARM core's leakage is about 25mA@0.9V. Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
2017-08-28fix sw pup/pdn issue on imx8mqBai Ping
The bits[3:0] of CPU_PGC_PUP/PDN_TRG use core's SW power up/down. prevous bits assignment is wrong, so fix it. Signed-off-by: Bai Ping <ping.bai@nxp.com>
2017-08-25i.mx8qm/i.mx8qxp: add SIP cpu-freq supportAnson Huang
Linux kernel will issue cpu-freq scale via SIP, ATF calls SCFW API to finish the CPU frequency scale. Move SIP service code from i.mx8mq to common place for all i.mx SoCs. Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
2017-08-17imx8mq: enable PU power domainAnson Huang
- USB PHY reset bit in SRC needs to be clear before doing USB PHY power gating in GPC, only needs to do once; - Need to handle GPC_PU_PWRHSK during power up/down; - Enable GPC pu power gate support. Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
2017-08-04imx8mq: enable all PUs power until all PUs power on/off function readyAnson Huang
As there are too many difference between each PU's power on/off flow, here enable all PUs power until all modules' power on/off function ready and tested, then we will enable this PU PGC feature. Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
2017-08-02imx8mq: fix the pcie power domain dependencyBai Ping
the PCIE1 and PCIE2 share the same reset signal, if PCIE2 is power down, PCIE1 will also be power down, so when we need to power up PCIE1, the PCIE2 need to power up too, only PCIE1 is power down, the PCIE2 power domain can be power down too Signed-off-by: Bai Ping <ping.bai@nxp.com>
2017-07-26imx8mq: do NOT enable all PU power during boot upAnson Huang
No need to enable all PU power during boot up, module driver will enable their power domain as needed. Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
2017-07-24imx8mq: Add the AIPS4 configurationsYe Li
Set the MPROTx and OPACRx in AIPS4 configuration registers to allow user mode and non-supervisor privilege level to access. Signed-off-by: Ye Li <ye.li@nxp.com>
2017-07-19imx8mq: gpc: power domain id needs to be mapped to register bit offsetAnson Huang
The power domain id does NOT equal to the register bit offset, so need to do a mapping here. Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
2017-07-19imx8mq: gpc: add hardware power down for power domainAnson Huang
Add hardware power down for all power domains. Make imx_gpc_set_m_core_pgc usable for all MIX and PU PGC. Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
2017-07-14imx8mq: gpc: mask m4 irq and override PLLs for dsmAnson Huang
Need to mask all M4 IRQ and override all PLLs/OSC before entering DSM mode, but due to DRAM self-refresh NOT ready, non-fast wakeup mode is NOT working, so we still use fast wakeup mode, which means DSM mode by default is NOT entered. After DRAM self-refresh is added, we will switch to non-fast wakeup mode to make DSM work. Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
2017-07-13Move TZC EN into SPLPeng Fan
Move TZC EN into SPL, and add check in ATF. Signed-off-by: Peng Fan <peng.fan@nxp.com>
2017-07-12imx8m: add SNVS mappingPeng Fan
Add SNVS mapping to avoid system off failure. Signed-off-by: Peng Fan <peng.fan@nxp.com>
2017-07-12imx8mq: enable tzc380Peng Fan
enable tzc380 for i.mx8mq Signed-off-by: Peng Fan <peng.fan@nxp.com>
2017-07-12imx8mq: change back BL31_LIMIT to 0x40020000Peng Fan
Change back BL31_LIMIT to 0x40020000, because TZC380 could not support 4K aligned address. Signed-off-by: Peng Fan <peng.fan@nxp.com>
2017-07-12imx8mq: add console initPeng Fan
Add console init Signed-off-by: Peng Fan <peng.fan@nxp.com>
2017-07-12plat: freescale: imx8mq: add system off supportAnson Huang
Add system off support, linux kernel can issue "poweroff" to power down system. Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
2017-07-12imx8mq: add wdog resetPeng Fan
Add wdog reset support. Signed-off-by: Peng Fan <peng.fan@nxp.com>
2017-07-12imx8mq: config the aipstz2 for imx8mqBai Ping
Enable the non-privilege access for AIPS address space. Signed-off-by: Fugang Duan <fugang.duan@nxp.com> Signed-off-by: Bai Ping <ping.bai@nxp.com>
2017-07-12i.mx8mq: Add basic support for i.mx8mqBai Ping
Add basic support for i.MX8MQ. 1. SMP support is ok. 2. basic suspend/resume support is ok. Signed-off-by: Bai Ping <ping.bai@nxp.com>