diff options
author | weiyi.lu@mediatek.com <weiyi.lu@mediatek.com> | 2017-11-28 10:28:19 +0300 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2017-12-21 13:49:23 +0300 |
commit | d1fb29fac8191a7a4c9331ebbdd1aadf9ac08255 (patch) | |
tree | 95354d7e1c83d94080bfae64a37a94ab3b4841fe /drivers/soc/mediatek | |
parent | fa7e843a901d4ea6b092fea67406f85e8ec60b22 (diff) | |
download | linux-d1fb29fac8191a7a4c9331ebbdd1aadf9ac08255.tar.xz |
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>
Diffstat (limited to 'drivers/soc/mediatek')
-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 { CLK_ETHIF, CLK_VDEC, CLK_HIFSEL, + CLK_JPGDEC, + CLK_AUDIO, CLK_MAX, }; @@ -96,10 +98,12 @@ static const char * const clk_names[] = { "ethif", "vdec", "hif_sel", + "jpgdec", + "audio", NULL, }; -#define MAX_CLKS 2 +#define MAX_CLKS 3 struct scp_domain_data { const char *name; |