summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorSenthilvadivu <svadivu@ti.com>2009-11-20 13:05:33 -0600
committerSantosh Shilimkar <santosh.shilimkar@ti.com>2009-11-21 14:23:47 +0530
commite6a9e068b47ac405f3a5980a7d55792e61ff064c (patch)
tree84ba0ef1fdec8e3f61c8874715ad72e9b9f7f9a1 /arch/arm/mach-omap2
parentabf3847f38152f3e23f5d038486fd383f01e93cf (diff)
OMAP4: Enables DSI2
Enables DSI2 and Secondary Panel Signed-off-by: senthil <svadivu@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/board-4430sdp.c34
1 files changed, 32 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c
index 81c7d6036374..350ef3505f4b 100644
--- a/arch/arm/mach-omap2/board-4430sdp.c
+++ b/arch/arm/mach-omap2/board-4430sdp.c
@@ -201,9 +201,36 @@ static struct omap_dss_device sdp4430_lcd_device = {
.ext_te = false,
.ext_te_gpio = 86,
- }
+ },
+ .platform_enable = sdp4430_panel_enable_lcd,
+ .platform_disable = sdp4430_panel_disable_lcd,
+};
+
+#define LCD2
+#ifdef LCD2 /* incase DSI2 is connected to different panel */
+static struct omap_dss_device sdp4430_lcd2_device = {
+ .name = "2lcd",
+ .driver_name = "panel-taal2",
+ .type = OMAP_DISPLAY_TYPE_DSI,
+ .reset_gpio = 78,
+ .phy.dsi = {
+ .clk_lane = 1,
+ .clk_pol = 0,
+ .data1_lane = 2,
+ .data1_pol = 0,
+ .data2_lane = 3,
+ .data2_pol = 0,
+ .lp_clk_hz = 10000000,
+ .ddr_clk_hz = 150000000,
+
+ .ext_te = false,
+ .ext_te_gpio = 86,
+ },
+ .platform_enable = sdp4430_panel_enable_lcd,
+ .platform_disable = sdp4430_panel_disable_lcd,
+ .channel = OMAP_DSS_CHANNEL_LCD2,
};
-
+#endif
static int sdp4430_panel_enable_hdmi(struct omap_dss_device *dssdev)
{
return 0;
@@ -229,6 +256,9 @@ static struct omap_dss_device sdp4430_hdmi_device = {
static struct omap_dss_device *sdp4430_dss_devices[] = {
&sdp4430_lcd_device,
+#ifdef LCD2
+ &sdp4430_lcd2_device,
+#endif
#ifdef CONFIG_OMAP2_DSS_HDMI
&sdp4430_hdmi_device,
#endif