---help---
Say Y here to add support for outputting video over HDMI.
+config VIDEO_VGA_VIA_LCD
+ boolean "VGA via LCD controller support"
+ depends on VIDEO
+ default n
+ ---help---
+ Say Y here to add support for external DACs connected to the parallel
+ LCD interface driving a VGA connector, such as found on the
+ Olimex A13 boards.
+
config VIDEO_LCD_MODE
string "LCD panel timing details"
depends on VIDEO
sunxi_lcdc_backlight_enable();
break;
case sunxi_monitor_vga:
+#ifdef CONFIG_VIDEO_VGA_VIA_LCD
+ sunxi_composer_mode_set(mode, address);
+ sunxi_lcdc_tcon0_mode_set(mode);
+ sunxi_composer_enable();
+ sunxi_lcdc_enable();
+#endif
break;
}
}
hpd = video_get_option_int(options, "hpd", 1);
edid = video_get_option_int(options, "edid", 1);
sunxi_display.monitor = sunxi_monitor_dvi;
+#elif defined CONFIG_VIDEO_VGA_VIA_LCD
+ sunxi_display.monitor = sunxi_monitor_vga;
#else
sunxi_display.monitor = sunxi_monitor_lcd;
#endif
printf("LCD not supported on this board\n");
return NULL;
case sunxi_monitor_vga:
+#ifdef CONFIG_VIDEO_VGA_VIA_LCD
+ sunxi_display.depth = 18;
+ break;
+#else
printf("VGA not supported on this board\n");
return NULL;
+#endif
}
if (mode->vmode != FB_VMODE_NONINTERLACED) {
pipeline = "de_be0-lcd0";
break;
case sunxi_monitor_vga:
+ pipeline = "de_be0-lcd0";
break;
}