wang qii has uploaded this change for review. ( 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 --- M src/soc/mediatek/mt8183/pll.c 1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/19/31519/1
diff --git a/src/soc/mediatek/mt8183/pll.c b/src/soc/mediatek/mt8183/pll.c index 799b6ca..45cf989 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);
+ /* i2c module clock source selection */ + setbits_le32(&mt8183_infracfg->module_clk_sel, 0x1 << 11); + /* * TOP CLKMUX -- DO NOT CHANGE WITHOUT ADJUSTING <soc/pll.h> CONSTANTS! */