From patchwork Sun Aug 26 11:59:30 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Abraham X-Patchwork-Id: 1374851 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 903AEDFB34 for ; Sun, 26 Aug 2012 11:45:35 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T5bE2-0005Tu-W4; Sun, 26 Aug 2012 11:41:55 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T5bDi-0005SZ-CP for linux-arm-kernel@lists.infradead.org; Sun, 26 Aug 2012 11:41:35 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M9D0080D1T02H10@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Sun, 26 Aug 2012 20:41:28 +0900 (KST) X-AuditID: cbfee61a-b7fc66d0000043b7-8a-503a0b687906 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 19.DA.17335.86B0A305; Sun, 26 Aug 2012 20:41:28 +0900 (KST) Received: from localhost.localdomain ([107.108.73.37]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M9D00JEH1SVN450@mmp2.samsung.com> for linux-arm-kernel@lists.infradead.org; Sun, 26 Aug 2012 20:41:28 +0900 (KST) From: Thomas Abraham To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 2/3] ARM: Exynos5: Add AUXDATA support for MSHC controllers Date: Sun, 26 Aug 2012 17:29:30 +0530 Message-id: <1345982371-26483-3-git-send-email-thomas.abraham@linaro.org> X-Mailer: git-send-email 1.6.6.rc2 In-reply-to: <1345982371-26483-1-git-send-email-thomas.abraham@linaro.org> References: <1345982371-26483-1-git-send-email-thomas.abraham@linaro.org> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrEJMWRmVeSWpSXmKPExsVy+t9jQd0MbqsAg2dfzCw2Pb7G6sDosXlJ fQBjFJdNSmpOZllqkb5dAlfGxxOvmQv28VXsuRnewHiOp4uRk0NCwETi8I7brBC2mMSFe+vZ uhi5OIQEpjNKXFj0jQXCWc8k8fn8J2aQKjYBA4lHC9+xg9giAhoSU7oes4MUMQtsZpRY8OAA WJGwgJ/E/F0NYGNZBFQlZv05ygZi8wp4Sjy9cZQJYp2SxIZeCJtTwEti+evVYL1CQDXLju1k nMDIu4CRYRWjaGpBckFxUnquoV5xYm5xaV66XnJ+7iZGsM+fSe1gXNlgcYhRgINRiYdXoNQy QIg1say4MvcQowQHs5II7/f9QCHelMTKqtSi/Pii0pzU4kOM0hwsSuK8/H2GAUIC6Yklqdmp qQWpRTBZJg5OqQbG/nMHU+cmTX27/IbAi+vLinnPpkTO0dNSElwVseBbiUieUKiDcHazUEBN w3bxCY/DL1y9le70YG2H3oEba4y0lnBX2Ur8rLu5RFnjBF9p0Srup8f+mztUqMwzlTty6/wX D5mdzAETb5gapbI/t7Lb2iLqe2/pvzT1mbr88zVzGbstxI/KPN2jxFKckWioxVxUnAgAX9EG kvUBAAA= X-Spam-Note: CRM114 invocation failed X-Spam-Score: -6.9 (------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-6.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.34 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: kgene.kim@samsung.com, patches@linaro.org, tgih.jun@samsung.com, jh80.chung@samsung.com, linux-samsung-soc@vger.kernel.org, girish.shivananjappa@linaro.org, cjb@laptop.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add entries if MSHC controllers in AUXDATA table for correct device name initialization. Signed-off-by: Abhilash Kesavan Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/include/mach/map.h | 1 + arch/arm/mach-exynos/mach-exynos5-dt.c | 8 ++++++++ 2 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/include/mach/map.h b/arch/arm/mach-exynos/include/mach/map.h index 9d1f3ac..5b0ee41 100644 --- a/arch/arm/mach-exynos/include/mach/map.h +++ b/arch/arm/mach-exynos/include/mach/map.h @@ -172,6 +172,7 @@ #define EXYNOS4_PA_HSMMC(x) (0x12510000 + ((x) * 0x10000)) #define EXYNOS4_PA_DWMCI 0x12550000 +#define EXYNOS5_PA_DWMCI(x) (0x12200000 + ((x) * 0x10000)) #define EXYNOS4_PA_HSOTG 0x12480000 #define EXYNOS4_PA_USB_HSPHY 0x125B0000 diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c b/arch/arm/mach-exynos/mach-exynos5-dt.c index ef770bc..4257cc1 100644 --- a/arch/arm/mach-exynos/mach-exynos5-dt.c +++ b/arch/arm/mach-exynos/mach-exynos5-dt.c @@ -47,6 +47,14 @@ static const struct of_dev_auxdata exynos5250_auxdata_lookup[] __initconst = { "s3c2440-i2c.0", NULL), OF_DEV_AUXDATA("samsung,s3c2440-i2c", EXYNOS5_PA_IIC(1), "s3c2440-i2c.1", NULL), + OF_DEV_AUXDATA("samsung,exynos5250-dw-mshc", EXYNOS5_PA_DWMCI(0), + "dw_mmc.0", NULL), + OF_DEV_AUXDATA("samsung,exynos5250-dw-mshc", EXYNOS5_PA_DWMCI(1), + "dw_mmc.1", NULL), + OF_DEV_AUXDATA("samsung,exynos5250-dw-mshc", EXYNOS5_PA_DWMCI(2), + "dw_mmc.2", NULL), + OF_DEV_AUXDATA("samsung,exynos5250-dw-mshc", EXYNOS5_PA_DWMCI(3), + "dw_mmc.3", NULL), OF_DEV_AUXDATA("samsung,exynos4210-spi", EXYNOS5_PA_SPI0, "exynos4210-spi.0", NULL), OF_DEV_AUXDATA("samsung,exynos4210-spi", EXYNOS5_PA_SPI1,