diff options
author | Ryder Lee <ryder.lee@mediatek.com> | 2018-03-06 04:09:26 -0500 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-03-19 16:40:57 -0400 |
commit | 936ceb12c5f72cd087149e3cf01347969a472801 (patch) | |
tree | 25255cf397c5ceef3f7ad9765e7d73efd263d61d | |
parent | 89cd7aec21af26fd0c117bfc4bfc781724f201de (diff) |
clk: mediatek: update missing clock data for MT7622 audsys
Add missing clock data 'CLK_AUDIO_AFE_CONN' for MT7622 audsys.
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
-rw-r--r-- | drivers/clk/mediatek/clk-mt7622-aud.c | 1 | ||||
-rw-r--r-- | include/dt-bindings/clock/mt7622-clk.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/clk/mediatek/clk-mt7622-aud.c b/drivers/clk/mediatek/clk-mt7622-aud.c index fad7d9fc53ba..13f752de7adc 100644 --- a/drivers/clk/mediatek/clk-mt7622-aud.c +++ b/drivers/clk/mediatek/clk-mt7622-aud.c | |||
@@ -106,6 +106,7 @@ static const struct mtk_gate audio_clks[] = { | |||
106 | GATE_AUDIO1(CLK_AUDIO_INTDIR, "audio_intdir", "intdir_sel", 20), | 106 | GATE_AUDIO1(CLK_AUDIO_INTDIR, "audio_intdir", "intdir_sel", 20), |
107 | GATE_AUDIO1(CLK_AUDIO_A1SYS, "audio_a1sys", "a1sys_hp_sel", 21), | 107 | GATE_AUDIO1(CLK_AUDIO_A1SYS, "audio_a1sys", "a1sys_hp_sel", 21), |
108 | GATE_AUDIO1(CLK_AUDIO_A2SYS, "audio_a2sys", "a2sys_hp_sel", 22), | 108 | GATE_AUDIO1(CLK_AUDIO_A2SYS, "audio_a2sys", "a2sys_hp_sel", 22), |
109 | GATE_AUDIO1(CLK_AUDIO_AFE_CONN, "audio_afe_conn", "a1sys_hp_sel", 23), | ||
109 | /* AUDIO2 */ | 110 | /* AUDIO2 */ |
110 | GATE_AUDIO2(CLK_AUDIO_UL1, "audio_ul1", "a1sys_hp_sel", 0), | 111 | GATE_AUDIO2(CLK_AUDIO_UL1, "audio_ul1", "a1sys_hp_sel", 0), |
111 | GATE_AUDIO2(CLK_AUDIO_UL2, "audio_ul2", "a1sys_hp_sel", 1), | 112 | GATE_AUDIO2(CLK_AUDIO_UL2, "audio_ul2", "a1sys_hp_sel", 1), |
diff --git a/include/dt-bindings/clock/mt7622-clk.h b/include/dt-bindings/clock/mt7622-clk.h index 3e514ed51d15..e9d77f0e8bce 100644 --- a/include/dt-bindings/clock/mt7622-clk.h +++ b/include/dt-bindings/clock/mt7622-clk.h | |||
@@ -235,7 +235,8 @@ | |||
235 | #define CLK_AUDIO_MEM_ASRC3 43 | 235 | #define CLK_AUDIO_MEM_ASRC3 43 |
236 | #define CLK_AUDIO_MEM_ASRC4 44 | 236 | #define CLK_AUDIO_MEM_ASRC4 44 |
237 | #define CLK_AUDIO_MEM_ASRC5 45 | 237 | #define CLK_AUDIO_MEM_ASRC5 45 |
238 | #define CLK_AUDIO_NR_CLK 46 | 238 | #define CLK_AUDIO_AFE_CONN 46 |
239 | #define CLK_AUDIO_NR_CLK 47 | ||
239 | 240 | ||
240 | /* SSUSBSYS */ | 241 | /* SSUSBSYS */ |
241 | 242 | ||