]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
arm: tegra12: soctherm: enable MEM zone in boards
authorDiwakar Tundlam <dtundlam@nvidia.com>
Thu, 17 Oct 2013 23:42:10 +0000 (16:42 -0700)
committerDiwakar Tundlam <dtundlam@nvidia.com>
Tue, 12 Nov 2013 22:26:30 +0000 (14:26 -0800)
Enable MEM zone for temperature sensing on Shield-ERS, Loki and Laguna.

Bug 1342361

Change-Id: I290ff3a711ca0d456087be015502bee2a0e2ecc8
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/300895
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

arch/arm/mach-tegra/board-ardbeg-power.c
arch/arm/mach-tegra/board-laguna-power.c
arch/arm/mach-tegra/board-loki-power.c

index 3616cd06a795d58702d0b014223844703e9e0628..e455f4157b6b90a8358fd500bbeb5396d4906dd7 100644 (file)
@@ -1366,6 +1366,19 @@ static struct soctherm_platform_data ardbeg_soctherm_data = {
                        },
                        .tzp = &soctherm_tzp,
                },
+               [THERM_MEM] = {
+                       .zone_enable = true,
+                       .num_trips = 1,
+                       .trips = {
+                               {
+                                       .cdev_type = "tegra-shutdown",
+                                       .trip_temp = 103000, /* = GPU shut */
+                                       .trip_type = THERMAL_TRIP_CRITICAL,
+                                       .upper = THERMAL_NO_LIMIT,
+                                       .lower = THERMAL_NO_LIMIT,
+                               },
+                       },
+               },
                [THERM_PLL] = {
                        .zone_enable = true,
                },
index af3e7ff87edb8e66c7ea252d91af736557d8d4db..7da1f3bb5ba25f93d05ff9b5e570d708af9313e5 100644 (file)
@@ -921,6 +921,19 @@ static struct soctherm_platform_data laguna_soctherm_data = {
                        },
                        .tzp = &soctherm_tzp,
                },
+               [THERM_MEM] = {
+                       .zone_enable = true,
+                       .num_trips = 1,
+                       .trips = {
+                               {
+                                       .cdev_type = "tegra-shutdown",
+                                       .trip_temp = 104000, /* = GPU shut */
+                                       .trip_type = THERMAL_TRIP_CRITICAL,
+                                       .upper = THERMAL_NO_LIMIT,
+                                       .lower = THERMAL_NO_LIMIT,
+                               },
+                       },
+               },
                [THERM_PLL] = {
                        .zone_enable = true,
                },
index c95c6ab2361fae45136a97d957b95290d8c9d647..a33a7109cae8e0d96b997a20d7d9c118bd9da31a 100644 (file)
@@ -905,6 +905,19 @@ static struct soctherm_platform_data loki_soctherm_data = {
                        },
                        .tzp = &soctherm_tzp,
                },
+               [THERM_MEM] = {
+                       .zone_enable = true,
+                       .num_trips = 1,
+                       .trips = {
+                               {
+                                       .cdev_type = "tegra-shutdown",
+                                       .trip_temp = 103000, /* = GPU shut */
+                                       .trip_type = THERMAL_TRIP_CRITICAL,
+                                       .upper = THERMAL_NO_LIMIT,
+                                       .lower = THERMAL_NO_LIMIT,
+                               },
+                       },
+               },
                [THERM_PLL] = {
                        .zone_enable = true,
                },