Patrick Georgi has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/31519 )
Change subject: mediatek/mt8183: Modify I2C source clock ......................................................................
mediatek/mt8183: Modify I2C source clock
This patch change i2c source clock to TOPCKGEN.
BUG=b:80501386 BRANCH=none TEST=Boot correctly on kukui.
Change-Id: I49e0acda22dba449d0873a95ba5fae79a9cef569 Signed-off-by: Qii Wang qii.wang@mediatek.com Reviewed-on: https://review.coreboot.org/c/31519 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Hung-Te Lin hungte@chromium.org --- M src/soc/mediatek/mt8183/pll.c 1 file changed, 3 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Hung-Te Lin: Looks good to me, approved
diff --git a/src/soc/mediatek/mt8183/pll.c b/src/soc/mediatek/mt8183/pll.c index 799b6ca..1967025 100644 --- a/src/soc/mediatek/mt8183/pll.c +++ b/src/soc/mediatek/mt8183/pll.c @@ -345,6 +345,9 @@ /* enable infrasys DCM */ setbits_le32(&mt8183_infracfg->infra_bus_dcm_ctrl, 0x3 << 21);
+ /* enable [11] for change i2c module source clock to TOPCKGEN */ + setbits_le32(&mt8183_infracfg->module_clk_sel, 0x1 << 11); + /* * TOP CLKMUX -- DO NOT CHANGE WITHOUT ADJUSTING <soc/pll.h> CONSTANTS! */