| 81de5037 | 28-Feb-2024 |
Stefan Kerkmann <s.kerkmann@pengutronix.de> |
feat(imx8m): add defines for csu_sa access security
This enables the usage of speaking defines instead of magic numbers:
CSU_SA(CSU_SA_SDMA1, 1, LOCKED)
becomes:
CSU_SA(CSU_SA_SDMA1, NON_SEC_
feat(imx8m): add defines for csu_sa access security
This enables the usage of speaking defines instead of magic numbers:
CSU_SA(CSU_SA_SDMA1, 1, LOCKED)
becomes:
CSU_SA(CSU_SA_SDMA1, NON_SEC_ACCESS, LOCKED)
Change-Id: Idcabcda677bf7840084a2ea66d321b50aa0b2b20 Signed-off-by: Stefan Kerkmann <s.kerkmann@pengutronix.de>
show more ...
|
| 724ac3e2 | 10-Jan-2020 |
Jacky Bai <ping.bai@nxp.com> |
feat(imx8mq): correct the slot ack setting for STOP mode
A53 core's power up ack need to be used when system resume from DSM mode.
Signed-off-by: Jacky Bai <ping.bai@nxp.com> Change-Id: I47fb33c058
feat(imx8mq): correct the slot ack setting for STOP mode
A53 core's power up ack need to be used when system resume from DSM mode.
Signed-off-by: Jacky Bai <ping.bai@nxp.com> Change-Id: I47fb33c0582ae5f483ffaa887f95e27bd47875f7
show more ...
|
| 387a1df1 | 10-Jan-2020 |
Jacky Bai <ping.bai@nxp.com> |
feat(imx8mq): add anamix pll override setting for DSM mode
Add the anamix PLL override setting for DSM mode support, so that the PLL can be power down in DSM mode to save power.
Signed-off-by: Jack
feat(imx8mq): add anamix pll override setting for DSM mode
Add the anamix PLL override setting for DSM mode support, so that the PLL can be power down in DSM mode to save power.
Signed-off-by: Jacky Bai <ping.bai@nxp.com> Change-Id: Ibe954bc7c4a7b453ace13f8e4b6a335e6d4856c3
show more ...
|
| 88a26465 | 08-Jan-2020 |
Jacky Bai <ping.bai@nxp.com> |
feat(imx8mq): add workaround code for ERR11171 on imx8mq
This new workaround takes advantage of the per core IMR registers in GPC in order to unmask the IRQ0, still generated by the 12bit in IOMUX_G
feat(imx8mq): add workaround code for ERR11171 on imx8mq
This new workaround takes advantage of the per core IMR registers in GPC in order to unmask the IRQ0, still generated by the 12bit in IOMUX_GPR register (which now remains always set), so it can only wake up one core at the time.Also, this entire workaround has now been moved here in TF-A, allowing the kernel side to be minimal.
Another advantage this workaround brings is the removal of the 50us delay (which was necessary before in gic_raise_softirq in kernel) by allowing the core that is waking up to mask his own IRQ0 in the suspend finish callback.
One important change here is the way the cores are woken up in dram_dvfs_handler. Since the wake up mechanism has changed from asserting the 12th bit in IOMUX_GPR and leaving the IMR1 1st bit on for each core to exactly the reverse, that is, leaving the IOMUX_GPR 12th bit always set and then masking/unmasking the IMR1 1st bit for each independent core, we need to use the imx_gpc_core_wake to wake up the cores.
Also, the 50us udelay is moved to TF-A (inside imx_pwr_domain_off) from kernel(gic_raise_softirq), since the new cpuidle workaround does not need it in order to clean the IOMUX_GPC 12bit. For now, the udelay seems to be still needed in order to delay the affinity info OFF for the dying core. This is something that needs further investigation.
Signed-off-by: Abel Vesa <abel.vesa@nxp.com> Signed-off-by: Jacky Bai <ping.bai@nxp.com> Change-Id: I9f17ff6fc3452b8225a50b232964712aafeab78a
show more ...
|