diff options
author | Karan Jhavar <kjhavar@nvidia.com> | 2011-06-09 14:50:35 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:47:29 -0800 |
commit | 49adefb5a72e65dd76165efc1c291e67d67be736 (patch) | |
tree | e65bb371268e0258cca04cc468fcbe62a18a4956 /arch/arm/mach-tegra/powergate.c | |
parent | 4c4136af2c304d0f44e0ddab61ed54609ec947eb (diff) |
ARM: tegra: power: Powergate PCIE and SATA partitions on tegra 3
By defalut PCIE and SATA partitions are powergated. If needed,
respective drivers should un-powergate these partitions. Also
3D,3D1 and MPE are not powergated at startup.
Original-Change-Id: Ibc74868eb59af7c0e8b5a1ecd78e6f993dd5d3a6
Reviewed-on: http://git-master/r/35955
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Rebase-Id: Ra55d87d7d816d7cf0bea0d28e7865fa7760f869f
Diffstat (limited to 'arch/arm/mach-tegra/powergate.c')
-rw-r--r-- | arch/arm/mach-tegra/powergate.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm/mach-tegra/powergate.c b/arch/arm/mach-tegra/powergate.c index 9d811c84ce68..51ab424f90ba 100644 --- a/arch/arm/mach-tegra/powergate.c +++ b/arch/arm/mach-tegra/powergate.c @@ -540,13 +540,10 @@ int tegra_powergate_partition_with_clk_off(int id) #ifndef CONFIG_ARCH_TEGRA_2x_SOC /* Restrict functions use to selected partitions */ - BUG_ON(id != TEGRA_POWERGATE_PCIE && id != TEGRA_POWERGATE_SATA && - id != TEGRA_POWERGATE_3D && id != TEGRA_POWERGATE_3D1 && - id != TEGRA_POWERGATE_MPE); + BUG_ON(id != TEGRA_POWERGATE_PCIE && id != TEGRA_POWERGATE_SATA); #else /* Restrict functions use to selected partitions */ - BUG_ON(id != TEGRA_POWERGATE_PCIE && id != TEGRA_POWERGATE_MPE && - id != TEGRA_POWERGATE_3D); + BUG_ON(id != TEGRA_POWERGATE_PCIE); #endif /* Disable clks for the partition */ partition_clk_disable(id); |