diff options
Diffstat (limited to 'arch/arm/mach-exynos/mach-exynos5-dt.c')
-rw-r--r-- | arch/arm/mach-exynos/mach-exynos5-dt.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c b/arch/arm/mach-exynos/mach-exynos5-dt.c index fdfe8c6c561..9bb6195ec98 100644 --- a/arch/arm/mach-exynos/mach-exynos5-dt.c +++ b/arch/arm/mach-exynos/mach-exynos5-dt.c @@ -184,6 +184,7 @@ int exynos_dsim_init_d_phy(struct platform_device *pdev, bool enable) * DPHY and aster block must be enabled at the system initialization * step before data access from/to DPHY begins. */ + exynos_dsim_enable_d_phy(pdev, enable); exynos_dsim_enable_dsi_master(pdev, enable); @@ -324,11 +325,9 @@ static struct lcd_platform_data s6e8ax0_lcd_platform_data = { .power_off_delay = 200, /* 200ms */ }; -static struct mipi_dsim_lcd_device s6e8ax0_mipi_dsim_lcd_device = { +static struct platform_device s6e8ax0_lcd_device = { .name = "s6e8ax0", - .id = -1, - .bus_id = 0, - .platform_data = (void *)&s6e8ax0_lcd_platform_data, + .dev.platform_data = (void*)&s6e8ax0_lcd_platform_data, }; #endif @@ -579,8 +578,12 @@ static void __init exynos5_dt_machine_init(void) exynos_mipi_dsi_register_lcd_device(&tc358764_mipi_dsim_lcd_device); #else pr_err("v MIPI:SAB exynos_mipi_dsi_register_lcd_device from exynos5_dt.c file "); - pr_err("v MIPI:SAB register_ldc_device_name: %s", s6e8ax0_mipi_dsim_lcd_device.name); + //pr_err("v MIPI:SAB register_ldc_device_name: %s", s6e8ax0_mipi_dsim_lcd_device.name); +#if 0 exynos_mipi_dsi_register_lcd_device(&s6e8ax0_mipi_dsim_lcd_device); +#else + platform_device_register(&s6e8ax0_lcd_device); +#endif #endif #endif } |