diff options
author | Neil Patel <neilp@nvidia.com> | 2014-03-27 11:20:08 -0400 |
---|---|---|
committer | Mandar Padmawar <mpadmawar@nvidia.com> | 2014-04-29 22:47:35 -0700 |
commit | 8e13f8c91c84c2c001ec5171dda8651e7ec4544c (patch) | |
tree | c4a0000b0ffaf74fe98f3da3f6e87e97ce95433d /arch/arm/mach-tegra/board-ardbeg-power.c | |
parent | fe58eed2a3a88559370b7a2694178c6ecd049ec4 (diff) |
ARM: tegra: ardbeg: disable modem OC3 throttling
The modem assertion of MDM_POWER_REPORT will now trigger a change
in EDP state rather than direct CPU/GPU throttling.
Bug 1468546
Change-Id: I69da7daa37929b36de881d966ca78ba30de0b7d4
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/387828
(cherry picked from commit 3abf162a16cb1693fdfa5e8e4f2ac5ce3d023ff5)
Reviewed-on: http://git-master/r/402513
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-ardbeg-power.c')
-rw-r--r-- | arch/arm/mach-tegra/board-ardbeg-power.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/arch/arm/mach-tegra/board-ardbeg-power.c b/arch/arm/mach-tegra/board-ardbeg-power.c index 89b3bf7029db..8f28b22770da 100644 --- a/arch/arm/mach-tegra/board-ardbeg-power.c +++ b/arch/arm/mach-tegra/board-ardbeg-power.c @@ -704,23 +704,6 @@ static struct soctherm_throttle voltmon_throttle = { }, }; -struct soctherm_throttle baseband_throttle = { - .throt_mode = BRIEF, - .polarity = SOCTHERM_ACTIVE_HIGH, - .priority = 50, - .devs = { - [THROTTLE_DEV_CPU] = { - .enable = true, - .depth = 50, - .throttling_depth = "medium_throttling", - }, - [THROTTLE_DEV_GPU] = { - .enable = true, - .throttling_depth = "medium_throttling", - }, - }, -}; - int __init ardbeg_soctherm_init(void) { s32 base_cp, shft_cp; @@ -823,19 +806,5 @@ int __init ardbeg_soctherm_init(void) break; } - /* enable baseband OC if Bruce modem is enabled */ - if (tegra_get_modem_id() == TEGRA_BB_BRUCE) { - /* enable baseband OC unless board has voltage comparator */ - int board_has_vc; - - board_has_vc = (pmu_board_info.board_id == BOARD_P1761) - && (pmu_board_info.fab >= BOARD_FAB_A02); - - if (!board_has_vc) - memcpy(&ardbeg_soctherm_data.throttle[THROTTLE_OC3], - &baseband_throttle, - sizeof(baseband_throttle)); - } - return tegra11_soctherm_init(&ardbeg_soctherm_data); } |