summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/edp.c
diff options
context:
space:
mode:
authorDiwakar Tundlam <dtundlam@nvidia.com>2011-08-11 17:22:57 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:50:03 -0800
commit19b0f6f2a488909399f7215716061bb8d21c6375 (patch)
treed624983f17c223747a5d62df8f5686d6685553af /arch/arm/mach-tegra/edp.c
parenta708adc56efefe4c158c0c42fb73b1005655a387 (diff)
ARM: Tegra: dvfs: T33 SKU EDP table
Bug 841336 Reviewed-on: http://git-master/r/60779 (cherry picked from commit 4d3f017e2715f50aaca6c7e8dc61e880947f7550) Change-Id: Ib1eeb8729a91162d39fc952eeb7494d8863a03c7 Reviewed-on: http://git-master/r/64204 Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Tested-by: Diwakar Tundlam <dtundlam@nvidia.com> Rebase-Id: Rcfa5f6c11e831c4f08e956609ea8f9d98a6111f8
Diffstat (limited to 'arch/arm/mach-tegra/edp.c')
-rw-r--r--arch/arm/mach-tegra/edp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/edp.c b/arch/arm/mach-tegra/edp.c
index 65323c3a249b..9c3cb0a87f34 100644
--- a/arch/arm/mach-tegra/edp.c
+++ b/arch/arm/mach-tegra/edp.c
@@ -101,6 +101,9 @@ static char __initdata tegra_edp_map[] = {
0x82, 0x82, 0x6e, 0x03, 0x23, 0x3c, 0x8c, 0x82,
0x78, 0x6e, 0x03, 0x23, 0x4b, 0x8c, 0x82, 0x78,
0x5f, 0x03, 0x23, 0x55, 0x8c, 0x82, 0x6e, 0x5a,
+ 0x05, 0x3c, 0x46, 0xaa, 0xa0, 0x82, 0x82, 0x05,
+ 0x3c, 0x4b, 0x91, 0x91, 0x82, 0x82, 0x05, 0x3c,
+ 0x55, 0x8c, 0x82, 0x82, 0x82,
};
@@ -126,6 +129,10 @@ void __init tegra_init_cpu_edp_limits(unsigned int regulator_mA)
struct tegra_edp_entry *t = (struct tegra_edp_entry *)tegra_edp_map;
int tsize = sizeof(tegra_edp_map)/sizeof(struct tegra_edp_entry);
+ /* FIXME: Now for T33 we use 6A limit - fix this later */
+ if (cpu_speedo_id > 3)
+ regulator_mA = 6000;
+
if (!regulator_mA) {
edp_limits = edp_default_limits;
edp_limits_size = ARRAY_SIZE(edp_default_limits);