Skip to content

Commit 51ff86d

Browse files
WeiyiLu-MediaTekbebarino
authored andcommitted
clk: mediatek: update clock driver of MT2712
According to 3rd ECO design change, 1. Add new fixed factor clock of audio. 2. Add the parent clocks for audio clock mux. Signed-off-by: Weiyi Lu <weiyi.lu@mediatek.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent c3424f5 commit 51ff86d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

drivers/clk/mediatek/clk-mt2712.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ static const struct mtk_fixed_factor top_divs[] = {
223223
4),
224224
FACTOR(CLK_TOP_APLL1_D3, "apll1_d3", "apll1_ck", 1,
225225
3),
226+
FACTOR(CLK_TOP_APLL2_D3, "apll2_d3", "apll2_ck", 1,
227+
3),
226228
};
227229

228230
static const char * const axi_parents[] = {
@@ -594,15 +596,17 @@ static const char * const a1sys_hp_parents[] = {
594596
"apll1_ck",
595597
"apll1_d2",
596598
"apll1_d4",
597-
"apll1_d8"
599+
"apll1_d8",
600+
"apll1_d3"
598601
};
599602

600603
static const char * const a2sys_hp_parents[] = {
601604
"clk26m",
602605
"apll2_ck",
603606
"apll2_d2",
604607
"apll2_d4",
605-
"apll2_d8"
608+
"apll2_d8",
609+
"apll2_d3"
606610
};
607611

608612
static const char * const asm_l_parents[] = {

0 commit comments

Comments
 (0)