diff options
author | weiyi.lu@mediatek.com <weiyi.lu@mediatek.com> | 2017-11-28 02:28:19 -0500 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2017-12-21 05:49:23 -0500 |
commit | d1fb29fac8191a7a4c9331ebbdd1aadf9ac08255 (patch) | |
tree | 95354d7e1c83d94080bfae64a37a94ab3b4841fe | |
parent | fa7e843a901d4ea6b092fea67406f85e8ec60b22 (diff) |
soc: mediatek: add dependent clock jpgdec/audio for scpsys
There are dependent clock jpgdec/audio in scpsys on MT2712,
and will exist three dependent clocks on MT2712 VDEC.
Signed-off-by: Weiyi Lu <weiyi.lu@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
-rw-r--r-- | drivers/soc/mediatek/mtk-scpsys.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/soc/mediatek/mtk-scpsys.c b/drivers/soc/mediatek/mtk-scpsys.c index 4c484b1d2f30..c0f321998067 100644 --- a/drivers/soc/mediatek/mtk-scpsys.c +++ b/drivers/soc/mediatek/mtk-scpsys.c | |||
@@ -84,6 +84,8 @@ enum clk_id { | |||
84 | CLK_ETHIF, | 84 | CLK_ETHIF, |
85 | CLK_VDEC, | 85 | CLK_VDEC, |
86 | CLK_HIFSEL, | 86 | CLK_HIFSEL, |
87 | CLK_JPGDEC, | ||
88 | CLK_AUDIO, | ||
87 | CLK_MAX, | 89 | CLK_MAX, |
88 | }; | 90 | }; |
89 | 91 | ||
@@ -96,10 +98,12 @@ static const char * const clk_names[] = { | |||
96 | "ethif", | 98 | "ethif", |
97 | "vdec", | 99 | "vdec", |
98 | "hif_sel", | 100 | "hif_sel", |
101 | "jpgdec", | ||
102 | "audio", | ||
99 | NULL, | 103 | NULL, |
100 | }; | 104 | }; |
101 | 105 | ||
102 | #define MAX_CLKS 2 | 106 | #define MAX_CLKS 3 |
103 | 107 | ||
104 | struct scp_domain_data { | 108 | struct scp_domain_data { |
105 | const char *name; | 109 | const char *name; |