[media] OMAP3: RX-51: define vdds_csib regulator supply
authorKalle Jokiniemi <kalle.jokiniemi@nokia.com>
Tue, 3 May 2011 10:41:23 +0000 (07:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:56:06 +0000 (17:56 -0300)
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>
arch/arm/mach-omap2/board-rx51-peripherals.c

index 88bd6f7705f0317808575cd8ecda856e4e36ec87..17e5685ae0cd1bd6720bd2307b058f589a4e92d6 100644 (file)
@@ -361,6 +361,9 @@ static struct omap2_hsmmc_info mmc[] __initdata = {
 static struct regulator_consumer_supply rx51_vmmc1_supply =
        REGULATOR_SUPPLY("vmmc", "omap_hsmmc.0");
 
+static struct regulator_consumer_supply rx51_vaux2_supply =
+       REGULATOR_SUPPLY("vdds_csib", "omap3isp");
+
 static struct regulator_consumer_supply rx51_vaux3_supply =
        REGULATOR_SUPPLY("vmmc", "omap_hsmmc.1");
 
@@ -424,6 +427,8 @@ static struct regulator_init_data rx51_vaux2 = {
                .valid_ops_mask         = REGULATOR_CHANGE_MODE
                                        | REGULATOR_CHANGE_STATUS,
        },
+       .num_consumer_supplies  = 1,
+       .consumer_supplies      = &rx51_vaux2_supply,
 };
 
 /* VAUX3 - adds more power to VIO_18 rail */