summaryrefslogtreecommitdiffstats
path: root/drivers/soc/mediatek/mtk-scpsys.c
diff options
context:
space:
mode:
authorweiyi.lu@mediatek.com <weiyi.lu@mediatek.com>2017-11-28 15:28:19 +0800
committerMatthias Brugger <matthias.bgg@gmail.com>2017-12-21 11:49:23 +0100
commitd1fb29fac8191a7a4c9331ebbdd1aadf9ac08255 (patch)
tree95354d7e1c83d94080bfae64a37a94ab3b4841fe /drivers/soc/mediatek/mtk-scpsys.c
parentfa7e843a901d4ea6b092fea67406f85e8ec60b22 (diff)
downloadop-kernel-dev-d1fb29fac8191a7a4c9331ebbdd1aadf9ac08255.zip
op-kernel-dev-d1fb29fac8191a7a4c9331ebbdd1aadf9ac08255.tar.gz
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/mtk-scpsys.c')
-rw-r--r--drivers/soc/mediatek/mtk-scpsys.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/soc/mediatek/mtk-scpsys.c b/drivers/soc/mediatek/mtk-scpsys.c
index 4c484b1..c0f3219 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;
OpenPOWER on IntegriCloud