aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/clk
diff options
context:
space:
mode:
authorWeiyi Lu <weiyi.lu@mediatek.com>2018-12-14 10:04:17 +0800
committerStephen Boyd <sboyd@kernel.org>2019-02-05 13:28:04 -0800
commit51ff86dd1069a9ea52672efb20b89dbaff6dffe1 (patch)
treeb2d353b0726ed3d5c80f417a1a48269248f58750 /drivers/clk
parentdt-bindings: clock: add clock for MT2712 (diff)
downloadwireguard-linux-51ff86dd1069a9ea52672efb20b89dbaff6dffe1.tar.xz
wireguard-linux-51ff86dd1069a9ea52672efb20b89dbaff6dffe1.zip
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>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/mediatek/clk-mt2712.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/clk/mediatek/clk-mt2712.c b/drivers/clk/mediatek/clk-mt2712.c
index 991d4093726e..e36f4aab634d 100644
--- a/drivers/clk/mediatek/clk-mt2712.c
+++ b/drivers/clk/mediatek/clk-mt2712.c
@@ -223,6 +223,8 @@ static const struct mtk_fixed_factor top_divs[] = {
4),
FACTOR(CLK_TOP_APLL1_D3, "apll1_d3", "apll1_ck", 1,
3),
+ FACTOR(CLK_TOP_APLL2_D3, "apll2_d3", "apll2_ck", 1,
+ 3),
};
static const char * const axi_parents[] = {
@@ -594,7 +596,8 @@ static const char * const a1sys_hp_parents[] = {
"apll1_ck",
"apll1_d2",
"apll1_d4",
- "apll1_d8"
+ "apll1_d8",
+ "apll1_d3"
};
static const char * const a2sys_hp_parents[] = {
@@ -602,7 +605,8 @@ static const char * const a2sys_hp_parents[] = {
"apll2_ck",
"apll2_d2",
"apll2_d4",
- "apll2_d8"
+ "apll2_d8",
+ "apll2_d3"
};
static const char * const asm_l_parents[] = {