linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Drivers: video: Add modes for Devkit8000 displays
@ 2011-01-10 15:34 Thomas Weber
  2011-01-11  3:04 ` Paul Mundt
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Weber @ 2011-01-10 15:34 UTC (permalink / raw)
  To: linux-fbdev; +Cc: linux-kernel, Thomas Weber

This patch adds the video modes for the 4.3, 5.6 and 7 inch panels that
are sold with the devkit8000.

Signed-off-by: Thomas Weber <weber@corscience.de>
---
 drivers/video/modedb.c |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

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
-- 
1.7.4.rc1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Drivers: video: Add modes for Devkit8000 displays
  2011-01-10 15:34 [PATCH] Drivers: video: Add modes for Devkit8000 displays Thomas Weber
@ 2011-01-11  3:04 ` Paul Mundt
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2011-01-11  3:04 UTC (permalink / raw)
  To: Thomas Weber; +Cc: linux-fbdev, linux-kernel

On Mon, Jan 10, 2011 at 04:34:32PM +0100, Thomas Weber wrote:
> This patch adds the video modes for the 4.3, 5.6 and 7 inch panels that
> are sold with the devkit8000.
> 
> Signed-off-by: Thomas Weber <weber@corscience.de>

The modedb is primarily intended for generic modes that are going to be
used by a multiple of drivers. If you're simply dealing with modes for
panels for a one-off board that no one else is using, then simply keep it
local to the driver. If there are multiple users of the same modes, then
it's of course possible to make it generally available.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-11  3:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-10 15:34 [PATCH] Drivers: video: Add modes for Devkit8000 displays Thomas Weber
2011-01-11  3:04 ` Paul Mundt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).