|
@@ -47,12 +47,18 @@ struct sh_mobile_lcdc_board_cfg {
|
|
|
void (*display_off)(void *board_data);
|
|
|
};
|
|
|
|
|
|
+struct sh_mobile_lcdc_lcd_size_cfg { /* width and height of panel in mm */
|
|
|
+ unsigned long width;
|
|
|
+ unsigned long height;
|
|
|
+};
|
|
|
+
|
|
|
struct sh_mobile_lcdc_chan_cfg {
|
|
|
int chan;
|
|
|
int bpp;
|
|
|
int interface_type; /* selects RGBn or SYSn I/F, see above */
|
|
|
int clock_divider;
|
|
|
struct fb_videomode lcd_cfg;
|
|
|
+ struct sh_mobile_lcdc_lcd_size_cfg lcd_size_cfg;
|
|
|
struct sh_mobile_lcdc_board_cfg board_cfg;
|
|
|
struct sh_mobile_lcdc_sys_bus_cfg sys_bus_cfg; /* only for SYSn I/F */
|
|
|
};
|