summaryrefslogtreecommitdiff
path: root/src/soc/mediatek
diff options
context:
space:
mode:
authorHsiao Chien Sung <shawn.sung@mediatek.com>2023-03-31 12:56:08 +0800
committerFelix Held <felix-coreboot@felixheld.de>2023-06-12 15:31:53 +0000
commit4c0dc4ee918c3046719af868999785a381f06cc5 (patch)
treec412de7081d6755b1fd59ff7d1fdd8a4db252a5c /src/soc/mediatek
parenta4f701e114a2b973e99d5de9a340f123c4b6877a (diff)
soc/mediatek/mt8188: Support 4K resolution display
The original clock rate 416MHz is insufficient for 4K resolution and causing the screen to glitch. Set the clock rate to 594MHz to support 4K resolution. BUG=b:236328487 TEST=Glitching screen was fixed after applying this patch Change-Id: Ic40dd28264d03ef7218ff4edd8d4182e0fe74ea3 Signed-off-by: Hsiao Chien Sung <shawn.sung@mediatek.com> Signed-off-by: Jason Chen <Jason-ch.Chen@mediatek.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/75661 Reviewed-by: Yidi Lin <yidilin@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek')
-rw-r--r--src/soc/mediatek/mt8188/pll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/mediatek/mt8188/pll.c b/src/soc/mediatek/mt8188/pll.c
index 176b8845fd..d892e1cf72 100644
--- a/src/soc/mediatek/mt8188/pll.c
+++ b/src/soc/mediatek/mt8188/pll.c
@@ -256,7 +256,7 @@ static const struct mux_sel mux_sels[] = {
{ .id = TOP_SCP_SEL, .sel = 5 }, /* 5: mainpll_d4_d2 */
{ .id = TOP_BUS_AXIMEM_SEL, .sel = 1 }, /* 1: mainpll_d7_d2 */
/* CLK_CFG_1 */
- { .id = TOP_VPP_SEL, .sel = 8 }, /* 8: univpll_d6 */
+ { .id = TOP_VPP_SEL, .sel = 11 }, /* 11: tvdpll1_ck */
{ .id = TOP_ETHDR_SEL, .sel = 8 }, /* 8: univpll_d6 */
{ .id = TOP_IPE_SEL, .sel = 8 }, /* 8: mainpll_d4_d2 */
{ .id = TOP_CAM_SEL, .sel = 9 }, /* 9: mainpll_d4_d2 */