summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMiguel Vadillo <vadillo@ti.com>2010-07-15 11:25:21 -0500
committerSebastien Jan <s-jan@ti.com>2010-07-20 10:50:08 +0200
commit5d99de113672279461aabe1ddb807a3130c1fb42 (patch)
tree27cfa0688d1dcb8bf079bad850b8bd25c0ebd51d /arch
parenta59aed37e9cf596ef78aa4d2887e14a3ac1d1db5 (diff)
SYSLINK:IPU-PM: change board-4430sdp for regulators
Changes to include the cam2pwr as a consumer regulator supply. Signed-off-by: Miguel Vadillo <vadillo@ti.com> Signed-off-by: Juan Gutierrez <jgutierrez@ti.com> Signed-off-by: Paul Hunt <hunt@ti.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap2/board-4430sdp.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c
index c1ee792d5089..ac3b23f0a111 100644
--- a/arch/arm/mach-omap2/board-4430sdp.c
+++ b/arch/arm/mach-omap2/board-4430sdp.c
@@ -720,6 +720,13 @@ static struct regulator_consumer_supply sdp4430_vaux_supply[] = {
},
};
+
+static struct regulator_consumer_supply sdp4430_cam2_supply[] = {
+ {
+ .supply = "cam2pwr",
+ },
+};
+
static int omap4_twl6030_hsmmc_late_init(struct device *dev)
{
int ret = 0;
@@ -808,6 +815,8 @@ static struct regulator_init_data sdp4430_vaux3 = {
| REGULATOR_CHANGE_MODE
| REGULATOR_CHANGE_STATUS,
},
+ .num_consumer_supplies = 1,
+ .consumer_supplies = sdp4430_cam2_supply,
};
/* VMMC1 for MMC1 card */