[PATCH v3 1/3] S5PV210: FB: support command mode
From: Donghwa Lee <hidden>
Date: 2010-09-28 02:05:05
Also in:
linux-fbdev
Subsystem:
arm port, the rest · Maintainers:
Russell King, Linus Torvalds
From: Donghwa Lee <hidden>
Date: 2010-09-28 02:05:05
Also in:
linux-fbdev
Subsystem:
arm port, the rest · Maintainers:
Russell King, Linus Torvalds
I had tested MIPI-DSI to use commnad mode as per H/W and the newest FB only uses RGB mode. So some structure was added to use command mode (CPU interface). Signed-off-by: Donghwa Lee <redacted> Signed-off-by: InKi Dae <inki.dae@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> --- arch/arm/plat-samsung/include/plat/fb.h | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/arch/arm/plat-samsung/include/plat/fb.h b/arch/arm/plat-samsung/include/plat/fb.h
index cb3ca3a..2190500 100644
--- a/arch/arm/plat-samsung/include/plat/fb.h
+++ b/arch/arm/plat-samsung/include/plat/fb.h@@ -22,6 +22,18 @@ */ #define S3C_FB_MAX_WIN (5) +struct fb_cmdmode { + const char *name; /* optional */ + u32 refresh; /* optional */ + u32 xres; + u32 yres; + u32 pixclock; + u32 cs_setup; + u32 wr_setup; + u32 wr_act; + u32 wr_hold; +}; + /** * struct s3c_fb_pd_win - per window setup data * @win_mode: The display parameters to initialise (not for window 0)
@@ -30,6 +42,7 @@ */ struct s3c_fb_pd_win { struct fb_videomode win_mode; + struct fb_cmdmode cmd_mode; unsigned short default_bpp; unsigned short max_bpp;
--
1.6.0.4