From patchwork Mon Jan 10 15:34:32 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Weber X-Patchwork-Id: 469071 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0AFaQQg018878 for ; Mon, 10 Jan 2011 15:36:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751349Ab1AJPgZ (ORCPT ); Mon, 10 Jan 2011 10:36:25 -0500 Received: from moutng.kundenserver.de ([212.227.126.187]:53248 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751311Ab1AJPgZ (ORCPT ); Mon, 10 Jan 2011 10:36:25 -0500 Received: from corscience.de (DSL01.212.114.252.242.ip-pool.NEFkom.net [212.114.252.242]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0MXnnj-1PpptA34Z5-00WGPr; Mon, 10 Jan 2011 16:36:23 +0100 Received: from localhost.CS.local (unknown [192.168.102.87]) by corscience.de (Postfix) with ESMTP id 4B4775211A; Mon, 10 Jan 2011 16:36:23 +0100 (CET) From: Thomas Weber To: linux-fbdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Thomas Weber Subject: [PATCH] Drivers: video: Add modes for Devkit8000 displays Date: Mon, 10 Jan 2011 16:34:32 +0100 Message-Id: <1294673672-30924-1-git-send-email-weber@corscience.de> X-Mailer: git-send-email 1.7.4.rc1 X-Provags-ID: V02:K0:XsApzvfyKKagP7KcSVl1ICnqc2XtCb6yS4ILB38lqqL aSvCbOsyhNEXAF3jNj6+l6dyP9jyMMGusBi1Qpe0WQWqtXFosM HeSBkKrQGii0eJRH1+y1OBv2ZzGRCELzOGJJ8UvRFGJQL43Re9 xZCRR8/yCo8hmq+Ku8P6XX8aFZFt/BWhFXo2RC/eWSdq6vZWmZ r6Q0PQzbRiLvTvG4I2CtA== Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 10 Jan 2011 15:36:27 +0000 (UTC) diff --git a/drivers/video/modedb.c b/drivers/video/modedb.c index de450c1..7b2581c 100644 --- a/drivers/video/modedb.c +++ b/drivers/video/modedb.c @@ -274,7 +274,19 @@ static const struct fb_videomode modedb[] = { /* 800x520i @ 50 Hz, 15.625 kHz hsync (PAL RGB) */ NULL, 50, 800, 520, 58823, 144, 64, 72, 28, 80, 5, 0, FB_VMODE_INTERLACED - }, + }, { + /* 480x272 @ 60 Hz */ + NULL, 60, 480, 272, KHZ2PICOS(10164), 2, 2, 2, 2, 41, 10, + 0, FB_VMODE_NONINTERLACED + }, { + /* 640x480 @ 60 Hz */ + NULL, 60, 640, 480, KHZ2PICOS(25000), 16, 134, 32, 11, 10, 2, + 0, FB_VMODE_NONINTERLACED + }, { + /* 800x480 @ 60 Hz */ + NULL, 60, 800, 480, KHZ2PICOS(30000), 40, 40, 13, 29, 48, 3, + 0, FB_VMODE_NONINTERLACED + } }; #ifdef CONFIG_FB_MODE_HELPERS