S5PV210: FB: support command mode
Subsystems (3)
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).
Signed-off-by Donghwa Lee <[email protected]>
Signed-off-by InKi Dae <[email protected]>
Signed-off-by Kyungmin Park <[email protected]>
--- 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
@@ -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