| 3da2d29c | 18-Jul-2025 |
Raymond Sun <raymond.sun@mediatek.com> |
feat(mt8189): add thermal driver support
The thermal sensor will be turned off when the system is in suspend state. This patch adds support for the suspend/resume flow for the thermal sensor.
Signe
feat(mt8189): add thermal driver support
The thermal sensor will be turned off when the system is in suspend state. This patch adds support for the suspend/resume flow for the thermal sensor.
Signed-off-by: Raymond Sun <raymond.sun@mediatek.com> Change-Id: I930574497b232627e0ca8f45701aead4e785c363
show more ...
|
| 5f00709e | 01-Apr-2025 |
Kai Liang <kai.liang@mediatek.corp-partner.google.com> |
feat(mt8189): add mcdi driver
Minor hardware changes require minor driver updates.
Signed-off-by: Kai Liang <kai.liang@mediatek.corp-partner.google.com> Change-Id: Ifd8f248f0ab18a5e6a4e27fce3b3f345
feat(mt8189): add mcdi driver
Minor hardware changes require minor driver updates.
Signed-off-by: Kai Liang <kai.liang@mediatek.corp-partner.google.com> Change-Id: Ifd8f248f0ab18a5e6a4e27fce3b3f345bb50d901
show more ...
|
| 69970765 | 07-Jul-2025 |
xiandong.wang <xiandong.wang@mediatek.corp-partner.google.com> |
feat(mt8189): add support display driver
After a suspend/resume cycle, the display's register state reverts to its default state. Therefore, display must set the register state to normal, allowing t
feat(mt8189): add support display driver
After a suspend/resume cycle, the display's register state reverts to its default state. Therefore, display must set the register state to normal, allowing the GCE and CPU to have the authority to configure this register.
Signed-off-by: xiandong.wang <xiandong.wang@mediatek.com> Change-Id: I124eb0eae17d7ab263c23374b70c3b6155dc7c3a
show more ...
|
| 868b2d60 | 27-Feb-2025 |
Zhigang Qin <zhigang.qin@mediatek.corp-partner.google.com> |
feat(mt8189): add pmic driver
1. add pmic shutdown/reset function 2. add pmic low power setting api
Signed-off-by: Zhigang Qin <zhigang.qin@mediatek.corp-partner.google.com> Change-Id: Ie23e8ae50a6
feat(mt8189): add pmic driver
1. add pmic shutdown/reset function 2. add pmic low power setting api
Signed-off-by: Zhigang Qin <zhigang.qin@mediatek.corp-partner.google.com> Change-Id: Ie23e8ae50a67be07f9025d69335c26b9569b3d70
show more ...
|
| 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> |
| 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 ...
|
| 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 ...
|
| 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 ...
|
| fcb80d7d | 11-Feb-2025 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes I765a7fa0,Ic33f0b6d,I8d1a88c7,I381f96be,I698fa849, ... into integration
* changes: fix(cpus): clear CPUPWRCTLR_EL1.CORE_PWRDN_EN_BIT on reset chore(docs): drop the "wfi" from `pwr_
Merge changes I765a7fa0,Ic33f0b6d,I8d1a88c7,I381f96be,I698fa849, ... into integration
* changes: fix(cpus): clear CPUPWRCTLR_EL1.CORE_PWRDN_EN_BIT on reset chore(docs): drop the "wfi" from `pwr_domain_pwr_down_wfi` chore(psci): drop skip_wfi variable feat(arm): convert arm platforms to expect a wakeup fix(cpus): avoid SME related loss of context on powerdown feat(psci): allow cores to wake up from powerdown refactor: panic after calling psci_power_down_wfi() refactor(cpus): undo errata mitigations feat(cpus): add sysreg_bit_toggle
show more ...
|
| ead26026 | 06-Feb-2025 |
Yidi Lin <yidilin@chromium.org> |
feat(mediatek): update mtk_sip_def.h
Update missing SiP SCM ID definitions. Those definitons are required when linking to the proprietary library.
Change-Id: I6b912cee9bcceac774ff2228a1e335073a1d5e
feat(mediatek): update mtk_sip_def.h
Update missing SiP SCM ID definitions. Those definitons are required when linking to the proprietary library.
Change-Id: I6b912cee9bcceac774ff2228a1e335073a1d5ea7 Signed-off-by: Yidi Lin <yidilin@chromium.org>
show more ...
|
| 2bd3b397 | 21-Oct-2024 |
Boyan Karatotev <boyan.karatotev@arm.com> |
refactor: panic after calling psci_power_down_wfi()
This function doesn't return and its callers that don't return either rely on this. Drop the dead attribute and add a panic() after it to make thi
refactor: panic after calling psci_power_down_wfi()
This function doesn't return and its callers that don't return either rely on this. Drop the dead attribute and add a panic() after it to make this expectation explicit. Calling `wfi` in the powerdown sequence is terminal so even if the function was made to return, there would be no functional change.
This is useful for a following patch that makes psci_power_down_wfi() return.
Change-Id: I62ca1ee058b1eaeb046966c795081e01bf45a2eb Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
show more ...
|
| 4794746e | 31-Dec-2024 |
Yong Wu <yong.wu@mediatek.com> |
feat(mt8196): add Mediatek MMinfra stub implementation
Implement stub functions for the MMinfra (Multimedia Infrastructure) driver to ensure that the build can pass when a prebuilt library is not av
feat(mt8196): add Mediatek MMinfra stub implementation
Implement stub functions for the MMinfra (Multimedia Infrastructure) driver to ensure that the build can pass when a prebuilt library is not available.
Change-Id: Iadac654950c868d3743b13a1d6f7ab5d1015fb86 Signed-off-by: Yong Wu <yong.wu@mediatek.com>
show more ...
|
| 35c54de1 | 29-Jan-2025 |
Govindraj Raja <govindraj.raja@arm.com> |
Merge "refactor(mediatek): refactor the data type of the return value" into integration |
| f0dce796 | 24-Dec-2024 |
Kunlong Wang <kunlong.wang@mediatek.com> |
feat(mt8196): add vcore dvfs drivers
- VCORE DVFS is the feature to change VCORE/DDR Freq for power saving - When there are no requests for using Vcore/DRAM, Vcore DVFS will - lower the voltage and
feat(mt8196): add vcore dvfs drivers
- VCORE DVFS is the feature to change VCORE/DDR Freq for power saving - When there are no requests for using Vcore/DRAM, Vcore DVFS will - lower the voltage and frequency of Vcore/DRAM to achieve power saving.
Signed-off-by: Kunlong Wang <kunlong.wang@mediatek.com> Change-Id: I1126311e8b3943cc54fb13e15973b9e1b74c129e
show more ...
|
| da8cc41b | 28-Nov-2024 |
Wenzhen Yu <wenzhen.yu@mediatek.corp-partner.google.com> |
feat(mt8196): add LPM v2 support
LPM means low power module, it will connect idle and SPM to achieve lower power consumption in some scenarios, and this patch is LPM second version
Signed-off-by: W
feat(mt8196): add LPM v2 support
LPM means low power module, it will connect idle and SPM to achieve lower power consumption in some scenarios, and this patch is LPM second version
Signed-off-by: Wenzhen Yu <wenzhen.yu@mediatek.corp-partner.google.com> Change-Id: I6ae5b5b4c2056d08c29efab5116be3a92351d8f1
show more ...
|
| 01ce1d5d | 24-Dec-2024 |
Wenzhen Yu <wenzhen.yu@mediatek.com> |
feat(mt8196): add SPM features support
When the system is in idle or suspend state, SPM will turn off some unused system resources. This patch enables this feature to achieve power saving.
Signed-o
feat(mt8196): add SPM features support
When the system is in idle or suspend state, SPM will turn off some unused system resources. This patch enables this feature to achieve power saving.
Signed-off-by: Wenzhen Yu <wenzhen.yu@mediatek.com> Change-Id: Ia9764b91073c4765d41fe7fcd8e4a21372c290f1
show more ...
|
| 5cb0bc07 | 03-Dec-2024 |
Kai Liang <kai.liang@mediatek.com> |
feat(mt8196): add mcdi driver
Add MCDI driver to manage CPU idle states and optimize power consumption.
Signed-off-by: Kai Liang <kai.liang@mediatek.com> Change-Id: I3a2e163730dd997dd72f2ebc1375dea
feat(mt8196): add mcdi driver
Add MCDI driver to manage CPU idle states and optimize power consumption.
Signed-off-by: Kai Liang <kai.liang@mediatek.com> Change-Id: I3a2e163730dd997dd72f2ebc1375dea38d728cb7
show more ...
|
| 4ba679da | 28-Dec-2024 |
Kai Liang <kai.liang@mediatek.com> |
feat(mt8196): add pwr_ctrl module for CPU power management
Implement pwr_ctrl module to manage CPU power.
Signed-off-by: Kai Liang <kai.liang@mediatek.com> Change-Id: I73a7a8a2d0b120b7225c2f3239901
feat(mt8196): add pwr_ctrl module for CPU power management
Implement pwr_ctrl module to manage CPU power.
Signed-off-by: Kai Liang <kai.liang@mediatek.com> Change-Id: I73a7a8a2d0b120b7225c2f323990176397b6e4a5
show more ...
|
| 95e974fa | 27-Dec-2024 |
Kai Liang <kai.liang@mediatek.com> |
feat(mt8196): add mcusys moudles for power management
And mcusys drivers to enhance CPU power state control.
Signed-off-by: Kai Liang <kai.liang@mediatek.com> Change-Id: I7d84407cebc16a5ab233597815
feat(mt8196): add mcusys moudles for power management
And mcusys drivers to enhance CPU power state control.
Signed-off-by: Kai Liang <kai.liang@mediatek.com> Change-Id: I7d84407cebc16a5ab23359781574e9d02e90c58b
show more ...
|
| adf73ae2 | 13-Dec-2024 |
Hope Wang <hope.wang@mediatek.corp-partner.google.com> |
feat(mt8196): add SPMI driver
Add SPMI and PMIF driver for PMIC communication
Change-Id: Iad1d90381d6dad6b3e92fd9d6a3ce02fa11d15f1 Signed-off-by: Hope Wang <hope.wang@mediatek.corp-partner.google.c
feat(mt8196): add SPMI driver
Add SPMI and PMIF driver for PMIC communication
Change-Id: Iad1d90381d6dad6b3e92fd9d6a3ce02fa11d15f1 Signed-off-by: Hope Wang <hope.wang@mediatek.corp-partner.google.com>
show more ...
|
| d4e6f98d | 13-Dec-2024 |
Hope Wang <hope.wang@mediatek.corp-partner.google.com> |
feat(mt8196): add PMIC driver
1. Add PMIC shutdown API 2. Add PMIC low power settings
Change-Id: I634a60fa3e2a74a6031df9fe59e2f52956ef7114 Signed-off-by: Hope Wang <hope.wang@mediatek.corp-partner.
feat(mt8196): add PMIC driver
1. Add PMIC shutdown API 2. Add PMIC low power settings
Change-Id: I634a60fa3e2a74a6031df9fe59e2f52956ef7114 Signed-off-by: Hope Wang <hope.wang@mediatek.corp-partner.google.com>
show more ...
|
| 39f5e278 | 31-Dec-2024 |
Gavin Liu <gavin.liu@mediatek.corp-partner.google.com> |
feat(mt8196): add Mediatek EMI stub implementation for mt8196
Implement stub functions for the EMI driver to ensure that the build can pass when a prebuilt library is not available.
Change-Id: I296
feat(mt8196): add Mediatek EMI stub implementation for mt8196
Implement stub functions for the EMI driver to ensure that the build can pass when a prebuilt library is not available.
Change-Id: I296945a3df6766a3a133cd385a1e5038ca979403 Signed-off-by: Gavin Liu <gavin.liu@mediatek.corp-partner.google.com>
show more ...
|
| 79d1c687 | 27-Nov-2024 |
Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com> |
refactor(mediatek): refactor the data type of the return value
Change the data type regarding the return value of smc_handler_t
Change-Id: I208e7f131da8771ac2f41682ca0d97de468410ee Signed-off-by: H
refactor(mediatek): refactor the data type of the return value
Change the data type regarding the return value of smc_handler_t
Change-Id: I208e7f131da8771ac2f41682ca0d97de468410ee Signed-off-by: Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
show more ...
|