arm: tegra: soctherm: Modify support configuring OC alarms
Diwakar Tundlam [Tue, 2 Apr 2013 22:34:46 +0000 (15:34 -0700)]
Don't enable OC2 and OC4 handling for Dalmore as it has neither a
modem (for OC2 handling) nor a max77663 regulator (for OC4 handling)

Bug 1206300

Change-Id: I3e7955af2d180c56790b1e6cb559a3503eac3af7
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/215718
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishnan Geeyarpuram <kgeeyarpuram@nvidia.com>

arch/arm/mach-tegra/board-dalmore-power.c

index ad6ab97..6f0fef0 100644 (file)
@@ -1377,35 +1377,6 @@ static struct soctherm_platform_data dalmore_soctherm_data = {
                                },
                        },
                },
-               [THROTTLE_OC2] = {
-                       .throt_mode = BRIEF,
-                       .polarity = 0,
-                       .devs = {
-                               [THROTTLE_DEV_CPU] = {
-                                       .enable = true,
-                                       .depth = 50,
-                               },
-                               [THROTTLE_DEV_GPU] = {
-                                       .enable = true,
-                                       .depth = 50,
-                               },
-                       },
-               },
-               [THROTTLE_OC4] = {
-                       .throt_mode = BRIEF,
-                       .polarity = 1,
-                       .intr = true,
-                       .devs = {
-                               [THROTTLE_DEV_CPU] = {
-                                       .enable = true,
-                                       .depth = 50,
-                               },
-                               [THROTTLE_DEV_GPU] = {
-                                       .enable = true,
-                                       .depth = 50,
-                               },
-                       },
-               },
        },
        .tshut_pmu_trip_data = &tpdata_palmas,
 };