From eccbf5186d784a1c277a3d96dcdb7d2743b84dae Mon Sep 17 00:00:00 2001 From: Jarried Lin Date: Sat, 25 Jan 2025 15:52:58 +0800 Subject: [PATCH] soc/mediatek/mt8196: Initialize mt6685 PMIF for RTC read/write API RTC read/write API requires mt6685 PMIF initialization to prevent assertion from rtc_get(). BUG=b:382351678 TEST=Build pass, boot successfully, boot log show: [INFO ] [mt6685_init_pmif_arb]CHIP ID = 0x85 Change-Id: I4b0298e71c2c270e0c48723755319348928ac1af Signed-off-by: Jarried Lin Reviewed-on: https://review.coreboot.org/c/coreboot/+/86155 Reviewed-by: Yidi Lin Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu --- src/soc/mediatek/mt8196/soc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/soc/mediatek/mt8196/soc.c b/src/soc/mediatek/mt8196/soc.c index 1636f29dd6..8aca9586d3 100644 --- a/src/soc/mediatek/mt8196/soc.c +++ b/src/soc/mediatek/mt8196/soc.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -44,6 +45,7 @@ static void soc_init(struct device *dev) sspm_init(); gpueb_init(); mcupm_init(); + mt6685_init_pmif_arb(); } static struct device_operations soc_ops = {