diff options
author | Kalle Jokiniemi <kalle.jokiniemi@nokia.com> | 2011-05-03 06:41:23 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 16:56:06 -0400 |
commit | 75ccf268d504070b70b6d964b06e2f0626856b5a (patch) | |
tree | 9ed99280d7911c012e35d4459fa16e90d77dea02 /arch/arm/mach-omap2/board-rx51-peripherals.c | |
parent | 65d76488f65011a68202eae7c01062390474bb1f (diff) |
[media] OMAP3: RX-51: define vdds_csib regulator supply
The RX-51 uses the CSIb IO complex for camera operation. The
board file is missing definition for the regulator supplying
the CSIb complex, so this is added for better power
management.
Signed-off-by: Kalle Jokiniemi <kalle.jokiniemi@nokia.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-rx51-peripherals.c')
-rw-r--r-- | arch/arm/mach-omap2/board-rx51-peripherals.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index 88bd6f7705f0..17e5685ae0cd 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c | |||
@@ -361,6 +361,9 @@ static struct omap2_hsmmc_info mmc[] __initdata = { | |||
361 | static struct regulator_consumer_supply rx51_vmmc1_supply = | 361 | static struct regulator_consumer_supply rx51_vmmc1_supply = |
362 | REGULATOR_SUPPLY("vmmc", "omap_hsmmc.0"); | 362 | REGULATOR_SUPPLY("vmmc", "omap_hsmmc.0"); |
363 | 363 | ||
364 | static struct regulator_consumer_supply rx51_vaux2_supply = | ||
365 | REGULATOR_SUPPLY("vdds_csib", "omap3isp"); | ||
366 | |||
364 | static struct regulator_consumer_supply rx51_vaux3_supply = | 367 | static struct regulator_consumer_supply rx51_vaux3_supply = |
365 | REGULATOR_SUPPLY("vmmc", "omap_hsmmc.1"); | 368 | REGULATOR_SUPPLY("vmmc", "omap_hsmmc.1"); |
366 | 369 | ||
@@ -424,6 +427,8 @@ static struct regulator_init_data rx51_vaux2 = { | |||
424 | .valid_ops_mask = REGULATOR_CHANGE_MODE | 427 | .valid_ops_mask = REGULATOR_CHANGE_MODE |
425 | | REGULATOR_CHANGE_STATUS, | 428 | | REGULATOR_CHANGE_STATUS, |
426 | }, | 429 | }, |
430 | .num_consumer_supplies = 1, | ||
431 | .consumer_supplies = &rx51_vaux2_supply, | ||
427 | }; | 432 | }; |
428 | 433 | ||
429 | /* VAUX3 - adds more power to VIO_18 rail */ | 434 | /* VAUX3 - adds more power to VIO_18 rail */ |