| e2ad194d | 04-Nov-2025 |
Yidi Lin <yidilin@google.com> |
feat(mt8196): enable MTE2
Enable the Memory Tagging Extension (MTE) feature for the MediaTek mt8196 platform by setting ENABLE_FEAT_MTE2 to 1 in the platform configuration. This enables MTE support
feat(mt8196): enable MTE2
Enable the Memory Tagging Extension (MTE) feature for the MediaTek mt8196 platform by setting ENABLE_FEAT_MTE2 to 1 in the platform configuration. This enables MTE support at EL1 and EL2.
Change-Id: Iafe4e89ad33d0834ea630009620a605ac36e0be3 Signed-off-by: Yidi Lin <yidilin@google.com>
show more ...
|
| c0047dec | 26-Aug-2025 |
Govindraj Raja <govindraj.raja@arm.com> |
Merge "feat(mt8189): add SPM low power mode" into integration |
| 32896781 | 15-Aug-2025 |
Kun Lu <kun.lu@mediatek.corp-partner.google.com> |
feat(mt8189): add SPM low power mode
1. Add enable PERI AO. 2. Add infra bus parity re-init. 3. SPM enter 26M.
Signed-off-by: Kun Lu <kun.lu@mediatek.com> Change-Id: Ifbc2d87be47f106857db17c23fb968
feat(mt8189): add SPM low power mode
1. Add enable PERI AO. 2. Add infra bus parity re-init. 3. SPM enter 26M.
Signed-off-by: Kun Lu <kun.lu@mediatek.com> Change-Id: Ifbc2d87be47f106857db17c23fb968aafec150d2
show more ...
|
| 897c2d07 | 26-Aug-2025 |
Cloud Zhang <cloud.zhang@mediatek.corp-partner.google.com> |
feat(mt8189): add UFS driver support
Add UFS driver support in platform.mk.
Signed-off-by: Cloud Zhang <cloud.zhang@mediatek.corp-partner.google.com> Change-Id: I1e816dc9c21e856ae50d4409f13b1a8598b
feat(mt8189): add UFS driver support
Add UFS driver support in platform.mk.
Signed-off-by: Cloud Zhang <cloud.zhang@mediatek.corp-partner.google.com> Change-Id: I1e816dc9c21e856ae50d4409f13b1a8598b6fb3f
show more ...
|
| 68514bd9 | 26-Aug-2025 |
irving-ch-lin <irving-ch.lin@mediatek.com> |
fix(mediatek): fix mtcmos build failure
Fix mtcmos build failure due to lack of definition: plat/mediatek/drivers/mtcmos/mtcmos_common.h:16:9: error: unknown type name 'uint32_t' plat/mediatek/drive
fix(mediatek): fix mtcmos build failure
Fix mtcmos build failure due to lack of definition: plat/mediatek/drivers/mtcmos/mtcmos_common.h:16:9: error: unknown type name 'uint32_t' plat/mediatek/drivers/mtcmos/mt8189/mtcmos.h:31:41: error: implicit declaration of function 'BIT'
Signed-off-by: irving-ch-lin <irving-ch.lin@mediatek.com> Change-Id: I6550f2b99d43c72471d481eff081affe098144dd
show more ...
|
| c2fa83f9 | 21-Aug-2025 |
Govindraj Raja <govindraj.raja@arm.com> |
Merge "feat(mt8189): add thermal driver support" into integration |
| 9fc5866a | 20-Aug-2025 |
Kun Lu <kun.lu@mediatek.corp-partner.google.com> |
fix(mt8189): remove unused SPM definitions and files
Remove unused SPM definitions and files to fix the coverity failure.
1. Remove PMIC_GS_DUMP_VER. 2. Remove CONFIG_MTK_VCOREDVFS_SUPPOR
Signed-o
fix(mt8189): remove unused SPM definitions and files
Remove unused SPM definitions and files to fix the coverity failure.
1. Remove PMIC_GS_DUMP_VER. 2. Remove CONFIG_MTK_VCOREDVFS_SUPPOR
Signed-off-by: Kun Lu <kun.lu@mediatek.com> Change-Id: I61ff4aa847bf1399b080a3c6ddecf0e3cdcbd724
show more ...
|
| 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 ...
|
| 7e864c7f | 15-Aug-2025 |
irving-ch-lin <irving-ch.lin@mediatek.com> |
feat(mt8189): add mtcmos config
Add CONFIG_MTK_MTCMOS config to enable/disable mtcmos related function
Change-Id: Id87c958651bb5b79a58700a74ce6c2e191945dce Signed-off-by: irving-ch-lin <irving-ch.l
feat(mt8189): add mtcmos config
Add CONFIG_MTK_MTCMOS config to enable/disable mtcmos related function
Change-Id: Id87c958651bb5b79a58700a74ce6c2e191945dce Signed-off-by: irving-ch-lin <irving-ch.lin@mediatek.com>
show more ...
|
| 7851f975 | 12-Aug-2025 |
Govindraj Raja <govindraj.raja@arm.com> |
Merge "feat(mt8189): enable DCM to support LP mode" into integration |
| 0f3acdce | 12-Aug-2025 |
Govindraj Raja <govindraj.raja@arm.com> |
Merge "fix(mt8189): fix mt_spm_pmic coverity" into integration |
| f018e05d | 11-Aug-2025 |
Rabio-Wang <guanghui.wang@mediatek.com> |
feat(mt8189): enable DCM to support LP mode
Move the mt8188 DCM driver to common code to support both mt8188 and mt8189 platforms. This promotes better code sharing and improves maintainability.
En
feat(mt8189): enable DCM to support LP mode
Move the mt8188 DCM driver to common code to support both mt8188 and mt8189 platforms. This promotes better code sharing and improves maintainability.
Enable Dynamic Clock Management (DCM) for MT8189 to optimize power efficiency during low power (LP) mode. When activated, DCM automatically disables unused clocks when the bus is idle and resumes them as needed during bus activity.
Signed-off-by: Rabio-Wang <guanghui.wang@mediatek.com> Change-Id: I2f9665156c0118cd04109a3cedec4c63381e47c1
show more ...
|
| 7c3bcb60 | 11-Aug-2025 |
irving-ch-lin <irving-ch.lin@mediatek.com> |
fix(mt8189): fix mt_spm_pmic coverity
The original VCORE_TO_PMIC_VAL(VCORE_0_35V) returns negative number (VCORE_BASE_UV = 40V) and cause min voltage underflow (-7 -> 4294967289).
Set_vcore_lp_volt
fix(mt8189): fix mt_spm_pmic coverity
The original VCORE_TO_PMIC_VAL(VCORE_0_35V) returns negative number (VCORE_BASE_UV = 40V) and cause min voltage underflow (-7 -> 4294967289).
Set_vcore_lp_volt will become dead code and the below condition is not met: vol >= 4294967289 and vol <= 56(VCORE_0_75V).
Change min voltage to VCORE_0_45V suggested by designer.
Signed-off-by: irving-ch-lin <irving-ch.lin@mediatek.com> Change-Id: I8fb33d52d58ba084cc4299ea1f9327c71e4ea9eb
show more ...
|
| 7d876529 | 11-Aug-2025 |
Govindraj Raja <govindraj.raja@arm.com> |
Merge "feat(mt8189): add mcdi driver" into integration |
| d8c718c5 | 23-Jul-2025 |
irving-ch-lin <irving-ch.lin@mediatek.com> |
feat(mt8189): add mt8189 mtcmos platform data
Add mt8189 mtcmos platform data.
Signed-off-by: irving-ch-lin <irving-ch.lin@mediatek.com> Change-Id: I8c979522c6105faac40e0e8f5438718063eba1a4 |
| 41004253 | 23-Jul-2025 |
irving-ch-lin <irving-ch.lin@mediatek.com> |
refactor(mt8196): refactor mtcmos driver to support per platform data
Change for seperating platform in mtcmos control: 1. Pass bus protect steps table to spm_mtcmos_ctrl_bus_prot 2. Pass has_sram f
refactor(mt8196): refactor mtcmos driver to support per platform data
Change for seperating platform in mtcmos control: 1. Pass bus protect steps table to spm_mtcmos_ctrl_bus_prot 2. Pass has_sram flags for sram control 3. Use rtff_save_flag for chip without hw RTFF_SAVE_FLAG
Add mt8196 platform data: 1. RTFF related control bit in register 2. PWR_CON address 3. bus protect steps tables
Signed-off-by: irving-ch-lin <irving-ch.lin@mediatek.com> Change-Id: I7b39bf5b590cc5cc53f4f3625a7d5a7b4de7cdcb
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 ...
|
| 3f446df4 | 29-Jul-2025 |
Hope Wang <hope.wang@mediatek.corp-partner.google.com> |
feat(mt8189): add support for PTP3
Use common PTP3 driver to protect CPU from excessive voltage drop in CPU heavy loading.
Signed-off-by: Hope Wang <hope.wang@mediatek.corp-partner.google.com> Chan
feat(mt8189): add support for PTP3
Use common PTP3 driver to protect CPU from excessive voltage drop in CPU heavy loading.
Signed-off-by: Hope Wang <hope.wang@mediatek.corp-partner.google.com> Change-Id: Iab4a77a6d1816a520f3fe112ef94efdc5789f6c8
show more ...
|
| 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 ...
|
| e079d66e | 07-Aug-2025 |
Govindraj Raja <govindraj.raja@arm.com> |
Merge "feat(mt8189): add UFS functions used by libbl31.a" into integration |
| ed11c2ff | 03-Jun-2025 |
Kun Lu <kun.lu@mediatek.com> |
feat(mt8189): add EC pin control in SPM
Set EC pin control low/high when SPM suspend/resume.
Signed-off-by: Kun Lu <kun.lu@mediatek.com> Change-Id: Id3360744e52cdcf5613e653cc831740a54140ee4 |
| d92ee8e9 | 03-Jun-2025 |
Kun Lu <kun.lu@mediatek.com> |
feat(mt8189): add LPM v2 support
Add LPM (Low Power Module) v2 support for MT8189. LPM connects idle and SPM to achieve lower power consumption in some scenarios.
Signed-off-by: Kun Lu <kun.lu@medi
feat(mt8189): add LPM v2 support
Add LPM (Low Power Module) v2 support for MT8189. LPM connects idle and SPM to achieve lower power consumption in some scenarios.
Signed-off-by: Kun Lu <kun.lu@mediatek.com> Change-Id: Iacb23acd1848a57a6a140a47e030b235cfc43068
show more ...
|
| 5f748b3c | 03-Jun-2025 |
Kun Lu <kun.lu@mediatek.com> |
feat(mt8189): add SPM common driver support
This patch mainly initializes the SPM and provides common APIs for SPM to enable the use of its various features.
Signed-off-by: Kun Lu <kun.lu@mediatek.
feat(mt8189): add SPM common driver support
This patch mainly initializes the SPM and provides common APIs for SPM to enable the use of its various features.
Signed-off-by: Kun Lu <kun.lu@mediatek.com> Change-Id: I2b60cc18eafeb21ed08194315f781209a75f2dd7
show more ...
|
| 5e91cfd6 | 03-Jun-2025 |
Kun Lu <kun.lu@mediatek.com> |
feat(mt8189): 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 freque
feat(mt8189): 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: Kun Lu <kun.lu@mediatek.com> Change-Id: I625e9498c801092a1b2ed9844fe74357c0adaf96
show more ...
|
| 65db67b8 | 03-Jun-2025 |
Kun Lu <kun.lu@mediatek.com> |
feat(mt8189): add SPM basic features support
This patch mainly collects and organizes SPM state information to facilitate debugging when issues arise.
Signed-off-by: Kun Lu <kun.lu@mediatek.com> Ch
feat(mt8189): add SPM basic features support
This patch mainly collects and organizes SPM state information to facilitate debugging when issues arise.
Signed-off-by: Kun Lu <kun.lu@mediatek.com> Change-Id: I477143c2003ed28040a4c8321bb89f81e6cc49db
show more ...
|