summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-cardhu.h
diff options
context:
space:
mode:
authorJin Park <jinyoungp@nvidia.com>2011-11-15 18:12:41 +0900
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:50:04 -0800
commiteb3435a9e412f7bec4e4af39bb010d756df18691 (patch)
treec2b6ed7fdde0acf09dc627a2af08cc4744cfac18 /arch/arm/mach-tegra/board-cardhu.h
parent0a07511299d211318b17c650b773f4c5019c92a0 (diff)
arm: tegra: cardhu: Integrate MAX77663 PMIC into Cardhu
Integrating MAX77663 PMIC based PM269 board into the Cardhu board. The system will be find the correct PMIC using the Board ID of PMIC in the Cardhu init phase. Bug 849360 Reviewed-on: http://git-master/r/56354 (cherry picked from commit 4d7da62a829de4d051c458caa052a6d612f642fa) Change-Id: I41a52b70d27378e6240522c16256f8c7e42144b5 Signed-off-by: Jin Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/64399 Reviewed-by: Lokesh Pathak <lpathak@nvidia.com> Tested-by: Lokesh Pathak <lpathak@nvidia.com> Rebase-Id: R6baa5408a249a41d577f22da8476ad020600b12d
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu.h')
-rw-r--r--arch/arm/mach-tegra/board-cardhu.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu.h b/arch/arm/mach-tegra/board-cardhu.h
index fa219faab11a..15641a0c35db 100644
--- a/arch/arm/mach-tegra/board-cardhu.h
+++ b/arch/arm/mach-tegra/board-cardhu.h
@@ -92,6 +92,10 @@
#define RICOH583_GPIO_BASE TEGRA_NR_GPIOS
#define RICOH583_GPIO_END (RICOH583_GPIO_BASE + 8)
+/* MAX77663 GPIO */
+#define MAX77663_GPIO_BASE TEGRA_NR_GPIOS
+#define MAX77663_GPIO_END (MAX77663_GPIO_BASE + MAX77663_GPIO_NR)
+
/* PMU_TCA6416 GPIOs */
#define PMU_TCA6416_GPIO_BASE (TPS6591X_GPIO_END)
#define PMU_TCA6416_GPIO_PORT00 (PMU_TCA6416_GPIO_BASE + 0)
@@ -181,6 +185,10 @@
#define RICOH583_IRQ_BASE TEGRA_NR_IRQS
#define RICOH583_IRQ_END (RICOH583_IRQ_BASE + RICOH583_NR_IRQS)
+/* MAX77663 IRQs */
+#define MAX77663_IRQ_BASE TEGRA_NR_IRQS
+#define MAX77663_IRQ_END (MAX77663_IRQ_BASE + MAX77663_IRQ_NR)
+
int cardhu_charge_init(void);
int cardhu_regulator_init(void);
int cardhu_suspend_init(void);
@@ -197,6 +205,8 @@ int cardhu_emc_init(void);
int cardhu_power_off_init(void);
int cardhu_edp_init(void);
int cardhu_pmon_init(void);
+int cardhu_pm298_gpio_switch_regulator_init(void);
+int cardhu_pm298_regulator_init(void);
int cardhu_pm299_gpio_switch_regulator_init(void);
int cardhu_pm299_regulator_init(void);
void __init cardhu_tsensor_init(void);