Enable MFC 5.1 device on the universal_c210 boards using the EXYNOS4 SoC. Signed-off-by: Kamil Debski <k.debski@xxxxxxxxxxx> Signed-off-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx> --- arch/arm/mach-exynos4/Kconfig | 1 + arch/arm/mach-exynos4/mach-universal_c210.c | 8 ++++++++ 2 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos4/Kconfig b/arch/arm/mach-exynos4/Kconfig index 544a594..6a05016 100644 --- a/arch/arm/mach-exynos4/Kconfig +++ b/arch/arm/mach-exynos4/Kconfig @@ -152,6 +152,7 @@ config MACH_UNIVERSAL_C210 select S5P_DEV_FIMC1 select S5P_DEV_FIMC2 select S5P_DEV_FIMC3 + select S5P_DEV_MFC select S3C_DEV_HSMMC select S3C_DEV_HSMMC2 select S3C_DEV_HSMMC3 diff --git a/arch/arm/mach-exynos4/mach-universal_c210.c b/arch/arm/mach-exynos4/mach-universal_c210.c index 7ff2f5f..777d8f3 100644 --- a/arch/arm/mach-exynos4/mach-universal_c210.c +++ b/arch/arm/mach-exynos4/mach-universal_c210.c @@ -620,7 +620,11 @@ static struct platform_device *universal_devices[] __initdata = { &s5p_device_fimc1, &s5p_device_fimc2, &s5p_device_fimc3, + &s5p_device_mfc, &exynos4_device_pd[PD_CAM], + &exynos4_device_pd[PD_MFC], + &exynos4_device_sysmmu[S5P_SYSMMU_MFC_R], + &exynos4_device_sysmmu[S5P_SYSMMU_MFC_L], &exynos4_device_sysmmu[S5P_SYSMMU_FIMC0], &exynos4_device_sysmmu[S5P_SYSMMU_FIMC1], &exynos4_device_sysmmu[S5P_SYSMMU_FIMC2], @@ -651,6 +655,10 @@ static void __init universal_machine_init(void) /* Last */ platform_add_devices(universal_devices, ARRAY_SIZE(universal_devices)); + s5p_device_mfc.dev.parent = &exynos4_device_pd[PD_MFC].dev; + exynos4_device_sysmmu[S5P_SYSMMU_MFC_L].dev.parent = &exynos4_device_pd[PD_MFC].dev; + exynos4_device_sysmmu[S5P_SYSMMU_MFC_R].dev.parent = &exynos4_device_pd[PD_MFC].dev; + s5p_device_fimc0.dev.parent = &exynos4_device_pd[PD_CAM].dev; s5p_device_fimc1.dev.parent = &exynos4_device_pd[PD_CAM].dev; s5p_device_fimc2.dev.parent = &exynos4_device_pd[PD_CAM].dev; -- 1.6.3.3 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html