Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 296091
b: refs/heads/master
c: 129cee1
h: refs/heads/master
i:
  296089: b6131a7
  296087: 4d2a981
v: v3
  • Loading branch information
Stephen Warren authored and Olof Johansson committed Feb 8, 2012
1 parent 676664b commit 8b41eda
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d3b8bdd5f9bc538fb17466cbb7af43209b55cb93
refs/heads/master: 129cee1020d8031df1e3986673c64ca9eb7a2617
15 changes: 0 additions & 15 deletions trunk/arch/arm/mach-tegra/board-harmony-power.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,13 @@
#include <linux/i2c.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
#include <linux/io.h>
#include <linux/regulator/machine.h>
#include <linux/mfd/tps6586x.h>

#include <mach/iomap.h>
#include <mach/irqs.h>

#include "board-harmony.h"

#define PMC_CTRL 0x0
#define PMC_CTRL_INTR_LOW (1 << 17)

static struct regulator_consumer_supply tps658621_ldo0_supply[] = {
REGULATOR_SUPPLY("pex_clk", NULL),
};
Expand Down Expand Up @@ -114,16 +109,6 @@ static struct i2c_board_info __initdata harmony_regulators[] = {

int __init harmony_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(3, harmony_regulators, 1);

return 0;
Expand Down

0 comments on commit 8b41eda

Please sign in to comment.