Skip to content

Commit

Permalink
OMAP: RX51: Add "vdds_sdi" supply voltage for SDI
Browse files Browse the repository at this point in the history
The SDI Display subsystem needs access to the vdds_sdi supply
regulator. This is TWL4030's VAUX1 supply on RX-51.

Signed-off-by: Roger Quadros <roger.quadros@nokia.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
  • Loading branch information
Roger Quadros authored and Tony Lindgren committed May 20, 2010
1 parent 5a5f561 commit 0581b52
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions arch/arm/mach-omap2/board-rx51-peripherals.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,19 @@ static struct regulator_consumer_supply rx51_vio_supplies[] = {
},
};

#if defined(CONFIG_FB_OMAP2) || defined(CONFIG_FB_OMAP2_MODULE)
extern struct platform_device rx51_display_device;
#endif

static struct regulator_consumer_supply rx51_vaux1_consumers[] = {
#if defined(CONFIG_FB_OMAP2) || defined(CONFIG_FB_OMAP2_MODULE)
{
.supply = "vdds_sdi",
.dev = &rx51_display_device.dev,
},
#endif
};

static struct regulator_init_data rx51_vaux1 = {
.constraints = {
.name = "V28",
Expand All @@ -326,6 +339,8 @@ static struct regulator_init_data rx51_vaux1 = {
.valid_ops_mask = REGULATOR_CHANGE_MODE
| REGULATOR_CHANGE_STATUS,
},
.num_consumer_supplies = ARRAY_SIZE(rx51_vaux1_consumers),
.consumer_supplies = rx51_vaux1_consumers,
};

static struct regulator_init_data rx51_vaux2 = {
Expand Down

0 comments on commit 0581b52

Please sign in to comment.