| #
59ac0e5e |
| 08-Aug-2025 |
Govindraj Raja <govindraj.raja@arm.com> |
Merge changes Iab4a77a6,I38c32fa3 into integration
* changes: feat(mt8189): add support for PTP3 refactor(mediatek): move ptp3_plat.h to common code
|
| #
c8a74b45 |
| 29-Jul-2025 |
Hope Wang <hope.wang@mediatek.corp-partner.google.com> |
refactor(mediatek): move ptp3_plat.h to common code
To improve code reusability, move the common code from mt8188/ptp3_plat.h and mt8195/ptp3_plat.h into ptp3_common.h. Place the platform-specific c
refactor(mediatek): move ptp3_plat.h to common code
To improve code reusability, move the common code from mt8188/ptp3_plat.h and mt8195/ptp3_plat.h into ptp3_common.h. Place the platform-specific code in ptp3_plat_v1.h for mt8195 and ptp3_plat_v2.h for mt8188.
Signed-off-by: Hope Wang <hope.wang@mediatek.corp-partner.google.com> Change-Id: I38c32fa3ad03f9dc7a653ed89da335d26f70f75b
show more ...
|
| #
6ffda26b |
| 08-Apr-2025 |
Govindraj Raja <govindraj.raja@arm.com> |
Merge changes I2d140b32,Id59ae926,I31c71551 into integration
* changes: feat(mt8189): add GPIO support feat(mt8189): initialize platform for MT8189 refactor(mediatek): move headers to common f
Merge changes I2d140b32,Id59ae926,I31c71551 into integration
* changes: feat(mt8189): add GPIO support feat(mt8189): initialize platform for MT8189 refactor(mediatek): move headers to common folder
show more ...
|
| #
22090026 |
| 27-Mar-2025 |
Gavin Liu <gavin.liu@mediatek.com> |
refactor(mediatek): move headers to common folder
The plat_macros.S and plat_private.h are identical across some platforms, moved to the common folder for easier maintenance.
Change-Id: I31c71551aa
refactor(mediatek): move headers to common folder
The plat_macros.S and plat_private.h are identical across some platforms, moved to the common folder for easier maintenance.
Change-Id: I31c71551aa0e891f080e58f21e6e79551d2a19e0 Signed-off-by: Gavin Liu <gavin.liu@mediatek.com>
show more ...
|
| #
1eb8983f |
| 31-Mar-2025 |
Bipin Ravi <bipin.ravi@arm.com> |
Merge "fix(cpus): remove errata setting PF_MODE to conservative" into integration
|
| #
ac9f4b4d |
| 25-Mar-2025 |
Govindraj Raja <govindraj.raja@arm.com> |
fix(cpus): remove errata setting PF_MODE to conservative
The erratum titled “Disabling of data prefetcher with outstanding prefetch TLB miss might cause a deadlock” should not be handled within TF-A
fix(cpus): remove errata setting PF_MODE to conservative
The erratum titled “Disabling of data prefetcher with outstanding prefetch TLB miss might cause a deadlock” should not be handled within TF-A. The current workaround attempts to follow option 2 but misapplies it. Specifically, it statically sets PF_MODE to conservative, which is not the recommended approach. According to the erratum documentation, PF_MODE should be configured in conservative mode only when we disable data prefetcher however this is not done in TF-A and thus the workaround is not needed in TF-A.
The static setting of PF_MODE in TF-A does not correctly address the erratum and may introduce unnecessary performance degradation on platforms that adopt it without fully understanding its implications.
To prevent incorrect or unintended use, the current implementation of this erratum workaround should be removed from TF-A and not adopted by platforms.
List of Impacted CPU's with Errata Numbers and reference to SDEN -
Cortex-A78 - 2132060 - https://developer.arm.com/documentation/SDEN1401784/latest Cortex-A78C - 2132064 - https://developer.arm.com/documentation/SDEN-2004089/latest Cortex-A710 - 2058056 - https://developer.arm.com/documentation/SDEN-1775101/latest Cortex-X2 - 2058056 - https://developer.arm.com/documentation/SDEN-1775100/latest Cortex-X3 - 2070301 - https://developer.arm.com/documentation/SDEN2055130/latest Neoverse-N2 - 2138953 - https://developer.arm.com/documentation/SDEN-1982442/latest Neoverse-V1 - 2108267 - https://developer.arm.com/documentation/SDEN-1401781/latest Neoverse-V2 - 2331132 - https://developer.arm.com/documentation/SDEN-2332927/latest
Change-Id: Icf4048508ae070b2df073cc46c63be058b2779df Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
show more ...
|
| #
79c26232 |
| 18-Jan-2023 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes from topic "mtk_spm" into integration
* changes: refactor(mediatek): add new LPM API for further extension refactor(mediatek): change the parameters of LPM API refactor(mediatek)
Merge changes from topic "mtk_spm" into integration
* changes: refactor(mediatek): add new LPM API for further extension refactor(mediatek): change the parameters of LPM API refactor(mediatek): change LPM header file path for further extension feat(mt8188): keep infra and peri on when system suspend feat(mt8188): enable SPM and LPM feat(mt8188): add SPM feature support feat(mt8188): add MT8188 SPM support feat(mediatek): add SPM's SSPM notifier feat(mt8188): add the register definitions accessed by SPM feat(mediatek): add new features of LPM
show more ...
|
| #
1c5fc9a2 |
| 06-Jan-2023 |
Liju-Clr Chen <liju-clr.chen@mediatek.com> |
refactor(mediatek): change LPM header file path for further extension
Move `mt_lp_rm.h` to `plat/mediatek/include/lpm` for further extension.
Change-Id: If377ce6791ce80f82643b0f2466eb0f1aa5aa40b Si
refactor(mediatek): change LPM header file path for further extension
Move `mt_lp_rm.h` to `plat/mediatek/include/lpm` for further extension.
Change-Id: If377ce6791ce80f82643b0f2466eb0f1aa5aa40b Signed-off-by: Liju-Clr Chen <liju-clr.chen@mediatek.com>
show more ...
|
| #
84498ad1 |
| 14-Nov-2022 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes I5838964f,Id752c1cc,Idd42d5a2,Iff4680cd,I2b1801a7, ... into integration
* changes: fix(mt8188): add mmap entry for CPU idle SRAM fix(mt8188): refine gic init flow after system resu
Merge changes I5838964f,Id752c1cc,Idd42d5a2,Iff4680cd,I2b1801a7, ... into integration
* changes: fix(mt8188): add mmap entry for CPU idle SRAM fix(mt8188): refine gic init flow after system resume fix(mt8186): fix the DRAM voltage after the system resumes feat(mt8188): add audio support refactor(mt8195): use ptp3 common drivers feat(mt8188): add support for PTP3 feat(mt8188): enable MTK_PUBEVENT_ENABLE
show more ...
|
| #
f278d84d |
| 03-Nov-2022 |
Liju-Clr Chen <liju-clr.chen@mediatek.com> |
refactor(mt8195): use ptp3 common drivers
Some 8195 ptp3 drivers are the same in plat/mediatek/drivers/ptp3, so add this patch to reuse them.
Change-Id: I2b1801a73b6a2979e20d49d314c57f663dc5bf04 Si
refactor(mt8195): use ptp3 common drivers
Some 8195 ptp3 drivers are the same in plat/mediatek/drivers/ptp3, so add this patch to reuse them.
Change-Id: I2b1801a73b6a2979e20d49d314c57f663dc5bf04 Signed-off-by: Liju-Clr Chen <liju-clr.chen@mediatek.com>
show more ...
|
| #
af1ee1fa |
| 05-Oct-2022 |
Olivier Deprez <olivier.deprez@arm.com> |
Merge changes from topic "mt8188 cpu_pm" into integration
* changes: feat(mediatek): move lpm drivers back to common feat(mt8188): add cpu_pm driver fix(mt8188): refine c-state power domain fo
Merge changes from topic "mt8188 cpu_pm" into integration
* changes: feat(mediatek): move lpm drivers back to common feat(mt8188): add cpu_pm driver fix(mt8188): refine c-state power domain for extensibility
show more ...
|
| #
cd7890d7 |
| 29-Sep-2022 |
Bo-Chen Chen <rex-bc.chen@mediatek.com> |
feat(mediatek): move lpm drivers back to common
In order to sync drivers with MediaTek internal code base, we move lpm drivers back to common folder.
Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediat
feat(mediatek): move lpm drivers back to common
In order to sync drivers with MediaTek internal code base, we move lpm drivers back to common folder.
Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com> Change-Id: I1066e092febe0abb9782a46f668613e137737c88
show more ...
|
| #
04f28f89 |
| 05-Sep-2022 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes from topic "mt8188" into integration
* changes: feat(mt8188): add pinctrl support feat(mt8188): add RTC support feat(mt8188): add pmic and pwrap support refator(mediatek): move
Merge changes from topic "mt8188" into integration
* changes: feat(mt8188): add pinctrl support feat(mt8188): add RTC support feat(mt8188): add pmic and pwrap support refator(mediatek): move pmic.[c|h] to common folder refator(mediatek): move common definitions of pmic wrap to common folder feat(mt8188): add IOMMU enable control in SiP service feat(mt8188): add display port control in SiP service fix(mediatek): use uppercase for definition feat(mediatek): move dp drivers to common folder feat(mediatek): move mtk_cirq.c drivers to cirq folder feat(mt8188): initialize GIC feat(mt8188): initialize systimer feat(mt8188): initialize platform for MediaTek MT8188 refator(mediatek): remove unused files refator(mediatek): move drivers folder in common to plat/mediatek feat(mediatek): support coreboot BL31 loading
show more ...
|
| #
80fa7584 |
| 01-Sep-2022 |
Bo-Chen Chen <rex-bc.chen@mediatek.com> |
refator(mediatek): move pmic.[c|h] to common folder
These two files are identical on MT8192 and MT8195. They can also be used on MT8188. So move them to common/drivers/pmic/.
Signed-off-by: Bo-Chen
refator(mediatek): move pmic.[c|h] to common folder
These two files are identical on MT8192 and MT8195. They can also be used on MT8188. So move them to common/drivers/pmic/.
Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com> Change-Id: I8c12d15f1da79ab5767ac02b3ab70e8508155ee8
show more ...
|
| #
ca93b018 |
| 01-Sep-2022 |
Bo-Chen Chen <rex-bc.chen@mediatek.com> |
refator(mediatek): move common definitions of pmic wrap to common folder
Some definitions can be shared among mt8192, mt8195, and mt8186, so move them to pmic_wrap_init_common.h.
Signed-off-by: Bo-
refator(mediatek): move common definitions of pmic wrap to common folder
Some definitions can be shared among mt8192, mt8195, and mt8186, so move them to pmic_wrap_init_common.h.
Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com> Change-Id: I992b61a47a84039fe8c246e2ff75721c57ee41a5
show more ...
|
| #
d150b629 |
| 11-Jul-2022 |
Rex-BC Chen <rex-bc.chen@mediatek.com> |
feat(mediatek): move dp drivers to common folder
Display port driver can be reused, so we move it to common/drivers.
TEST=build mt8195 pass BUG=b:233720142
Signed-off-by: Bo-Chen Chen <rex-bc.chen
feat(mediatek): move dp drivers to common folder
Display port driver can be reused, so we move it to common/drivers.
TEST=build mt8195 pass BUG=b:233720142
Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com> Change-Id: I58c7b41ba3ad653cdf6f6fbae6778abfd7e950a9
show more ...
|
| #
cc76896d |
| 08-Jul-2022 |
Rex-BC Chen <rex-bc.chen@mediatek.com> |
feat(mediatek): move mtk_cirq.c drivers to cirq folder
To use cirq drivers more easier, we place mtk_cirq.c and mtk_cirq.h to common/drivers/cirq.
We also rename mtk_cirq.c/h to mt_cirq.c/h for con
feat(mediatek): move mtk_cirq.c drivers to cirq folder
To use cirq drivers more easier, we place mtk_cirq.c and mtk_cirq.h to common/drivers/cirq.
We also rename mtk_cirq.c/h to mt_cirq.c/h for consistency with other driver folders.
TEST=build pass for mt8192/mt8195/mt8186 BUG=b:236331724
Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com> Change-Id: I71bc442f00b16fb4031260937982c0496fcaaea0
show more ...
|
| #
3374752f |
| 05-Sep-2022 |
Bo-Chen Chen <rex-bc.chen@mediatek.com> |
refator(mediatek): move drivers folder in common to plat/mediatek
We plan to put some soc related drivers in common/drivers. To reduce confision, we move them to plat/mediatek.
Signed-off-by: Bo-Ch
refator(mediatek): move drivers folder in common to plat/mediatek
We plan to put some soc related drivers in common/drivers. To reduce confision, we move them to plat/mediatek.
Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com> Change-Id: I6b344e660f40a23b15151aab073d3045b28f52aa
show more ...
|
| #
5340c5a0 |
| 30-Aug-2022 |
Olivier Deprez <olivier.deprez@arm.com> |
Merge changes from topics "mtk_cold_boot", "mtk_init_scheme", "smc_registration_use_case", "vendor_extend_pubsub_event" into integration
* changes: feat(mediatek): implement generic platform port
Merge changes from topics "mtk_cold_boot", "mtk_init_scheme", "smc_registration_use_case", "vendor_extend_pubsub_event" into integration
* changes: feat(mediatek): implement generic platform port refactor(mediatek): smc registration services feat(mediatek): introduce mtk init framework refactor(mediatek): partition MTK SiP SMC ID feat(mediatek): extend SiP vendor subscription events
show more ...
|
| #
2f3f5939 |
| 29-May-2022 |
Leon Chen <leon.chen@mediatek.com> |
refactor(mediatek): partition MTK SiP SMC ID
Manage MTK SiP SMC ID with macros for 32/64 bit and function declaration code generation. Partition SMC ID with different exception level sources.
Signe
refactor(mediatek): partition MTK SiP SMC ID
Manage MTK SiP SMC ID with macros for 32/64 bit and function declaration code generation. Partition SMC ID with different exception level sources.
Signed-off-by: Leon Chen <leon.chen@mediatek.com> Change-Id: I8966cd94f0d825e7ebae08833d2bd9fceedfd45e
show more ...
|
| #
e537bcde |
| 10-Jan-2022 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge "feat(mt8195): apply erratas of CA78 for MT8195" into integration
|
| #
c21a736d |
| 05-Jan-2022 |
Rex-BC Chen <rex-bc.chen@mediatek.corp-partner.google.com> |
feat(mt8195): apply erratas of CA78 for MT8195
MT8195 uses Cortex A78 CPU, so we apply these erratas.
TEST=build pass BUG=none
Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Change-Id: I5ce
feat(mt8195): apply erratas of CA78 for MT8195
MT8195 uses Cortex A78 CPU, so we apply these erratas.
TEST=build pass BUG=none
Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Change-Id: I5ce3d5c490a12226bff4eb5a2d55687da0f74f0e
show more ...
|
| #
2141a685 |
| 01-Dec-2021 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes I0c1f7d6c,I3bec0b58,If24cf213 into integration
* changes: feat(plat/mediatek/apu): add mt8195 APU clock and pll SiP call feat(plat/mediatek/apu): add mt8195 APU mcu boot and stop S
Merge changes I0c1f7d6c,I3bec0b58,If24cf213 into integration
* changes: feat(plat/mediatek/apu): add mt8195 APU clock and pll SiP call feat(plat/mediatek/apu): add mt8195 APU mcu boot and stop SiP call feat(plat/mediatek/apu): add mt8195 APU iommap regions
show more ...
|
| #
296b5902 |
| 08-Nov-2021 |
Flora Fu <flora.fu@mediatek.com> |
feat(plat/mediatek/apu): add mt8195 APU clock and pll SiP call
The clock and pll of mt8195 can be locked into security access by device apc. Add clock and pll related SiP call for the access from Ke
feat(plat/mediatek/apu): add mt8195 APU clock and pll SiP call
The clock and pll of mt8195 can be locked into security access by device apc. Add clock and pll related SiP call for the access from Kernel space.
Signed-off-by: Flora Fu <flora.fu@mediatek.com> Change-Id: I0c1f7d6c6abdd3b976492a0b776dc5b1d1f1512b
show more ...
|
| #
88906b44 |
| 01-Nov-2021 |
Flora Fu <flora.fu@mediatek.com> |
feat(plat/mediatek/apu): add mt8195 APU mcu boot and stop SiP call
Add APU SiP call support for start/stop mcu.
Signed-off-by: Flora Fu <flora.fu@mediatek.com> Change-Id: I3bec0b588a2884327ba645e95
feat(plat/mediatek/apu): add mt8195 APU mcu boot and stop SiP call
Add APU SiP call support for start/stop mcu.
Signed-off-by: Flora Fu <flora.fu@mediatek.com> Change-Id: I3bec0b588a2884327ba645e9568c0150436afa42
show more ...
|