Enable DSS driver for Beagle
PATCH 1/1 Enable DSS driver for Beagle
Configures DSS to display color bar on Svideo Configures DSS to display background color on DVID
Signed-off-by Syed Mohammed Khasim <[email protected]>
--- board/ti/beagle/beagle.c | 12 ++++++ board/ti/beagle/beagle.h | 75 ++++++++++++++++++++++++++++++++++++++++ include/configs/omap3_beagle.h | 1 + 3 files changed, 88 insertions(+), 0 deletions(-)
board/ti/beagle/beagle.c +12 -0
@@ -114,6 +114,16 @@ void beagle_identify(void) }/* +* Configure DSS to display background color on DVID +* Configure VENC to display color bar on S-Video +*/ +void display_init (void ) +{ +omap3_dss_venc_config (&venc_config_std_tv,VENC_HEIGHT ,VENC_WIDTH ); +omap3_dss_panel_config (&dvid_cfg); +} + +/* * Routine: misc_init_r * Description: Configure board specific parts */
@@ -124,6 +134,7 @@ int misc_init_r(void)twl4030_power_init ();twl4030_led_init (TWL4030_LED_LEDEN_LEDAON |TWL4030_LED_LEDEN_LEDBON ); +display_init ();/* Configure GPIOs to output */ writel (~(GPIO23 |GPIO10 |GPIO8 |GPIO2 |GPIO1 ), &gpio6_base->oe);
@@ -139,6 +150,7 @@ int misc_init_r(void)beagle_identify ();dieid_num_r (); +omap3_dss_enable ();return 0 ; }
board/ti/beagle/beagle.h +75 -0
85 lines not on this page · raw message
include/configs/omap3_beagle.h +1 -0
@@ -137,6 +137,7 @@#define CONFIG_CMD_I2C /* I2C serial bus support */ #define CONFIG_CMD_MMC /* MMC support */ #define CONFIG_CMD_NAND /* NAND support */ +#define CONFIG_VIDEO_OMAP3 /* DSS Support */ #undef CONFIG_CMD_FLASH/* flinfo, erase, protect */ #undef CONFIG_CMD_FPGA/* FPGA configuration Support */
Signature · 1 line
1.5.6.3