* [PM-WIP-OPP] [PATCH v2] omap3: pm: cpufreq: populate l3 opp1 again
@ 2010-01-28 20:38 Nishanth Menon
2010-02-04 19:35 ` Kevin Hilman
0 siblings, 1 reply; 2+ messages in thread
From: Nishanth Menon @ 2010-01-28 20:38 UTC (permalink / raw)
To: linux-omap
Cc: Nishanth Menon, Andrew Murray, Kevin Hilman, Romit Dasgupta,
Benoit Cousson
We had removed the frequency for OPP1 L3 when we used to use frequency
to enable/disable frequencies. It is better to populate the same
instead of confusing future readers of the code. The OPP1 remains
disabled as explained in the discussion.
Discussion: http://marc.info/?t=126453821900001&r=1&w=2
Cc: Andrew Murray <amurray@mpc-data.co.uk>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Cc: Romit Dasgupta <romit@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
---
Ref:
v1: http://marc.info/?t=126465729200002&r=1&w=2
Adding Signed-off-by Benoit to attribute the comment message which I
"borrowed" from his excellent explanation in the mail thread and put
as comment.
arch/arm/mach-omap2/cpufreq34xx.c | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2/cpufreq34xx.c b/arch/arm/mach-omap2/cpufreq34xx.c
index 07873e8..9882451 100644
--- a/arch/arm/mach-omap2/cpufreq34xx.c
+++ b/arch/arm/mach-omap2/cpufreq34xx.c
@@ -42,8 +42,15 @@ static struct omap_opp_def __initdata omap34xx_mpu_rate_table[] = {
};
static struct omap_opp_def __initdata omap34xx_l3_rate_table[] = {
- /* OPP1 */
- OMAP_OPP_DEF(false, 0, 975000),
+ /*
+ * OPP1 - 41.5 MHz is disabled because: The voltage for that OPP is
+ * almost the same than the one at 83MHz thus providing very little
+ * gain for the power point of view. In term of energy it will even
+ * increase the consumption due to the very negative performance
+ * impact that frequency will do to the MPU and the whole system in
+ * general.
+ */
+ OMAP_OPP_DEF(false, 41500000, 975000),
/* OPP2 */
OMAP_OPP_DEF(true, 83000000, 1050000),
/* OPP3 */
--
1.6.3.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PM-WIP-OPP] [PATCH v2] omap3: pm: cpufreq: populate l3 opp1 again
2010-01-28 20:38 [PM-WIP-OPP] [PATCH v2] omap3: pm: cpufreq: populate l3 opp1 again Nishanth Menon
@ 2010-02-04 19:35 ` Kevin Hilman
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Hilman @ 2010-02-04 19:35 UTC (permalink / raw)
To: Nishanth Menon; +Cc: linux-omap, Andrew Murray, Romit Dasgupta, Benoit Cousson
Nishanth Menon <nm@ti.com> writes:
> We had removed the frequency for OPP1 L3 when we used to use frequency
> to enable/disable frequencies. It is better to populate the same
> instead of confusing future readers of the code. The OPP1 remains
> disabled as explained in the discussion.
>
> Discussion: http://marc.info/?t=126453821900001&r=1&w=2
>
> Cc: Andrew Murray <amurray@mpc-data.co.uk>
> Cc: Kevin Hilman <khilman@deeprootsystems.com>
> Cc: Romit Dasgupta <romit@ti.com>
>
> Signed-off-by: Nishanth Menon <nm@ti.com>
> Signed-off-by: Benoit Cousson <b-cousson@ti.com>
> ---
>
> Ref:
> v1: http://marc.info/?t=126465729200002&r=1&w=2
>
> Adding Signed-off-by Benoit to attribute the comment message which I
> "borrowed" from his excellent explanation in the mail thread and put
> as comment.
Thanks, pulled into pm-wip-opp branch.
Kevin
> arch/arm/mach-omap2/cpufreq34xx.c | 11 +++++++++--
> 1 files changed, 9 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/cpufreq34xx.c b/arch/arm/mach-omap2/cpufreq34xx.c
> index 07873e8..9882451 100644
> --- a/arch/arm/mach-omap2/cpufreq34xx.c
> +++ b/arch/arm/mach-omap2/cpufreq34xx.c
> @@ -42,8 +42,15 @@ static struct omap_opp_def __initdata omap34xx_mpu_rate_table[] = {
> };
>
> static struct omap_opp_def __initdata omap34xx_l3_rate_table[] = {
> - /* OPP1 */
> - OMAP_OPP_DEF(false, 0, 975000),
> + /*
> + * OPP1 - 41.5 MHz is disabled because: The voltage for that OPP is
> + * almost the same than the one at 83MHz thus providing very little
> + * gain for the power point of view. In term of energy it will even
> + * increase the consumption due to the very negative performance
> + * impact that frequency will do to the MPU and the whole system in
> + * general.
> + */
> + OMAP_OPP_DEF(false, 41500000, 975000),
> /* OPP2 */
> OMAP_OPP_DEF(true, 83000000, 1050000),
> /* OPP3 */
> --
> 1.6.3.3
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-02-04 19:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-28 20:38 [PM-WIP-OPP] [PATCH v2] omap3: pm: cpufreq: populate l3 opp1 again Nishanth Menon
2010-02-04 19:35 ` Kevin Hilman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox