|
@@ -223,3 +223,55 @@ static int cm_t35_panel_enable_tv(struct omap_dss_device *dssdev)
|
|
|
|
|
|
static void cm_t35_panel_disable_tv(struct omap_dss_device *dssdev)
|
|
|
{
|
|
|
+}
|
|
|
+
|
|
|
+static struct panel_generic_dpi_data lcd_panel = {
|
|
|
+ .name = "toppoly_tdo35s",
|
|
|
+ .platform_enable = cm_t35_panel_enable_lcd,
|
|
|
+ .platform_disable = cm_t35_panel_disable_lcd,
|
|
|
+};
|
|
|
+
|
|
|
+static struct omap_dss_device cm_t35_lcd_device = {
|
|
|
+ .name = "lcd",
|
|
|
+ .type = OMAP_DISPLAY_TYPE_DPI,
|
|
|
+ .driver_name = "generic_dpi_panel",
|
|
|
+ .data = &lcd_panel,
|
|
|
+ .phy.dpi.data_lines = 18,
|
|
|
+};
|
|
|
+
|
|
|
+static struct tfp410_platform_data dvi_panel = {
|
|
|
+ .power_down_gpio = CM_T35_DVI_EN_GPIO,
|
|
|
+ .i2c_bus_num = -1,
|
|
|
+};
|
|
|
+
|
|
|
+static struct omap_dss_device cm_t35_dvi_device = {
|
|
|
+ .name = "dvi",
|
|
|
+ .type = OMAP_DISPLAY_TYPE_DPI,
|
|
|
+ .driver_name = "tfp410",
|
|
|
+ .data = &dvi_panel,
|
|
|
+ .phy.dpi.data_lines = 24,
|
|
|
+};
|
|
|
+
|
|
|
+static struct omap_dss_device cm_t35_tv_device = {
|
|
|
+ .name = "tv",
|
|
|
+ .driver_name = "venc",
|
|
|
+ .type = OMAP_DISPLAY_TYPE_VENC,
|
|
|
+ .phy.venc.type = OMAP_DSS_VENC_TYPE_SVIDEO,
|
|
|
+ .platform_enable = cm_t35_panel_enable_tv,
|
|
|
+ .platform_disable = cm_t35_panel_disable_tv,
|
|
|
+};
|
|
|
+
|
|
|
+static struct omap_dss_device *cm_t35_dss_devices[] = {
|
|
|
+ &cm_t35_lcd_device,
|
|
|
+ &cm_t35_dvi_device,
|
|
|
+ &cm_t35_tv_device,
|
|
|
+};
|
|
|
+
|
|
|
+static struct omap_dss_board_info cm_t35_dss_data = {
|
|
|
+ .num_devices = ARRAY_SIZE(cm_t35_dss_devices),
|
|
|
+ .devices = cm_t35_dss_devices,
|
|
|
+ .default_device = &cm_t35_dvi_device,
|
|
|
+};
|
|
|
+
|
|
|
+static struct omap2_mcspi_device_config tdo24m_mcspi_config = {
|
|
|
+ .turbo_mode = 0,
|