| 5be0e225 | 06-May-2025 |
Yidi Lin <yidilin@chromium.org> |
feat(mt8196): add SMMU SID stub implementation
Add stub implementation for SMMU SID driver.
Change-Id: Ia29fd72fb40e7ce372a27a748e0caac3300f045f Signed-off-by: Yidi Lin <yidilin@chromium.org> |
| e86fb819 | 06-May-2025 |
Yidi Lin <yidilin@chromium.org> |
feat(mt8196): add SLBC SiP handler
Add SLBC SiP handler to service MTK_SLBC_KERNEL_OP_CPU_DCC request.
Change-Id: I31b359ceb1faf0401ee34343a8f338d5804d9d68 Signed-off-by: Yidi Lin <yidilin@chromium
feat(mt8196): add SLBC SiP handler
Add SLBC SiP handler to service MTK_SLBC_KERNEL_OP_CPU_DCC request.
Change-Id: I31b359ceb1faf0401ee34343a8f338d5804d9d68 Signed-off-by: Yidi Lin <yidilin@chromium.org>
show more ...
|
| 4488b229 | 06-May-2025 |
Yidi Lin <yidilin@chromium.org> |
feat(mt8196): add CPU QoS stub implementation
Add stub implementation for CPU QoS driver.
Change-Id: I1296aaff34c860ac878ad2ac26b511fb2411510e Signed-off-by: Yidi Lin <yidilin@chromium.org> |
| 00105882 | 28-Apr-2025 |
Yidi Lin <yidilin@chromium.org> |
refactor(mediatek): update EMI stub implementation
Refactor EMI stub implementation with following changes. - Move the SiP call handlers to TF-A upstream. - Move EMI definition used by APUSYS to pla
refactor(mediatek): update EMI stub implementation
Refactor EMI stub implementation with following changes. - Move the SiP call handlers to TF-A upstream. - Move EMI definition used by APUSYS to platform_def.h. - Remove CONFIG_MTK_APUSYS_EMI_SUPPORT.
Change-Id: I30e1ee7f2ea2d6dc3415adba91cbe310af9b5eeb Signed-off-by: Yidi Lin <yidilin@chromium.org>
show more ...
|
| 97881aac | 02-May-2025 |
Yidi Lin <yidilin@chromium.org> |
feat(mediatek): add APIs exposed to the static library
To decrease the static library's dependency on TF-A, add API wrappers for mmap_add_dynamic_region and mmap_remove_dynamic_region. mtk_bl31_map_
feat(mediatek): add APIs exposed to the static library
To decrease the static library's dependency on TF-A, add API wrappers for mmap_add_dynamic_region and mmap_remove_dynamic_region. mtk_bl31_map_to_sip_error is also added for translating mtk_bl31_status codes to their corresponding MKT_SIP_E* error codes.
Change-Id: Ib4a3593ee8b481b076430d054c08f33cc3b2fa08 Signed-off-by: Yidi Lin <yidilin@chromium.org>
show more ...
|
| c33b98d7 | 23-Apr-2025 |
Yidi Lin <yidilin@chromium.org> |
feat(mt8196): add MMinfra support
Add MMinfra support for MT8196.
Change-Id: I5504764d05fecace4f0d3981785ff1bc8ae13d00 Signed-off-by: Yidi Lin <yidilin@chromium.org> |
| 31a69d9a | 30-Apr-2025 |
Yidi Lin <yidilin@chromium.org> |
feat(mt8196): add UFS functions used by the static library
Those functions are used by the static library. To reduce the proprietary code's reliance on other drivers, these functions should be moved
feat(mt8196): add UFS functions used by the static library
Those functions are used by the static library. To reduce the proprietary code's reliance on other drivers, these functions should be moved to the upstream repository.
Change-Id: I6a9430c24bb1f9c1d473b43e65168b620e6bd6b9 Signed-off-by: Yidi Lin <yidilin@chromium.org>
show more ...
|
| 4c449fca | 06-Jan-2025 |
Friday Yang <friday.yang@mediatek.corp-partner.google.com> |
feat(mt8189): add IOMMU enable control in SiP service
Add SiP service for multimedia & infra master to enable/disable MM & INFRA IOMMU in secure world
Signed-off-by: Friday Yang <friday.yang@mediat
feat(mt8189): add IOMMU enable control in SiP service
Add SiP service for multimedia & infra master to enable/disable MM & INFRA IOMMU in secure world
Signed-off-by: Friday Yang <friday.yang@mediatek.corp-partner.google.com> Change-Id: I90b4843731968671b89e3062872e1cd9aec52370
show more ...
|
| 8914774e | 08-Apr-2025 |
Boyan Karatotev <boyan.karatotev@arm.com> |
fix(mt8195): fix variable may be used uninitialized error
Change-Id: Ic0e6e286ea764ef26f4f43e327177fb653e15b07 Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com> |
| 3599f40a | 08-Apr-2025 |
Boyan Karatotev <boyan.karatotev@arm.com> |
fix(mt8188): fix variable may be used uninitialized error
When compiling with LTO enabled, the compiler can observe the `default` code path of PER_CPU_PWR_CTRL as leaving the pwr_ctrl variable unini
fix(mt8188): fix variable may be used uninitialized error
When compiling with LTO enabled, the compiler can observe the `default` code path of PER_CPU_PWR_CTRL as leaving the pwr_ctrl variable uninitialised. We know this is not possible, but assure the compiler that this will not be the case.
Change-Id: Ia58beea6b0f767fbbeb7f811af8c70fd1fece8c1 Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
show more ...
|
| 49d8678e | 30-Apr-2025 |
Gavin Liu <gavin.liu@mediatek.corp-partner.google.com> |
fix(mt8189): fix mt8189 platform build failure
Remove the system reset functionality to prevent build failures that occur when PMIC is not ready.
Signed-off-by: Gavin Liu <gavin.liu@mediatek.corp-p
fix(mt8189): fix mt8189 platform build failure
Remove the system reset functionality to prevent build failures that occur when PMIC is not ready.
Signed-off-by: Gavin Liu <gavin.liu@mediatek.corp-partner.google.com> Change-Id: I7ef2aac5a362becdd8c8f8a9d298f1dcee9cfc7a
show more ...
|
| 11bae2aa | 29-Apr-2025 |
Govindraj Raja <govindraj.raja@arm.com> |
Merge "feat(mt8189): add reset and poweroff function for PSCI call" into integration |
| 7f2b9d93 | 29-Apr-2025 |
Govindraj Raja <govindraj.raja@arm.com> |
Merge "feat(mediatek): add UFS stub implementation" into integration |
| 57c73515 | 20-Apr-2025 |
Yidi Lin <yidilin@chromium.org> |
feat(mediatek): add UFS stub implementation
Implement stub functions for UFS to ensure that the build can pass when a prebuilt library is not available.
Change-Id: If4470cd9a5b88e869363e763aec5830c
feat(mediatek): add UFS stub implementation
Implement stub functions for UFS to ensure that the build can pass when a prebuilt library is not available.
Change-Id: If4470cd9a5b88e869363e763aec5830c1f8411f5 Signed-off-by: Yidi Lin <yidilin@chromium.org>
show more ...
|
| 7794e7c0 | 24-Apr-2025 |
Vince Liu <vince-wl.liu@mediatek.corp-partner.google.com> |
feat(mt8189): disable L3C shared SRAM if the bootloader is coreboot
The coreboot of MT8189 does not disable the L3C shared SRAM because the ramstage still needs access to it. Therefore, we disable i
feat(mt8189): disable L3C shared SRAM if the bootloader is coreboot
The coreboot of MT8189 does not disable the L3C shared SRAM because the ramstage still needs access to it. Therefore, we disable it at the start of ATF.
Change-Id: If87223a1f41afd639859ff0ce80d4e64a9e02a2e Signed-off-by: Vince Liu <vince-wl.liu@mediatek.corp-partner.google.com>
show more ...
|
| a5520807 | 24-Apr-2025 |
Gavin Liu <gavin.liu@mediatek.com> |
refactor(mediatek): refactor Mediatek options.mk
Replace the individual `$(eval $(call add_defined_option, ... ))` lines with a single `DEFINED_OPTIONS` variable.
Change-Id: I20303248e7531b8c2d6d4d
refactor(mediatek): refactor Mediatek options.mk
Replace the individual `$(eval $(call add_defined_option, ... ))` lines with a single `DEFINED_OPTIONS` variable.
Change-Id: I20303248e7531b8c2d6d4d6492a1b768f7f3fc5c Signed-off-by: Gavin Liu <gavin.liu@mediatek.com>
show more ...
|
| 4e40a1fd | 14-Feb-2025 |
Gavin Liu <gavin.liu@mediatek.corp-partner.google.com> |
feat(mt8189): add reset and poweroff function for PSCI call
Add reset and poweroff function for PSCI call.
Change-Id: I6ca1552a6feb715834efcd6dc6c18a44bc299b34 Signed-off-by: Gavin Liu <gavin.liu@m
feat(mt8189): add reset and poweroff function for PSCI call
Add reset and poweroff function for PSCI call.
Change-Id: I6ca1552a6feb715834efcd6dc6c18a44bc299b34 Signed-off-by: Gavin Liu <gavin.liu@mediatek.corp-partner.google.com>
show more ...
|
| 7d196ded | 22-Apr-2025 |
Govindraj Raja <govindraj.raja@arm.com> |
Merge "feat(mt8196): show ERROR log if need" into integration |
| 16f94b91 | 22-Apr-2025 |
Gavin Liu <gavin.liu@mediatek.corp-partner.google.com> |
feat(mt8196): enable IRQ configuration
Enable IRQ configuration to add additional wake-up source to wake up the SPM.
Change-Id: Id85c74c91801de0617fda104f2beb02f8bf8ef6c Signed-off-by: Gavin Liu <g
feat(mt8196): enable IRQ configuration
Enable IRQ configuration to add additional wake-up source to wake up the SPM.
Change-Id: Id85c74c91801de0617fda104f2beb02f8bf8ef6c Signed-off-by: Gavin Liu <gavin.liu@mediatek.corp-partner.google.com>
show more ...
|
| 83a5a0d1 | 20-Dec-2024 |
ot_chhao.chang <ot_chhao.chang@mediatek.com> |
feat(mt8189): enable cirq for Mediatek MT8189
- Add CIRQ related information
Change-Id: I06a7d5b71d7e3619db3a8b881788f7625356886a Signed-off-by: ot_chhao.chang <ot_chhao.chang@mediatek.com> |
| 1d193f91 | 17-Dec-2024 |
Runyang Chen <runyang.chen@mediatek.corp-partner.google.com> |
feat(mt8189): add GIC driver on MT8189
- Add GIC driver and platform configuration.
Change-Id: I8a39252f79752dab1133035750e235962452829c Signed-off-by: Runyang Chen <runyang.chen@mediatek.corp-part
feat(mt8189): add GIC driver on MT8189
- Add GIC driver and platform configuration.
Change-Id: I8a39252f79752dab1133035750e235962452829c Signed-off-by: Runyang Chen <runyang.chen@mediatek.corp-partner.google.com>
show more ...
|
| 1ba50c33 | 17-Apr-2025 |
Chungying Lu <chungying.lu@mediatek.corp-partner.google.com> |
feat(mt8196): show ERROR log if need
There are two purposes for hardware semaphores. The first one is for the SMMU to check the NPU power status, and the second one is for NPU power control.
In the
feat(mt8196): show ERROR log if need
There are two purposes for hardware semaphores. The first one is for the SMMU to check the NPU power status, and the second one is for NPU power control.
In the case of the SMMU, if the hardware semaphore cannot be locked immediately, it means the NPU is powered off, and simply returning -EBUSY is sufficient.
Hence, there is no need to show any ERROR message for the SMMU case. (retry_times == HW_SEM_NO_WAIT)
Change-Id: I1a0b6c16e297c7564518883863ebc67e38b6561a Signed-off-by: Chungying Lu <chungying.lu@mediatek.com>
show more ...
|
| ec941f4e | 21-Apr-2025 |
Govindraj Raja <govindraj.raja@arm.com> |
Merge "refactor(mediatek): remove unused topology version" into integration |
| 03a8a06c | 18-Apr-2025 |
Gavin Liu <gavin.liu@mediatek.com> |
refactor(mediatek): remove unused topology version
Remove the topology/armv9 directory as it is no longer in use. The current ARM v9 platform now utilizes topology/group_4_3_1.
Change-Id: I5fd0266b
refactor(mediatek): remove unused topology version
Remove the topology/armv9 directory as it is no longer in use. The current ARM v9 platform now utilizes topology/group_4_3_1.
Change-Id: I5fd0266bb3320b5273bfd3b5ecffbfc90fb19664 Signed-off-by: Gavin Liu <gavin.liu@mediatek.com>
show more ...
|
| 35d18d8d | 07-Jan-2025 |
Boyan Karatotev <boyan.karatotev@arm.com> |
refactor: make arm_gicv2.c and arm_gicv3.c common
These files were meant to be platform specific, but they are generic enough that a range of platforms find them useful. However, refactoring them is
refactor: make arm_gicv2.c and arm_gicv3.c common
These files were meant to be platform specific, but they are generic enough that a range of platforms find them useful. However, refactoring them is difficult as their use is platform specific. So copy them to a generic place and redirect platforms to them.
The new copies will remain for compatibility for platforms that don't want to or can't take up upcoming refactors and the old copies can be drastically refactored to make them more widely applicable.
Change-Id: I056c8710cdda4d8a81b324d392762c29e02cdae1 Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
show more ...
|