From: Kukjin Kim Subject: RE: [PATCH 1/2] ARM: EXYNOS: Add AUXDATA for DP controller Date: Sat, 24 Nov 2012 12:28:08 +0900 Message-ID: <122f01cdc9f3$b9106df0$2b3149d0$%kim@samsung.com> References: <004801cdbb3a$c74b98d0$55e2ca70$%han@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailout3.samsung.com ([203.254.224.33]:63958 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755857Ab2KXD2K (ORCPT ); Fri, 23 Nov 2012 22:28:10 -0500 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MDZ00HN12YWJMC0@mailout3.samsung.com> for linux-samsung-soc@vger.kernel.org; Sat, 24 Nov 2012 12:28:08 +0900 (KST) Received: from DOKGENEKIM03 ([12.23.120.199]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MDZ00AUH2YWYS50@mmp2.samsung.com> for linux-samsung-soc@vger.kernel.org; Sat, 24 Nov 2012 12:28:08 +0900 (KST) In-reply-to: <004801cdbb3a$c74b98d0$55e2ca70$%han@samsung.com> Content-language: ko Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: 'Jingoo Han' Cc: linux-samsung-soc@vger.kernel.org, 'Ajay Kumar' Jingoo Han wrote: > > Use AUXDATA to set the device names for DP controller instance > discovered from device tree. > > Signed-off-by: Ajay Kumar > Signed-off-by: Jingoo Han > --- > arch/arm/mach-exynos/include/mach/map.h | 2 ++ > arch/arm/mach-exynos/mach-exynos5-dt.c | 1 + > 2 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/mach-exynos/include/mach/map.h b/arch/arm/mach- > exynos/include/mach/map.h > index ef4958b..c00a72e 100644 > --- a/arch/arm/mach-exynos/include/mach/map.h > +++ b/arch/arm/mach-exynos/include/mach/map.h > @@ -221,6 +221,8 @@ > #define EXYNOS4_PA_TIMER 0x139D0000 > #define EXYNOS5_PA_TIMER 0x12DD0000 > > +#define EXYNOS5_PA_DP 0x145B0000 > + > #define EXYNOS4_PA_SDRAM 0x40000000 > #define EXYNOS5_PA_SDRAM 0x40000000 > > diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c b/arch/arm/mach- > exynos/mach-exynos5-dt.c > index ed37273..8cebe12 100644 > --- a/arch/arm/mach-exynos/mach-exynos5-dt.c > +++ b/arch/arm/mach-exynos/mach-exynos5-dt.c > @@ -86,6 +86,7 @@ static const struct of_dev_auxdata > exynos5250_auxdata_lookup[] __initconst = { > "exynos5-hdmi", NULL), > OF_DEV_AUXDATA("samsung,exynos5-mixer", 0x14450000, > "exynos5-mixer", NULL), > + OF_DEV_AUXDATA("samsung,exynos5-dp", EXYNOS5_PA_DP, "exynos-dp", > NULL), Just following is enough because the EXYNOS5_PA_DP is not used other places, auxdata will be gone away with common clock later though. + OF_DEV_AUXDATA("samsung,exynos5-dp", 0x145B0000, "exynos-dp", NULL), Applied with above modification. Thanks. Best regards, Kgene. -- Kukjin Kim , Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.