Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1730707

[PATCH v3 7/9] soc: mediatek: add dependent clock jpgdec/audio for scpsys

From Weiyi Lu <weiyi.lu@mediatek.com>
Newsgroups linux.kernel
Subject [PATCH v3 7/9] soc: mediatek: add dependent clock jpgdec/audio for scpsys
Date 2017-09-12 09:30 +0200
Message-ID <uoNNU-6JC-21@gated-at.bofh.it> (permalink)
References <uoNNT-6JC-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---
 drivers/soc/mediatek/mtk-scpsys.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/drivers/soc/mediatek/mtk-scpsys.c b/drivers/soc/mediatek/mtk-scpsys.c
index 2569390..28c6e6a 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 @@ enum clk_id {
 	"ethif",
 	"vdec",
 	"hif_sel",
+	"jpgdec",
+	"audio",
 	NULL,
 };
 
-#define MAX_CLKS	2
+#define MAX_CLKS	3
 
 struct scp_domain_data {
 	const char *name;
-- 
1.9.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/9] Mediatek MT2712 clock and scpsys support  Weiyi Lu <weiyi.lu@mediatek.com> - 2017-09-12 09:30 +0200
  [PATCH v3 2/9] clk: mediatek: Add dt-bindings for MT2712 clocks Weiyi Lu <weiyi.lu@mediatek.com> - 2017-09-12 09:30 +0200
  [PATCH v3 9/9] arm: dts: Add power controller device node of MT2712 Weiyi Lu <weiyi.lu@mediatek.com> - 2017-09-12 09:30 +0200
  [PATCH v3 1/9] dt-bindings: ARM: Mediatek: Document bindings for MT2712 Weiyi Lu <weiyi.lu@mediatek.com> - 2017-09-12 09:30 +0200
  [PATCH v3 7/9] soc: mediatek: add dependent clock jpgdec/audio for scpsys Weiyi Lu <weiyi.lu@mediatek.com> - 2017-09-12 09:30 +0200
  [PATCH v3 8/9] soc: mediatek: add MT2712 scpsys support Weiyi Lu <weiyi.lu@mediatek.com> - 2017-09-12 09:30 +0200
  [PATCH v3 6/9] soc: mediatek: extend bus protection API Weiyi Lu <weiyi.lu@mediatek.com> - 2017-09-12 09:30 +0200

csiph-web