From patchwork Mon Nov 23 16:11:22 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Syed Mohammed, Khasim" X-Patchwork-Id: 62206 Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nANGE7Lc014909 for ; Mon, 23 Nov 2009 16:14:08 GMT Received: from dlep33.itg.ti.com ([157.170.170.112]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id nANGCPYC014303 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 23 Nov 2009 10:12:26 -0600 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep33.itg.ti.com (8.13.7/8.13.7) with ESMTP id nANGCPkR007843; Mon, 23 Nov 2009 10:12:25 -0600 (CST) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id D21D08070A; Mon, 23 Nov 2009 10:11:51 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dbdp20.itg.ti.com (dbdp20.itg.ti.com [172.24.170.38]) by linux.omap.com (Postfix) with ESMTP id 6C4BA80627 for ; Mon, 23 Nov 2009 10:11:26 -0600 (CST) Received: from dbde70.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id nANGBP1x019043 for ; Mon, 23 Nov 2009 21:41:25 +0530 (IST) Received: from dbde02.ent.ti.com ([172.24.170.145]) by dbde70.ent.ti.com ([172.24.170.148]) with mapi; Mon, 23 Nov 2009 21:41:25 +0530 From: "Syed Mohammed, Khasim" To: "davinci-linux-open-source@linux.davincidsp.com" Date: Mon, 23 Nov 2009 21:41:22 +0530 Subject: [RFC 4/4] VGA monitor support for OMAPL138 based hawkboard Thread-Topic: [RFC 4/4] VGA monitor support for OMAPL138 based hawkboard Thread-Index: AcpsV5kmzJlcKODpT5K5+hgZoIKCbA== Message-ID: <0680EC522D0CC943BC586913CF3768C0037D52BC08@dbde02.ent.ti.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: davinci-linux-open-source-bounces@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com diff --git a/arch/arm/mach-davinci/devices-da8xx.c b/arch/arm/mach-davinci/devices-da8xx.c index b3f1317..7218539 100755 --- a/arch/arm/mach-davinci/devices-da8xx.c +++ b/arch/arm/mach-davinci/devices-da8xx.c @@ -396,6 +396,11 @@ struct da8xx_lcdc_platform_data sharp_lk043t1dg01_pdata = { .controller_data = &lcd_cfg, .type = "Sharp_LK043T1DG01", }; +struct da8xx_lcdc_platform_data vga_monitor_pdata = { + .manu_name = "vga_monitor", + .controller_data = &lcd_cfg, + .type = "VGA_Monitor", +}; #if !defined(CONFIG_FB_DA8XX) && !defined(CONFIG_FB_DA8XX_MODULE) static struct da8xx_clcd_platform_data da8xx_evm_clcd_pdata = { diff --git a/arch/arm/mach-davinci/include/mach/da8xx.h b/arch/arm/mach-davinci/include/mach/da8xx.h index 362ff83..8da6983 100644 --- a/arch/arm/mach-davinci/include/mach/da8xx.h +++ b/arch/arm/mach-davinci/include/mach/da8xx.h @@ -110,6 +110,7 @@ extern struct platform_device da8xx_serial_device; extern struct emac_platform_data da8xx_emac_pdata; extern struct da8xx_lcdc_platform_data sharp_lcd035q3dg01_pdata; extern struct da8xx_lcdc_platform_data sharp_lk043t1dg01_pdata; +extern struct da8xx_lcdc_platform_data vga_monitor_pdata; void da8xx_usb20_configure(struct musb_hdrc_platform_data *pdata, u8 num_inst); extern const short da830_emif25_pins[]; diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 67550e6..5e32391 100644 --- a/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c @@ -193,6 +193,20 @@ static struct da8xx_panel known_lcd_panels[] = { .pxl_clk = 7833600, .invert_pxl_clk = 0, }, + /* CRT Monitor or LCD Screen */ + [2] = { + .name = "VGA_Monitor", + .width = 640, + .height = 480, + .hfp = 48, + .hbp = 48, + .hsw = 63, + .vfp = 11, + .vbp = 31, + .vsw = 1, + .pxl_clk = 25000000, + .invert_pxl_clk = 1, + }, }; _______________________________________________ Davinci-linux-open-source mailing list