diff options
author | Piotr Wilczek <p.wilczek@samsung.com> | 2014-03-07 14:59:40 +0100 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2014-03-12 19:54:59 +0900 |
commit | 1591ee73526ba4085cec7cc5bb83b2ece0f6706e (patch) | |
tree | c07b00876064d300af4bc42a05bd20476e027325 /drivers/video | |
parent | de461c526ee7a489710d2c431acdb4d7fa677577 (diff) | |
download | u-boot-imx-1591ee73526ba4085cec7cc5bb83b2ece0f6706e.zip u-boot-imx-1591ee73526ba4085cec7cc5bb83b2ece0f6706e.tar.gz u-boot-imx-1591ee73526ba4085cec7cc5bb83b2ece0f6706e.tar.bz2 |
video:exynos_fb:fdt: add additional fdt data
This patch adds the new exynos_lcd_misc_init() function for optional
lcd specific initialisation.
Signed-off-by: Piotr Wilczek <p.wilczek@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/exynos_fb.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/video/exynos_fb.c b/drivers/video/exynos_fb.c index 00a0a11..e1e0d80 100644 --- a/drivers/video/exynos_fb.c +++ b/drivers/video/exynos_fb.c @@ -104,6 +104,13 @@ void __exynos_backlight_reset(void) void exynos_backlight_reset(void) __attribute__((weak, alias("__exynos_backlight_reset"))); +int __exynos_lcd_misc_init(vidinfo_t *vid) +{ + return 0; +} +int exynos_lcd_misc_init(vidinfo_t *vid) + __attribute__((weak, alias("__exynos_lcd_misc_init"))); + static void lcd_panel_on(vidinfo_t *vid) { udelay(vid->init_delay); @@ -281,10 +288,15 @@ void lcd_ctrl_init(void *lcdbase) #ifdef CONFIG_OF_CONTROL if (exynos_fimd_parse_dt(gd->fdt_blob)) debug("Can't get proper panel info\n"); +#ifdef CONFIG_EXYNOS_MIPI_DSIM + exynos_init_dsim_platform_data(&panel_info); +#endif + exynos_lcd_misc_init(&panel_info); #else /* initialize parameters which is specific to panel. */ init_panel_info(&panel_info); #endif + panel_width = panel_info.vl_width; panel_height = panel_info.vl_height; |