summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBhavesh Parekh <bparekh@nvidia.com>2014-03-19 17:29:48 +0530
committerSandeep Trasi <strasi@nvidia.com>2014-03-21 02:12:28 -0700
commitc4bb591785306f4ab14637d8419e60028f21bfe0 (patch)
tree252063672e1d5d7391d669ebb9d8cefa95a4b0f2
parent0635f15fdbdafc200a3f86f49e7e2243ea86c82f (diff)
ARM: Tegra: vcm30t124: Do not register PMU interrupt
For vcm30t124 board, PMU_INT* is not connected to the PMU. So remove registeration of the PMU_INT* as pmu interrupt. Also Currently there is no line connected to PMU interrupt, so pass irq = -1. In addition, do not configure the interrupt polarity of the PMU interrupt in PMC_CTRL register bug 1483503 Change-Id: If51a7dab98d3a1e2c7987293798ab70d3b755aa2 Signed-off-by: Bhavesh Parekh <bparekh@nvidia.com> Reviewed-on: http://git-master/r/383853 Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
-rw-r--r--arch/arm/mach-tegra/board-vcm30_t124-power.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/arm/mach-tegra/board-vcm30_t124-power.c b/arch/arm/mach-tegra/board-vcm30_t124-power.c
index 2b9fbf071959..89ff605696f1 100644
--- a/arch/arm/mach-tegra/board-vcm30_t124-power.c
+++ b/arch/arm/mach-tegra/board-vcm30_t124-power.c
@@ -136,7 +136,7 @@ static struct i2c_board_info __initdata max77663_regulators[] = {
{
/* The I2C address was determined by OTP factory setting */
I2C_BOARD_INFO("max77663", 0x3c),
- .irq = INT_EXTERNAL_PMU,
+ .irq = -1,
.platform_data = &max77663_pdata,
},
};
@@ -215,14 +215,6 @@ static struct i2c_board_info __initdata max15569_vddgpu_boardinfo[] = {
static int __init vcm30_t124_max77663_regulator_init(void)
{
- void __iomem *pmc = IO_ADDRESS(TEGRA_PMC_BASE);
- u32 pmc_ctrl;
-
- /* configure the power management controller to trigger PMU
- * interrupts when low */
- pmc_ctrl = readl(pmc + PMC_CTRL);
- writel(pmc_ctrl | PMC_CTRL_INTR_LOW, pmc + PMC_CTRL);
-
i2c_register_board_info(4, max77663_regulators,
ARRAY_SIZE(max77663_regulators));