diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-ldp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-ldp.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c index a69e59455eed..e2ba77957a8c 100644 --- a/arch/arm/mach-omap2/board-ldp.c +++ b/arch/arm/mach-omap2/board-ldp.c | |||
@@ -327,6 +327,26 @@ static struct regulator_init_data ldp_vmmc1 = { | |||
327 | .consumer_supplies = &ldp_vmmc1_supply, | 327 | .consumer_supplies = &ldp_vmmc1_supply, |
328 | }; | 328 | }; |
329 | 329 | ||
330 | /* ads7846 on SPI */ | ||
331 | static struct regulator_consumer_supply ldp_vaux1_supplies[] = { | ||
332 | REGULATOR_SUPPLY("vcc", "spi1.0"), | ||
333 | }; | ||
334 | |||
335 | /* VAUX1 */ | ||
336 | static struct regulator_init_data ldp_vaux1 = { | ||
337 | .constraints = { | ||
338 | .min_uV = 3000000, | ||
339 | .max_uV = 3000000, | ||
340 | .apply_uV = true, | ||
341 | .valid_modes_mask = REGULATOR_MODE_NORMAL | ||
342 | | REGULATOR_MODE_STANDBY, | ||
343 | .valid_ops_mask = REGULATOR_CHANGE_MODE | ||
344 | | REGULATOR_CHANGE_STATUS, | ||
345 | }, | ||
346 | .num_consumer_supplies = ARRAY_SIZE(ldp_vaux1_supplies), | ||
347 | .consumer_supplies = ldp_vaux1_supplies, | ||
348 | }; | ||
349 | |||
330 | static struct twl4030_platform_data ldp_twldata = { | 350 | static struct twl4030_platform_data ldp_twldata = { |
331 | .irq_base = TWL4030_IRQ_BASE, | 351 | .irq_base = TWL4030_IRQ_BASE, |
332 | .irq_end = TWL4030_IRQ_END, | 352 | .irq_end = TWL4030_IRQ_END, |
@@ -335,6 +355,7 @@ static struct twl4030_platform_data ldp_twldata = { | |||
335 | .madc = &ldp_madc_data, | 355 | .madc = &ldp_madc_data, |
336 | .usb = &ldp_usb_data, | 356 | .usb = &ldp_usb_data, |
337 | .vmmc1 = &ldp_vmmc1, | 357 | .vmmc1 = &ldp_vmmc1, |
358 | .vaux1 = &ldp_vaux1, | ||
338 | .gpio = &ldp_gpio_data, | 359 | .gpio = &ldp_gpio_data, |
339 | .keypad = &ldp_kp_twl4030_data, | 360 | .keypad = &ldp_kp_twl4030_data, |
340 | }; | 361 | }; |