summaryrefslogtreecommitdiff
path: root/src/soc/mediatek
diff options
context:
space:
mode:
authorNancy.Lin <nancy.lin@mediatek.com>2021-05-07 10:46:29 +0800
committerHung-Te Lin <hungte@chromium.org>2021-05-13 01:44:15 +0000
commita1e7ab6f82786032fe7d02ec70abc65b5ca3a9ad (patch)
treeab4b42e339afff99ae15e40dffe3dca36cc4f1ee /src/soc/mediatek
parent00b43c98437484c59da0d1332936ee9a15d453fe (diff)
downloadcoreboot-a1e7ab6f82786032fe7d02ec70abc65b5ca3a9ad.tar.xz
soc/mediatek/mt8195: change vpp_sel default mux for 4k support
vpp_sel and ethdr_sel are vdosys clock source select mux. Steps to change to support 4K source. 1. Change vpp_sel source to mainpll_d4 to run at 546MHz 2. Change ethdr_sel source to univpll_d6 to run at 416MHz Signed-off-by: Nancy Lin <nancy.lin@mediatek.com> Change-Id: Ib6518ed6204528489c41e7161534bbd3734ac851 Reviewed-on: https://review.coreboot.org/c/coreboot/+/54082 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek')
-rw-r--r--src/soc/mediatek/mt8195/pll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/mediatek/mt8195/pll.c b/src/soc/mediatek/mt8195/pll.c
index 6e85def9c2..9e9718eb7a 100644
--- a/src/soc/mediatek/mt8195/pll.c
+++ b/src/soc/mediatek/mt8195/pll.c
@@ -332,8 +332,8 @@ static const struct mux_sel mux_sels[] = {
{ .id = TOP_SCP_SEL, .sel = 7 }, /* 7: mainpll_d6_d2 */
{ .id = TOP_BUS_AXIMEM_SEL, .sel = 3 }, /* 3: mainpll_d5_d2 */
/* CLK_CFG_1 */
- { .id = TOP_VPP_SEL, .sel = 2 }, /* 2: mainpll_d5_d2 */
- { .id = TOP_ETHDR_SEL, .sel = 10 }, /* 10: mmpll_d5_d4 */
+ { .id = TOP_VPP_SEL, .sel = 9 }, /* 9: mainpll_d4 */
+ { .id = TOP_ETHDR_SEL, .sel = 8 }, /* 8: univpll_d6 */
{ .id = TOP_IPE_SEL, .sel = 8 }, /* 8: mainpll_d4_d2 */
{ .id = TOP_CAM_SEL, .sel = 8 }, /* 8: mainpll_d4_d2 */
/* CLK_CFG_2 */