[PATCH v3 1/3] S5PV210: FB: support command mode
Donghwa Lee
dh09.lee at samsung.com
Mon Sep 27 22:05:05 EDT 2010
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 <dh09.lee at samsung.com>
Signed-off-by: InKi Dae <inki.dae at samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park at 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
More information about the linux-arm-kernel
mailing list