From patchwork Fri Mar 4 11:26:21 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamil Debski X-Patchwork-Id: 608691 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p24BR1Cm026709 for ; Fri, 4 Mar 2011 11:27:01 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759288Ab1CDL0w (ORCPT ); Fri, 4 Mar 2011 06:26:52 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:64666 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759326Ab1CDL0n (ORCPT ); Fri, 4 Mar 2011 06:26:43 -0500 Received: from eu_spt1 (mailout2.w1.samsung.com [210.118.77.12]) by mailout2.w1.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0LHJ00BVG6GHP3@mailout2.w1.samsung.com>; Fri, 04 Mar 2011 11:26:41 +0000 (GMT) Received: from linux.samsung.com ([106.116.38.10]) by spt1.w1.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0LHJ008UV6GGKB@spt1.w1.samsung.com>; Fri, 04 Mar 2011 11:26:41 +0000 (GMT) Received: from localhost.localdomain (davsrvsmtp01.bs.local [106.116.38.10]) by linux.samsung.com (Postfix) with ESMTP id 9BE6427005C; Fri, 04 Mar 2011 12:27:26 +0100 (CET) Date: Fri, 04 Mar 2011 12:26:21 +0100 From: Kamil Debski Subject: [RFC/PATCH v7 4/5] s5pv310: Enable MFC on universal_c210 board In-reply-to: <1299237982-31687-1-git-send-email-k.debski@samsung.com> To: linux-media@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: m.szyprowski@samsung.com, kyungmin.park@samsung.com, k.debski@samsung.com, jaeryul.oh@samsung.com, kgene.kim@samsung.com Message-id: <1299237982-31687-5-git-send-email-k.debski@samsung.com> MIME-version: 1.0 X-Mailer: git-send-email 1.7.2.3 Content-type: TEXT/PLAIN Content-transfer-encoding: 7BIT References: <1299237982-31687-1-git-send-email-k.debski@samsung.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 04 Mar 2011 11:27:01 +0000 (UTC) diff --git a/arch/arm/mach-s5pv310/Kconfig b/arch/arm/mach-s5pv310/Kconfig index c850086..6f83817 100644 --- a/arch/arm/mach-s5pv310/Kconfig +++ b/arch/arm/mach-s5pv310/Kconfig @@ -107,6 +107,7 @@ config MACH_UNIVERSAL_C210 select S5PV310_SETUP_SDHCI select S3C_DEV_I2C1 select S3C_DEV_I2C5 + select S5P_DEV_MFC select S5PV310_DEV_PD select S5PV310_DEV_SYSMMU select S5PV310_SETUP_I2C1 diff --git a/arch/arm/mach-s5pv310/mach-universal_c210.c b/arch/arm/mach-s5pv310/mach-universal_c210.c index f153895..ce88262 100644 --- a/arch/arm/mach-s5pv310/mach-universal_c210.c +++ b/arch/arm/mach-s5pv310/mach-universal_c210.c @@ -827,6 +827,10 @@ static struct platform_device *universal_devices[] __initdata = { &s5pv310_device_sysmmu[S5P_SYSMMU_FIMC1], &s5pv310_device_sysmmu[S5P_SYSMMU_FIMC2], &s5pv310_device_sysmmu[S5P_SYSMMU_FIMC3], + &s5p_device_mfc, + &s5pv310_device_pd[PD_MFC], + &s5pv310_device_sysmmu[S5P_SYSMMU_MFC_L], + &s5pv310_device_sysmmu[S5P_SYSMMU_MFC_R], /* Universal Devices */ &universal_gpio_keys, @@ -862,6 +866,10 @@ static void __init universal_machine_init(void) s5pv310_device_sysmmu[S5P_SYSMMU_FIMC1].dev.parent = &s5pv310_device_pd[PD_CAM].dev; s5pv310_device_sysmmu[S5P_SYSMMU_FIMC2].dev.parent = &s5pv310_device_pd[PD_CAM].dev; s5pv310_device_sysmmu[S5P_SYSMMU_FIMC3].dev.parent = &s5pv310_device_pd[PD_CAM].dev; + + s5p_device_mfc.dev.parent = &s5pv310_device_pd[PD_MFC].dev; + s5pv310_device_sysmmu[S5P_SYSMMU_MFC_L].dev.parent = &s5pv310_device_pd[PD_MFC].dev; + s5pv310_device_sysmmu[S5P_SYSMMU_MFC_R].dev.parent = &s5pv310_device_pd[PD_MFC].dev; } MACHINE_START(UNIVERSAL_C210, "UNIVERSAL_C210")