aboutsummaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-09-11 16:59:04 -0400
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-03-12 17:40:50 -0400
commitafaad83b9c0d24eac88535cc5a8c6019f0c45bcb (patch)
tree8f96bd7ac14c07f89178372782c7707f625bb193 /include/video
parent43059b0f46f814b4152f327c701d079253904540 (diff)
fbdev: sh_mobile_lcdc: Merge board_cfg and lcd_size_cfg into panel_cfg
Update board code accordingly. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/sh_mobile_lcdc.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/include/video/sh_mobile_lcdc.h b/include/video/sh_mobile_lcdc.h
index ecde6aad6f29..4f0fb559ea87 100644
--- a/include/video/sh_mobile_lcdc.h
+++ b/include/video/sh_mobile_lcdc.h
@@ -147,7 +147,9 @@ struct sh_mobile_lcdc_sys_bus_ops {
147 unsigned long (*read_data)(void *handle); 147 unsigned long (*read_data)(void *handle);
148}; 148};
149 149
150struct sh_mobile_lcdc_board_cfg { 150struct sh_mobile_lcdc_panel_cfg {
151 unsigned long width; /* Panel width in mm */
152 unsigned long height; /* Panel height in mm */
151 int (*setup_sys)(void *sys_ops_handle, 153 int (*setup_sys)(void *sys_ops_handle,
152 struct sh_mobile_lcdc_sys_bus_ops *sys_ops); 154 struct sh_mobile_lcdc_sys_bus_ops *sys_ops);
153 void (*start_transfer)(void *sys_ops_handle, 155 void (*start_transfer)(void *sys_ops_handle,
@@ -156,11 +158,6 @@ struct sh_mobile_lcdc_board_cfg {
156 void (*display_off)(void); 158 void (*display_off)(void);
157}; 159};
158 160
159struct sh_mobile_lcdc_lcd_size_cfg { /* width and height of panel in mm */
160 unsigned long width;
161 unsigned long height;
162};
163
164/* backlight info */ 161/* backlight info */
165struct sh_mobile_lcdc_bl_info { 162struct sh_mobile_lcdc_bl_info {
166 const char *name; 163 const char *name;
@@ -178,8 +175,7 @@ struct sh_mobile_lcdc_chan_cfg {
178 unsigned long flags; /* LCDC_FLAGS_... */ 175 unsigned long flags; /* LCDC_FLAGS_... */
179 const struct fb_videomode *lcd_cfg; 176 const struct fb_videomode *lcd_cfg;
180 int num_cfg; 177 int num_cfg;
181 struct sh_mobile_lcdc_lcd_size_cfg lcd_size_cfg; 178 struct sh_mobile_lcdc_panel_cfg panel_cfg;
182 struct sh_mobile_lcdc_board_cfg board_cfg;
183 struct sh_mobile_lcdc_bl_info bl_info; 179 struct sh_mobile_lcdc_bl_info bl_info;
184 struct sh_mobile_lcdc_sys_bus_cfg sys_bus_cfg; /* only for SYSn I/F */ 180 struct sh_mobile_lcdc_sys_bus_cfg sys_bus_cfg; /* only for SYSn I/F */
185 struct sh_mobile_meram_cfg *meram_cfg; 181 struct sh_mobile_meram_cfg *meram_cfg;