devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: <weiyi.lu@mediatek.com>
To: Matthias Brugger <matthias.bgg@gmail.com>,
	Stephen Boyd <sboyd@codeaurora.org>
Cc: James Liao <jamesjj.liao@mediatek.com>,
	Fan Chen <fan.chen@mediatek.com>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org,
	linux-clk@vger.kernel.org, srv_heupstream@mediatek.com,
	Weiyi Lu <weiyi.lu@mediatek.com>
Subject: [PATCH v1 7/9] soc: mediatek: add dependent clock jpgdec/audio for scpsys
Date: Tue, 15 Aug 2017 14:42:48 +0800	[thread overview]
Message-ID: <1502779370-30150-8-git-send-email-weiyi.lu@mediatek.com> (raw)
In-Reply-To: <1502779370-30150-1-git-send-email-weiyi.lu@mediatek.com>

From: Weiyi Lu <weiyi.lu@mediatek.com>

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 b181ef2..590e82d 100644
--- a/drivers/soc/mediatek/mtk-scpsys.c
+++ b/drivers/soc/mediatek/mtk-scpsys.c
@@ -73,6 +73,8 @@ enum clk_id {
 	CLK_VENC_LT,
 	CLK_ETHIF,
 	CLK_VDEC,
+	CLK_JPGDEC,
+	CLK_AUDIO,
 	CLK_MAX,
 };
 
@@ -84,10 +86,12 @@ enum clk_id {
 	"venc_lt",
 	"ethif",
 	"vdec",
+	"jpgdec",
+	"audio",
 	NULL,
 };
 
-#define MAX_CLKS	2
+#define MAX_CLKS	3
 
 struct bus_prot_ext {
 	u32 set_ofs;
-- 
1.9.1

  parent reply	other threads:[~2017-08-15  6:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-15  6:42 [PATCH v1 0/9] Mediatek MT2712 clock and scpsys support weiyi.lu
2017-08-15  6:42 ` [PATCH v1 1/9] dt-bindings: ARM: Mediatek: Document bindings for MT2712 weiyi.lu
2017-08-17 21:04   ` Rob Herring
2017-08-15  6:42 ` [PATCH v1 2/9] clk: mediatek: Add dt-bindings for MT2712 clocks weiyi.lu
2017-08-15  6:42 ` [PATCH v1 3/9] clk: mediatek: Add MT2712 clock support weiyi.lu
     [not found] ` <1502779370-30150-1-git-send-email-weiyi.lu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2017-08-15  6:42   ` [PATCH v1 4/9] arm: dts: mt2712: Add clock controller device nodes weiyi.lu-NuS5LvNUpcJWk0Htik3J/w
2017-08-15  7:17   ` [PATCH v1 0/9] Mediatek MT2712 clock and scpsys support Sean Wang
2017-08-15  6:42 ` [PATCH v1 5/9] dt-bindings: soc: add MT2712 power dt-bindings weiyi.lu
     [not found]   ` <1502779370-30150-6-git-send-email-weiyi.lu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2017-08-17 21:09     ` Rob Herring
2017-08-15  6:42 ` [PATCH v1 6/9] soc: mediatek: add bus protection extend API weiyi.lu
     [not found]   ` <1502779370-30150-7-git-send-email-weiyi.lu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2017-08-17 10:57     ` Matthias Brugger
2017-08-15  6:42 ` weiyi.lu [this message]
2017-08-15  6:42 ` [PATCH v1 8/9] soc: mediatek: add MT2712 scpsys support weiyi.lu
2017-08-15  6:42 ` [PATCH v1 9/9] arm: dts: Add power controller device node of MT2712 weiyi.lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1502779370-30150-8-git-send-email-weiyi.lu@mediatek.com \
    --to=weiyi.lu@mediatek.com \
    --cc=devicetree@vger.kernel.org \
    --cc=fan.chen@mediatek.com \
    --cc=jamesjj.liao@mediatek.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=sboyd@codeaurora.org \
    --cc=srv_heupstream@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).