summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/powerdetect.c
diff options
context:
space:
mode:
authorBitan Biswas <bbiswas@nvidia.com>2012-08-29 18:25:44 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 12:33:02 -0700
commitb8fe6575e0b707a53c2704ca2c4e56a759f57f46 (patch)
treea076d8cb37c62a55ec31091bac437ebe164e289b /arch/arm/mach-tegra/powerdetect.c
parentd43473e958c188ad87780aebd972ca4832f708cf (diff)
arm: tegra: power detect T11x support
Power detect and no io power chart updated for T11x bug 1039236 Change-Id: Id669d994cc6ec140c53f4c0a5adeb9473fea7126 Signed-off-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-on: http://git-master/r/128207 Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Rebase-Id: Ref529ca2f7fe39c5706b5ef764e5ff265a06a7ae
Diffstat (limited to 'arch/arm/mach-tegra/powerdetect.c')
-rw-r--r--arch/arm/mach-tegra/powerdetect.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/powerdetect.c b/arch/arm/mach-tegra/powerdetect.c
index 27c8d92f9089..c85e2ba78539 100644
--- a/arch/arm/mach-tegra/powerdetect.c
+++ b/arch/arm/mach-tegra/powerdetect.c
@@ -94,10 +94,16 @@ static struct pwr_detect_cell pwr_detect_cells[] = {
POWER_CELL("pwrdet_mipi", 0, (0x1 << 9), 0xFFFFFFFF),
#ifndef CONFIG_ARCH_TEGRA_2x_SOC
POWER_CELL("pwrdet_cam", (0x1 << 10), (0x1 << 10), 0xFFFFFFFF),
+#ifdef CONFIG_ARCH_TEGRA_3x_SOC
POWER_CELL("pwrdet_pex_ctl", (0x1 << 11), (0x1 << 11), 0xFFFFFFFF),
+#endif
POWER_CELL("pwrdet_sdmmc1", (0x1 << 12), (0x1 << 12), 0xFFFFFFFF),
POWER_CELL("pwrdet_sdmmc3", (0x1 << 13), (0x1 << 13), 0xFFFFFFFF),
POWER_CELL("pwrdet_sdmmc4", 0, (0x1 << 14), 0xFFFFFFFF),
+#ifdef CONFIG_ARCH_TEGRA_11x_SOC
+ POWER_CELL("pwrdet_hv", (0x1 << 15), (0x1 << 15), 0xFFFFFFFF),
+ POWER_CELL("pwrdet_mem_comp", 0, (0x1 << 16), 0xFFFFFFFF),
+#endif
#endif
};