diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-igep0020.c')
-rw-r--r-- | arch/arm/mach-omap2/board-igep0020.c | 36 |
1 files changed, 22 insertions, 14 deletions
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c index 87e65dde8e13..06dbb2d3d38b 100644 --- a/arch/arm/mach-omap2/board-igep0020.c +++ b/arch/arm/mach-omap2/board-igep0020.c | |||
@@ -429,31 +429,39 @@ static struct twl4030_gpio_platform_data igep_twl4030_gpio_pdata = { | |||
429 | .setup = igep_twl_gpio_setup, | 429 | .setup = igep_twl_gpio_setup, |
430 | }; | 430 | }; |
431 | 431 | ||
432 | static struct tfp410_platform_data dvi_panel = { | 432 | static struct connector_dvi_platform_data omap3stalker_dvi_connector_pdata = { |
433 | .i2c_bus_num = 3, | 433 | .name = "dvi", |
434 | .power_down_gpio = IGEP2_GPIO_DVI_PUP, | 434 | .source = "tfp410.0", |
435 | .i2c_bus_num = 3, | ||
435 | }; | 436 | }; |
436 | 437 | ||
437 | static struct omap_dss_device igep2_dvi_device = { | 438 | static struct platform_device omap3stalker_dvi_connector_device = { |
438 | .type = OMAP_DISPLAY_TYPE_DPI, | 439 | .name = "connector-dvi", |
439 | .name = "dvi", | 440 | .id = 0, |
440 | .driver_name = "tfp410", | 441 | .dev.platform_data = &omap3stalker_dvi_connector_pdata, |
441 | .data = &dvi_panel, | ||
442 | .phy.dpi.data_lines = 24, | ||
443 | }; | 442 | }; |
444 | 443 | ||
445 | static struct omap_dss_device *igep2_dss_devices[] = { | 444 | static struct encoder_tfp410_platform_data omap3stalker_tfp410_pdata = { |
446 | &igep2_dvi_device | 445 | .name = "tfp410.0", |
446 | .source = "dpi.0", | ||
447 | .data_lines = 24, | ||
448 | .power_down_gpio = IGEP2_GPIO_DVI_PUP, | ||
449 | }; | ||
450 | |||
451 | static struct platform_device omap3stalker_tfp410_device = { | ||
452 | .name = "tfp410", | ||
453 | .id = 0, | ||
454 | .dev.platform_data = &omap3stalker_tfp410_pdata, | ||
447 | }; | 455 | }; |
448 | 456 | ||
449 | static struct omap_dss_board_info igep2_dss_data = { | 457 | static struct omap_dss_board_info igep2_dss_data = { |
450 | .num_devices = ARRAY_SIZE(igep2_dss_devices), | 458 | .default_display_name = "dvi", |
451 | .devices = igep2_dss_devices, | ||
452 | .default_device = &igep2_dvi_device, | ||
453 | }; | 459 | }; |
454 | 460 | ||
455 | static struct platform_device *igep_devices[] __initdata = { | 461 | static struct platform_device *igep_devices[] __initdata = { |
456 | &igep_vwlan_device, | 462 | &igep_vwlan_device, |
463 | &omap3stalker_tfp410_device, | ||
464 | &omap3stalker_dvi_connector_device, | ||
457 | }; | 465 | }; |
458 | 466 | ||
459 | static int igep2_keymap[] = { | 467 | static int igep2_keymap[] = { |