]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: OMAP: 4430SDP: remove picodlp device data
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 31 May 2013 12:50:58 +0000 (15:50 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 28 Aug 2013 07:23:19 +0000 (10:23 +0300)
4430SDP board has an option for a PicoDLP mini-projector. PicoDLP cannot
be used at the same time as the second LCD, and there are GPIOs that
need to be set/unset when changing the used display.

Managing that kind of board specific setup is not simple without board
file callbacks. As only some 4430SDP boards actually have the PicoDLP
installed, and 4430SDP boards are not that common in the first place,
let's remove PicoDLP data from the board file.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/dss-common.c

index 321541223bb7628a3d18c12dfa09f7ebd8d413f0..bf89effa4c9988a45c770175307e632918790a4a 100644 (file)
@@ -181,28 +181,7 @@ static struct platform_device sdp4430_tpd_device = {
 };
 
 
-static struct picodlp_panel_data sdp4430_picodlp_pdata = {
-       .picodlp_adapter_id     = 2,
-       .emu_done_gpio          = 44,
-       .pwrgood_gpio           = 45,
-};
-
-static struct omap_dss_device sdp4430_picodlp_device = {
-       .name                   = "picodlp",
-       .driver_name            = "picodlp_panel",
-       .type                   = OMAP_DISPLAY_TYPE_DPI,
-       .phy.dpi.data_lines     = 24,
-       .channel                = OMAP_DSS_CHANNEL_LCD2,
-       .data                   = &sdp4430_picodlp_pdata,
-};
-
-static struct omap_dss_device *sdp4430_dss_devices[] = {
-       &sdp4430_picodlp_device,
-};
-
 static struct omap_dss_board_info sdp4430_dss_data = {
-       .num_devices    = ARRAY_SIZE(sdp4430_dss_devices),
-       .devices        = sdp4430_dss_devices,
        .default_display_name = "lcd",
 };