From: Mike Turquette <mturquette@gmail.com>
To: linux-omap@vger.kernel.org
Cc: Vishwanath Sripathy <vishwanath.bs@ti.com>,
Thara Gopinath <thara@ti.com>,
Shweta Gulati <shweta.gulati@ti.com>, Nishanth Menon <nm@ti.com>,
Kevin Hilman <khilman@deeprootsystems.com>,
Mike Turquette <mturquette@ti.com>
Subject: [PATCH 3/3] HACK: OMAP3630: PM: allow testing of DVFS & FBB
Date: Fri, 16 Apr 2010 16:33:23 -0500 [thread overview]
Message-ID: <1271453603-21929-4-git-send-email-mturquette@ti.com> (raw)
In-Reply-To: <1271453603-21929-1-git-send-email-mturquette@ti.com>
This hack should not be applied to any git trees.
Enables 800MHz and 1GHz OPPs on VDD1 for 36XX silicon and bypasses an
error condition in vp_forceupdate_scale_voltage to allow for voltage
scaling to happen in the absence of complete SmartReflex support.
These changes are needed to allow DVFS transitions via cpufreq on top of
pm-wip-sr and to test the FBB transitions that only happen @ 1GHz on
3630.
Not-Signed-Off-By: Mike Turquette <mturquette@ti.com>
---
arch/arm/mach-omap2/cpufreq34xx.c | 8 ++++----
arch/arm/mach-omap2/voltage.c | 1 -
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/arch/arm/mach-omap2/cpufreq34xx.c b/arch/arm/mach-omap2/cpufreq34xx.c
index 189c42e..47913dc 100644
--- a/arch/arm/mach-omap2/cpufreq34xx.c
+++ b/arch/arm/mach-omap2/cpufreq34xx.c
@@ -80,9 +80,9 @@ static struct omap_opp_def __initdata omap36xx_mpu_rate_table[] = {
/* OPP2 - OPP100 */
OMAP_OPP_DEF(true, 600000000, 1100000),
/* OPP3 - OPP-Turbo */
- OMAP_OPP_DEF(false, 800000000, 1260000),
+ OMAP_OPP_DEF(true, 800000000, 1260000),
/* OPP4 - OPP-SB */
- OMAP_OPP_DEF(false, 1000000000, 1350000),
+ OMAP_OPP_DEF(true, 1000000000, 1350000),
/* Terminator */
OMAP_OPP_DEF(0, 0, 0)
};
@@ -102,9 +102,9 @@ static struct omap_opp_def __initdata omap36xx_dsp_rate_table[] = {
/* OPP2 - OPP100 */
OMAP_OPP_DEF(true, 520000000, 1100000),
/* OPP3 - OPP-Turbo */
- OMAP_OPP_DEF(false, 660000000, 1260000),
+ OMAP_OPP_DEF(true, 660000000, 1260000),
/* OPP4 - OPP-SB */
- OMAP_OPP_DEF(false, 800000000, 1350000),
+ OMAP_OPP_DEF(true, 800000000, 1350000),
/* Terminator */
OMAP_OPP_DEF(0, 0, 0)
};
diff --git a/arch/arm/mach-omap2/voltage.c b/arch/arm/mach-omap2/voltage.c
index 98d8bb3..bec8c18 100644
--- a/arch/arm/mach-omap2/voltage.c
+++ b/arch/arm/mach-omap2/voltage.c
@@ -571,7 +571,6 @@ static int vp_forceupdate_scale_voltage(u32 vdd, unsigned long target_volt,
pr_warning("Unable to get voltage table for VDD%d \
during voltage scaling. Some really Wrong!",
vdd + 1);
- return false;
}
vp_reg[vdd].vp_errorgain = (volt_data.vp_errorgain <<
OMAP3430_ERRORGAIN_SHIFT);
--
1.6.3.2
prev parent reply other threads:[~2010-04-16 21:34 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-16 21:33 [PATCH 0/4] OMAP: PM: introduce Adaptive Body-Bias LDO Mike Turquette
2010-04-16 21:33 ` [PATCH 1/3] OMAP: PM: update PRM registers for ABB Mike Turquette
2010-04-19 21:23 ` Paul Walmsley
2010-04-16 21:33 ` [PATCH 2/3] OMAP3630: PM: implement Foward Body-Bias for OPP1G Mike Turquette
2010-04-19 7:46 ` Eduardo Valentin
2010-04-21 21:21 ` Mike Turquette
2010-04-22 13:56 ` Nishanth Menon
2010-04-23 7:03 ` Eduardo Valentin
2010-04-20 5:42 ` Paul Walmsley
2010-04-21 22:13 ` Mike Turquette
2010-05-21 12:44 ` Eduardo Valentin
2010-05-21 12:47 ` Eduardo Valentin
2010-05-21 15:02 ` Mike Turquette
2010-05-21 16:30 ` Eduardo Valentin
2010-04-16 21:33 ` Mike Turquette [this message]
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=1271453603-21929-4-git-send-email-mturquette@ti.com \
--to=mturquette@gmail.com \
--cc=khilman@deeprootsystems.com \
--cc=linux-omap@vger.kernel.org \
--cc=mturquette@ti.com \
--cc=nm@ti.com \
--cc=shweta.gulati@ti.com \
--cc=thara@ti.com \
--cc=vishwanath.bs@ti.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).