From patchwork Wed Jul 18 13:45:22 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 1210971 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 19A803FCFC for ; Wed, 18 Jul 2012 13:38:49 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SrUOG-00006H-H2; Wed, 18 Jul 2012 13:34:08 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SrULM-0008P7-JU for linux-arm-kernel@lists.infradead.org; Wed, 18 Jul 2012 13:31:16 +0000 Received: from epcpsbgm1.samsung.com (mailout4.samsung.com [203.254.224.34]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M7C00I6FYVD56O0@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 18 Jul 2012 22:30:59 +0900 (KST) X-AuditID: cbfee61a-b7f616d000004b7e-95-5006ba933167 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 93.B8.19326.39AB6005; Wed, 18 Jul 2012 22:30:59 +0900 (KST) Received: from localhost.localdomain ([107.108.73.106]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M7C00MXCYV9WD70@mmp2.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 18 Jul 2012 22:30:59 +0900 (KST) From: Vivek Gautam To: kgene.kim@samsung.com, l.majewski@samsung.com, kyungmin.park@samsung.com, thomas.abraham@linaro.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree-discuss@lists.ozlabs.org, m.szyprowski@samsung.com Subject: [PATCH 2/8] ARM: EXYNOS5: Add machine data for USB 2.0 Date: Wed, 18 Jul 2012 19:15:22 +0530 Message-id: <1342619128-25013-3-git-send-email-gautam.vivek@samsung.com> X-Mailer: git-send-email 1.7.0.4 In-reply-to: <1342619128-25013-1-git-send-email-gautam.vivek@samsung.com> References: <1342619128-25013-1-git-send-email-gautam.vivek@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrCJMWRmVeSWpSXmKPExsVy+t9jQd3Ju9gCDE595LTY9PgaqwOjx+Yl 9QGMUVw2Kak5mWWpRfp2CVwZj458Yy7o4ao4/O0tWwPjIY4uRk4OCQETiQmdx1ghbDGJC/fW s3UxcnEICUxnlNjTOZEJwtnAJPGq+TojSBWbgK5E09tdjCAJEYGvjBInv65jBnGYBc4wStx6 cZgJpEpYwF5i4+1DYDaLgKrEn5u/wWxeAQ+Jawt2skHsU5BoXXaIHcTmFPCUuDpjIzOILQRU 83rGVOYJjLwLGBlWMYqmFiQXFCel5xrqFSfmFpfmpesl5+duYgT7/ZnUDsaVDRaHGAU4GJV4 eJesYQsQYk0sK67MPcQowcGsJMLrvw0oxJuSWFmVWpQfX1Sak1p8iFGag0VJnNfY+6u/kEB6 YklqdmpqQWoRTJaJg1OqgbHCVYPvk0L9/v1iJ3wigxUOi9yqDJlT16yhUbh+qsv5YrX4S+/E mf96zJqxqod/z8nPpwpUTlptvV+Xq8jbdFS0pm2xZ/Id54hutfPbvBumdvf/Nr14Ifp55dzt 7TeDn903vcowJ+jS54j4SXFNZ34ay3JKyC/cIKPEYxzWJjU5Q3dfd0afnBJLcUaioRZzUXEi AKUFwdH3AQAA X-TM-AS-MML: No 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 -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: yulgon.kim@samsung.com, av.tikhomirov@samsung.com, prashanth.g@samsung.com, boyko.lee@samsung.com, joshi@samsung.com, a.kesavan@samsung.com, olofj@google.com, Ajay Kumar 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 From: Ajay Kumar This patch adds address mapping of USB 2.0 PHY for exynos5 Signed-off-by: Banajit Goswami Signed-off-by: Abhilash Kesavan Signed-off-by: Vivek Gautam diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c index 4eb39cd..92d5e61 100644 --- a/arch/arm/mach-exynos/common.c +++ b/arch/arm/mach-exynos/common.c @@ -275,6 +275,11 @@ static struct map_desc exynos5_iodesc[] __initdata = { .pfn = __phys_to_pfn(EXYNOS5_PA_GIC_DIST), .length = SZ_4K, .type = MT_DEVICE, + }, { + .virtual = (unsigned long)S3C_VA_USB_HSPHY, + .pfn = __phys_to_pfn(EXYNOS5_PA_USB_PHY), + .length = SZ_4K, + .type = MT_DEVICE, }, }; diff --git a/arch/arm/mach-exynos/include/mach/map.h b/arch/arm/mach-exynos/include/mach/map.h index c72b675..331ae57 100644 --- a/arch/arm/mach-exynos/include/mach/map.h +++ b/arch/arm/mach-exynos/include/mach/map.h @@ -192,6 +192,8 @@ #define EXYNOS4_PA_UART 0x13800000 #define EXYNOS5_PA_UART 0x12C00000 +#define EXYNOS5_PA_USB_PHY 0x12130000 + #define EXYNOS4_PA_VP 0x12C00000 #define EXYNOS4_PA_MIXER 0x12C10000 #define EXYNOS4_PA_SDO 0x12C20000