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>
This commit is contained in:
@@ -248,7 +248,7 @@ static struct sh_mobile_lcdc_info sh_mobile_lcdc_info = {
|
||||
.clock_divider = 2,
|
||||
.lcd_cfg = migor_lcd_modes,
|
||||
.num_cfg = ARRAY_SIZE(migor_lcd_modes),
|
||||
.lcd_size_cfg = { /* 7.0 inch */
|
||||
.panel_cfg = { /* 7.0 inch */
|
||||
.width = 152,
|
||||
.height = 91,
|
||||
},
|
||||
@@ -262,11 +262,9 @@ static struct sh_mobile_lcdc_info sh_mobile_lcdc_info = {
|
||||
.clock_divider = 10,
|
||||
.lcd_cfg = migor_lcd_modes,
|
||||
.num_cfg = ARRAY_SIZE(migor_lcd_modes),
|
||||
.lcd_size_cfg = { /* 2.4 inch */
|
||||
.width = 49,
|
||||
.panel_cfg = {
|
||||
.width = 49, /* 2.4 inch */
|
||||
.height = 37,
|
||||
},
|
||||
.board_cfg = {
|
||||
.setup_sys = migor_lcd_qvga_setup,
|
||||
},
|
||||
.sys_bus_cfg = {
|
||||
|
Reference in New Issue
Block a user