diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-devkit8000.c')
-rw-r--r-- | arch/arm/mach-omap2/board-devkit8000.c | 38 |
1 files changed, 3 insertions, 35 deletions
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c index 949dbeabab26..b6002ec31c6a 100644 --- a/arch/arm/mach-omap2/board-devkit8000.c +++ b/arch/arm/mach-omap2/board-devkit8000.c | |||
@@ -186,10 +186,6 @@ static struct omap_dss_board_info devkit8000_dss_data = { | |||
186 | .default_device = &devkit8000_lcd_device, | 186 | .default_device = &devkit8000_lcd_device, |
187 | }; | 187 | }; |
188 | 188 | ||
189 | static struct regulator_consumer_supply devkit8000_vdda_dac_supply[] = { | ||
190 | REGULATOR_SUPPLY("vdda_dac", "omapdss_venc"), | ||
191 | }; | ||
192 | |||
193 | static uint32_t board_keymap[] = { | 189 | static uint32_t board_keymap[] = { |
194 | KEY(0, 0, KEY_1), | 190 | KEY(0, 0, KEY_1), |
195 | KEY(1, 0, KEY_2), | 191 | KEY(1, 0, KEY_2), |
@@ -289,20 +285,6 @@ static struct regulator_init_data devkit8000_vmmc1 = { | |||
289 | .consumer_supplies = devkit8000_vmmc1_supply, | 285 | .consumer_supplies = devkit8000_vmmc1_supply, |
290 | }; | 286 | }; |
291 | 287 | ||
292 | /* VDAC for DSS driving S-Video (8 mA unloaded, max 65 mA) */ | ||
293 | static struct regulator_init_data devkit8000_vdac = { | ||
294 | .constraints = { | ||
295 | .min_uV = 1800000, | ||
296 | .max_uV = 1800000, | ||
297 | .valid_modes_mask = REGULATOR_MODE_NORMAL | ||
298 | | REGULATOR_MODE_STANDBY, | ||
299 | .valid_ops_mask = REGULATOR_CHANGE_MODE | ||
300 | | REGULATOR_CHANGE_STATUS, | ||
301 | }, | ||
302 | .num_consumer_supplies = ARRAY_SIZE(devkit8000_vdda_dac_supply), | ||
303 | .consumer_supplies = devkit8000_vdda_dac_supply, | ||
304 | }; | ||
305 | |||
306 | /* VPLL1 for digital video outputs */ | 288 | /* VPLL1 for digital video outputs */ |
307 | static struct regulator_init_data devkit8000_vpll1 = { | 289 | static struct regulator_init_data devkit8000_vpll1 = { |
308 | .constraints = { | 290 | .constraints = { |
@@ -332,27 +314,10 @@ static struct regulator_init_data devkit8000_vio = { | |||
332 | .consumer_supplies = devkit8000_vio_supply, | 314 | .consumer_supplies = devkit8000_vio_supply, |
333 | }; | 315 | }; |
334 | 316 | ||
335 | static struct twl4030_usb_data devkit8000_usb_data = { | ||
336 | .usb_mode = T2_USB_MODE_ULPI, | ||
337 | }; | ||
338 | |||
339 | static struct twl4030_codec_audio_data devkit8000_audio_data; | ||
340 | |||
341 | static struct twl4030_codec_data devkit8000_codec_data = { | ||
342 | .audio_mclk = 26000000, | ||
343 | .audio = &devkit8000_audio_data, | ||
344 | }; | ||
345 | |||
346 | static struct twl4030_platform_data devkit8000_twldata = { | 317 | static struct twl4030_platform_data devkit8000_twldata = { |
347 | .irq_base = TWL4030_IRQ_BASE, | ||
348 | .irq_end = TWL4030_IRQ_END, | ||
349 | |||
350 | /* platform_data for children goes here */ | 318 | /* platform_data for children goes here */ |
351 | .usb = &devkit8000_usb_data, | ||
352 | .gpio = &devkit8000_gpio_data, | 319 | .gpio = &devkit8000_gpio_data, |
353 | .codec = &devkit8000_codec_data, | ||
354 | .vmmc1 = &devkit8000_vmmc1, | 320 | .vmmc1 = &devkit8000_vmmc1, |
355 | .vdac = &devkit8000_vdac, | ||
356 | .vpll1 = &devkit8000_vpll1, | 321 | .vpll1 = &devkit8000_vpll1, |
357 | .vio = &devkit8000_vio, | 322 | .vio = &devkit8000_vio, |
358 | .keypad = &devkit8000_kp_data, | 323 | .keypad = &devkit8000_kp_data, |
@@ -360,6 +325,9 @@ static struct twl4030_platform_data devkit8000_twldata = { | |||
360 | 325 | ||
361 | static int __init devkit8000_i2c_init(void) | 326 | static int __init devkit8000_i2c_init(void) |
362 | { | 327 | { |
328 | omap3_pmic_get_config(&devkit8000_twldata, | ||
329 | TWL_COMMON_PDATA_USB | TWL_COMMON_PDATA_AUDIO, | ||
330 | TWL_COMMON_REGULATOR_VDAC); | ||
363 | omap3_pmic_init("tps65930", &devkit8000_twldata); | 331 | omap3_pmic_init("tps65930", &devkit8000_twldata); |
364 | /* Bus 3 is attached to the DVI port where devices like the pico DLP | 332 | /* Bus 3 is attached to the DVI port where devices like the pico DLP |
365 | * projector don't work reliably with 400kHz */ | 333 | * projector don't work reliably with 400kHz */ |