Skip to contentSkip to conversation

S5PV210: FB: support command mode

PATCH New Donghwa Lee 1 participant 1 message Sep 28, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/3 S5PV210: FB: support command mode

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).

---
 arch/arm/plat-samsung/include/plat/fb.h |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
arch/arm/plat-samsung/include/plat/fb.h +13 -0
index cb3ca3a..2190500 100644
@@ -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;
Signature · 1 line
1.6.0.4