diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-09-11 16:59:04 -0400 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-03-12 17:40:50 -0400 |
commit | afaad83b9c0d24eac88535cc5a8c6019f0c45bcb (patch) | |
tree | 8f96bd7ac14c07f89178372782c7707f625bb193 /arch/arm/mach-shmobile/board-ap4evb.c | |
parent | 43059b0f46f814b4152f327c701d079253904540 (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 'arch/arm/mach-shmobile/board-ap4evb.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-ap4evb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index 22e192574625..2cb6c39dd62a 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c | |||
@@ -1360,8 +1360,8 @@ static void __init ap4evb_init(void) | |||
1360 | lcdc_info.ch[0].interface_type = RGB24; | 1360 | lcdc_info.ch[0].interface_type = RGB24; |
1361 | lcdc_info.ch[0].clock_divider = 1; | 1361 | lcdc_info.ch[0].clock_divider = 1; |
1362 | lcdc_info.ch[0].flags = LCDC_FLAGS_DWPOL; | 1362 | lcdc_info.ch[0].flags = LCDC_FLAGS_DWPOL; |
1363 | lcdc_info.ch[0].lcd_size_cfg.width = 44; | 1363 | lcdc_info.ch[0].panel_cfg.width = 44; |
1364 | lcdc_info.ch[0].lcd_size_cfg.height = 79; | 1364 | lcdc_info.ch[0].panel_cfg.height = 79; |
1365 | 1365 | ||
1366 | platform_add_devices(qhd_devices, ARRAY_SIZE(qhd_devices)); | 1366 | platform_add_devices(qhd_devices, ARRAY_SIZE(qhd_devices)); |
1367 | 1367 | ||
@@ -1402,8 +1402,8 @@ static void __init ap4evb_init(void) | |||
1402 | lcdc_info.ch[0].interface_type = RGB18; | 1402 | lcdc_info.ch[0].interface_type = RGB18; |
1403 | lcdc_info.ch[0].clock_divider = 3; | 1403 | lcdc_info.ch[0].clock_divider = 3; |
1404 | lcdc_info.ch[0].flags = 0; | 1404 | lcdc_info.ch[0].flags = 0; |
1405 | lcdc_info.ch[0].lcd_size_cfg.width = 152; | 1405 | lcdc_info.ch[0].panel_cfg.width = 152; |
1406 | lcdc_info.ch[0].lcd_size_cfg.height = 91; | 1406 | lcdc_info.ch[0].panel_cfg.height = 91; |
1407 | 1407 | ||
1408 | /* enable TouchScreen */ | 1408 | /* enable TouchScreen */ |
1409 | irq_set_irq_type(IRQ7, IRQ_TYPE_LEVEL_LOW); | 1409 | irq_set_irq_type(IRQ7, IRQ_TYPE_LEVEL_LOW); |