From: James Liao <jamesjj.liao@mediatek.com>
To: Sascha Hauer <s.hauer@pengutronix.de>,
Daniel Kurtz <djkurtz@chromium.org>
Cc: devicetree@vger.kernel.org, Kevin Hilman <khilman@kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
linux-mediatek@lists.infradead.org,
Sasha Hauer <kernel@pengutronix.de>,
Matthias Brugger <matthias.bgg@gmail.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH 5/5] ARM64: MediaTek MT8173: Add SCPSYS device node
Date: Fri, 22 May 2015 10:41:43 +0800 [thread overview]
Message-ID: <1432262503.14396.14.camel@mtksdaap41> (raw)
In-Reply-To: <20150521174916.GQ6325@pengutronix.de>
Hi Daniel,
On Thu, 2015-05-21 at 19:49 +0200, Sascha Hauer wrote:
> On Thu, May 21, 2015 at 10:32:40PM +0800, Daniel Kurtz wrote:
> > > + scpsys: scpsys@10006000 {
> > > + compatible = "mediatek,mt8173-scpsys";
> > > + #power-domain-cells = <1>;
> > > + reg = <0 0x10006000 0 0x1000>;
> > > + clocks = <&clk26m>,
> >
> > Why is mfg using <&clk26m> and not <&topckgen CLK_TOP_MFG_SEL>?
>
> Because James Liao said to me that it is derived from clk26m and not
> from mfg_sel.
Sascha is right. I had confirmed with our designer that MFG on MT8173
uses clk26m to check state. I also tested MFG domain power on/off with
CLK_TOP_MFG_SEL off and it worked correctly.
> > I saw another patch set on the list today from James Liao that adds more clocks.
> > Perhaps we can move the SCPSYS set on top of that one and include more clocks?
> >
> > > + <&topckgen CLK_TOP_MM_SEL>;
The clocks used by scpsys driver are subsystem bus clocks that need to
be on before power on these domains. On MT8173, subsystem bus clocks are
come from topckgen.
My patch set yesterday add subsystem clocks, which are not needed by
power domain on/off. So I think these 2 patch set are independent.
Best regards,
James
next prev parent reply other threads:[~2015-05-22 2:41 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-20 14:18 [PATCH v3] Mediatek SCPSYS power domain support Sascha Hauer
[not found] ` <1432131540-2523-1-git-send-email-s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-05-20 14:18 ` [PATCH 1/5] soc: mediatek: Add infracfg misc driver support Sascha Hauer
[not found] ` <1432131540-2523-2-git-send-email-s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-05-21 8:09 ` Paul Bolle
2015-05-20 14:18 ` [PATCH 3/5] soc: Mediatek: Add SCPSYS power domain driver Sascha Hauer
[not found] ` <1432131540-2523-4-git-send-email-s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-05-21 8:22 ` Paul Bolle
2015-06-09 8:42 ` Sascha Hauer
2015-05-20 14:18 ` [PATCH 2/5] dt-bindings: soc: Add documentation for the MediaTek SCPSYS unit Sascha Hauer
2015-05-20 14:18 ` [PATCH 4/5] ARM64: MediaTek: Add generic pm domain support Sascha Hauer
2015-05-20 14:19 ` [PATCH 5/5] ARM64: MediaTek MT8173: Add SCPSYS device node Sascha Hauer
2015-05-21 14:32 ` Daniel Kurtz
[not found] ` <CAGS+omDHEY54TzhNTJcFOeHkGbXAQwiTh9gxc=PsbzjwmpHEDA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-21 15:34 ` Matthias Brugger
2015-05-21 17:49 ` Sascha Hauer
2015-05-22 2:41 ` James Liao [this message]
2015-05-22 4:19 ` Daniel Kurtz
[not found] ` <CAGS+omB4j0YyTP5e4q_jXY2TOA1MTD-dPvsKJMAmj5NooWHxeQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-22 5:40 ` James Liao
2015-05-22 6:12 ` Daniel Kurtz
-- strict thread matches above, loose matches on Subject: below --
2015-06-09 8:46 [PATCH v4] Mediatek SCPSYS power domain support Sascha Hauer
[not found] ` <1433839623-10804-1-git-send-email-s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-06-09 8:47 ` [PATCH 5/5] ARM64: MediaTek MT8173: Add SCPSYS device node Sascha Hauer
2015-06-16 18:17 ` Kevin Hilman
2015-06-17 7:56 ` Sascha Hauer
2015-05-11 19:23 [PATCH v2] Mediatek SCPSYS power domain support Sascha Hauer
2015-05-11 19:23 ` [PATCH 5/5] ARM64: MediaTek MT8173: Add SCPSYS device node Sascha Hauer
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=1432262503.14396.14.camel@mtksdaap41 \
--to=jamesjj.liao@mediatek.com \
--cc=devicetree@vger.kernel.org \
--cc=djkurtz@chromium.org \
--cc=kernel@pengutronix.de \
--cc=khilman@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=s.hauer@pengutronix.de \
/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).