From: Stephen Boyd <sboyd@codeaurora.org>
To: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Bjorn Andersson <bjorn.andersson@sonymobile.com>,
Bjorn Andersson <bjorn@kryo.se>,
"Ivan T. Ivanov" <ivan.ivanov@linaro.org>,
Georgi Djakov <georgi.djakov@linaro.org>,
Peter Griffin <peter.griffin@linaro.org>,
linux-mmc <linux-mmc@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
linux-arm-msm <linux-arm-msm@vger.kernel.org>
Subject: Re: [PATCH v2] mmc: sdhci-msm: Boost controller core clock
Date: Tue, 17 Nov 2015 17:38:27 -0800 [thread overview]
Message-ID: <20151118013827.GC32672@codeaurora.org> (raw)
In-Reply-To: <CAPDyKFr2OyUPKjhN2=Yif=TzWoaHoKeBxYfBExxJhNCwnuhQdg@mail.gmail.com>
On 11/16, Ulf Hansson wrote:
> [...]
>
>
> >
> > In case you're wondering, the max frequency for sdc1 on 8974ac is
> > 400MHz. If it's just a plain 8974pro then the max frequency is
> > 200MHz. Otherwise, sdc2 maxes out at 200Mhz and sdc3 and sdc4 max
> > out at 100MHz.
>
> When you say that sdc1 supports 400MHz, what does that mean? That it
> actually can cope with that clock rate when communicating with the MMC
> card?
I suspect there must be some internal divider in the sdc IP
itself so that it doesn't put out 400MHz on the bus, but I really
don't know. What I mean is that the clock going into the IP from
the clock controller is running at 400MHz, after it goes into the
IP it could be divided, etc. before exiting the SoC on some pin.
>
> This makes me wonder how you deal with power management (DVFS).
>
> For example when you have the possibility to gate this clock (at
> request inactivity) when the rate is set to 400 MHz and OPP is
> increased, how will then that clock gating affect the OPP?
Sorry I'm not really following the question here. The gate will
disable the clock in the clock controller, cutting the signal off
upstream of the sdc IP. When we do DVFS we'll stop considering
this clock as part of the overall power level for the voltage
associated with the frequency. When all other clocks that are
using the same voltage and are on and running at frequencies that
don't need that high of voltage we can reduce the voltage and
drop down to something lower.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
next prev parent reply other threads:[~2015-11-18 1:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-06 11:53 [PATCH v2] mmc: sdhci-msm: Boost controller core clock Ivan T. Ivanov
2015-07-20 14:21 ` Ulf Hansson
2015-11-06 1:42 ` Bjorn Andersson
2015-11-06 8:10 ` Ulf Hansson
2015-11-06 23:39 ` Bjorn Andersson
2015-11-09 10:22 ` Ulf Hansson
2015-11-10 20:18 ` Stephen Boyd
2015-11-16 11:50 ` Ulf Hansson
2015-11-18 1:38 ` Stephen Boyd [this message]
2015-11-18 8:04 ` Ulf Hansson
2015-12-16 10:18 ` Ulf Hansson
2015-12-16 11:44 ` Ivan T. Ivanov
2015-12-16 13:49 ` Ulf Hansson
2015-11-09 17:09 ` Georgi Djakov
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=20151118013827.GC32672@codeaurora.org \
--to=sboyd@codeaurora.org \
--cc=bjorn.andersson@sonymobile.com \
--cc=bjorn@kryo.se \
--cc=georgi.djakov@linaro.org \
--cc=ivan.ivanov@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=peter.griffin@linaro.org \
--cc=ulf.hansson@linaro.org \
/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