ARM: Tegra: power: Tegra3 T33 set EDP limits correctly
Diwakar Tundlam [Tue, 29 Nov 2011 01:04:23 +0000 (17:04 -0800)]
bugid 844268

Use correct regulator current value obtained from bootloader
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>

Change-Id: I9059a5e83c88c6fc0e933acd3c4ab6e6b9c35078
Reviewed-on: http://git-master/r/67025
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>

Rebase-Id: Rce035e804a189df47a5b5c2a03f418d88cd9147a

arch/arm/mach-tegra/edp.c

index b0604cc..43ac672 100644 (file)
@@ -160,10 +160,6 @@ 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);