From: Bill Huang <bilhuang@nvidia.com> To: Stephen Warren <swarren@wwwdotorg.org> Cc: Mike Turquette <mturquette@linaro.org>, "linaro-dev@lists.linaro.org" <linaro-dev@lists.linaro.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, "patches@linaro.org" <patches@linaro.org> Subject: Re: [PATCH 2/5] clk: notifier handler for dynamic voltage scaling Date: Fri, 1 Mar 2013 18:58:18 -0800 [thread overview] Message-ID: <1362193098.2407.27.camel@bilhuang-vm1> (raw) In-Reply-To: <5131143D.2060904@wwwdotorg.org> On Sat, 2013-03-02 at 04:49 +0800, Stephen Warren wrote: > On 03/01/2013 02:41 AM, Bill Huang wrote: > > On Thu, 2013-02-28 at 12:49 +0800, Mike Turquette wrote: > >> There are three prerequisites to using this feature: > >> > >> 1) the affected clocks must be using the common clk framework > >> 2) voltage must be scaled using the regulator framework > >> 3) clock frequency and regulator voltage values must be paired via the > >> OPP library > > > > Just a note, Tegra Core won't meet prerequisite #3 since each regulator > > voltage values is associated with clocks driving those many sub-HW > > blocks in it. > > Perhaps that "just" means extending the dvfs.c code here to iterate over > each clock consumer (rather than each clock provider), and having each > set a minimum voltage (rather than a specific voltage), and having the > regulator core apply the maximum of those minimum constraints? > > Or something like that anyway. Thanks, I'll think about this or maybe study a bit, it sounds like we can leverage existing api in regulator framework (which I don't know) to do what you've proposed, please clarify if I misunderstand. > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/
WARNING: multiple messages have this Message-ID (diff)
From: bilhuang@nvidia.com (Bill Huang) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/5] clk: notifier handler for dynamic voltage scaling Date: Fri, 1 Mar 2013 18:58:18 -0800 [thread overview] Message-ID: <1362193098.2407.27.camel@bilhuang-vm1> (raw) In-Reply-To: <5131143D.2060904@wwwdotorg.org> On Sat, 2013-03-02 at 04:49 +0800, Stephen Warren wrote: > On 03/01/2013 02:41 AM, Bill Huang wrote: > > On Thu, 2013-02-28 at 12:49 +0800, Mike Turquette wrote: > >> There are three prerequisites to using this feature: > >> > >> 1) the affected clocks must be using the common clk framework > >> 2) voltage must be scaled using the regulator framework > >> 3) clock frequency and regulator voltage values must be paired via the > >> OPP library > > > > Just a note, Tegra Core won't meet prerequisite #3 since each regulator > > voltage values is associated with clocks driving those many sub-HW > > blocks in it. > > Perhaps that "just" means extending the dvfs.c code here to iterate over > each clock consumer (rather than each clock provider), and having each > set a minimum voltage (rather than a specific voltage), and having the > regulator core apply the maximum of those minimum constraints? > > Or something like that anyway. Thanks, I'll think about this or maybe study a bit, it sounds like we can leverage existing api in regulator framework (which I don't know) to do what you've proposed, please clarify if I misunderstand. > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo at vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2013-03-02 2:58 UTC|newest] Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-02-28 4:49 [PATCH v3 0/5] common clk framework reentrancy & dvfs, take 3 Mike Turquette 2013-02-28 4:49 ` Mike Turquette 2013-02-28 4:49 ` [PATCH 1/5] clk: allow reentrant calls into the clk framework Mike Turquette 2013-02-28 4:49 ` Mike Turquette 2013-02-28 9:54 ` Ulf Hansson 2013-02-28 9:54 ` Ulf Hansson 2013-03-18 20:15 ` Mike Turquette 2013-03-18 21:00 ` Russell King - ARM Linux 2013-03-18 21:00 ` Russell King - ARM Linux 2013-03-18 21:35 ` Mike Turquette 2013-03-27 3:33 ` Bill Huang 2013-03-27 3:33 ` Bill Huang 2013-03-27 8:38 ` Mike Turquette 2013-02-28 4:49 ` [PATCH 2/5] clk: notifier handler for dynamic voltage scaling Mike Turquette 2013-02-28 4:49 ` Mike Turquette 2013-03-01 9:41 ` Bill Huang 2013-03-01 9:41 ` Bill Huang 2013-03-01 18:22 ` Mike Turquette 2013-03-01 20:48 ` Mike Turquette 2013-03-02 2:55 ` Bill Huang 2013-03-02 2:55 ` Bill Huang 2013-03-02 8:22 ` Richard Zhao 2013-03-02 8:22 ` Richard Zhao 2013-03-03 10:54 ` Mike Turquette 2013-03-03 10:54 ` Mike Turquette 2013-03-03 13:27 ` Richard Zhao 2013-03-03 13:27 ` Richard Zhao 2013-03-04 7:25 ` Mike Turquette 2013-03-13 13:59 ` Ulf Hansson 2013-03-13 13:59 ` Ulf Hansson 2013-03-01 20:49 ` Stephen Warren 2013-03-01 20:49 ` Stephen Warren 2013-03-02 2:58 ` Bill Huang [this message] 2013-03-02 2:58 ` Bill Huang 2013-03-10 10:21 ` Francesco Lavra 2013-03-10 10:21 ` Francesco Lavra 2013-04-02 17:49 ` Taras Kondratiuk 2013-04-02 17:49 ` Taras Kondratiuk 2013-02-28 4:49 ` [PATCH 3/5] cpufreq: omap: scale regulator from clk notifier Mike Turquette 2013-02-28 4:49 ` Mike Turquette 2013-02-28 4:49 ` [PATCH 4/5] HACK: set_parent callback for OMAP4 non-core DPLLs Mike Turquette 2013-02-28 4:49 ` Mike Turquette 2013-02-28 4:49 ` [PATCH 5/5] HACK: omap: opp: add fake 400MHz OPP to bypass MPU Mike Turquette 2013-02-28 4:49 ` Mike Turquette
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=1362193098.2407.27.camel@bilhuang-vm1 \ --to=bilhuang@nvidia.com \ --cc=linaro-dev@lists.linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=mturquette@linaro.org \ --cc=patches@linaro.org \ --cc=swarren@wwwdotorg.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.