From patchwork Wed Aug 8 07:41:00 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: p.paneri@samsung.com X-Patchwork-Id: 1292941 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 6D2143FCFC for ; Wed, 8 Aug 2012 07:37:29 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Sz0l0-0002Ma-1a; Wed, 08 Aug 2012 07:32:42 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Sz0ka-0002KK-GR for linux-arm-kernel@lists.infradead.org; Wed, 08 Aug 2012 07:32:17 +0000 Received: from epcpsbgm2.samsung.com (mailout2.samsung.com [203.254.224.25]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M8F0083EE8Z5JR0@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 08 Aug 2012 16:31:59 +0900 (KST) X-AuditID: cbfee61b-b7f566d000005c8a-b3-502215eeedbd Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id D6.55.23690.EE512205; Wed, 08 Aug 2012 16:31:58 +0900 (KST) Received: from matrix.sisodomain.com ([107.108.73.199]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M8F00I26E8TE5F0@mmp1.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 08 Aug 2012 16:31:58 +0900 (KST) From: Praveen Paneri To: linux-usb@vger.kernel.org Subject: [PATCH v3 4/5] ARM: S3C64XX: Enabling samsung-usbphy driver Date: Wed, 08 Aug 2012 13:11:00 +0530 Message-id: <1344411661-17821-5-git-send-email-p.paneri@samsung.com> X-Mailer: git-send-email 1.7.1 In-reply-to: <1344411661-17821-1-git-send-email-p.paneri@samsung.com> References: <1344411661-17821-1-git-send-email-p.paneri@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrIJMWRmVeSWpSXmKPExsVy+t9jAd13okoBBufbLSw2Pb7G6sDosXlJ fQBjFJdNSmpOZllqkb5dAlfGuaP9zAX3XSq2fX3K1MD4xqqLkZNDQsBEYsO8g0wQtpjEhXvr 2boYuTiEBBYxSmz/vgPK2cAksajlKVAVBwebgLZEw0wjkAYRAVmJw1d+M4PYzAJvmSSenwkD sYUFXCQuvrjCDmKzCKhKnJl5hg3E5gWK9028wgqxTE5ix+onYIs5BVwlDq1/BTZHCKhmy+Re 9gmMvAsYGVYxiqYWJBcUJ6XnGukVJ+YWl+al6yXn525iBHv8mfQOxlUNFocYBTgYlXh4N6Uq BgixJpYVV+YeYpTgYFYS4d1zECjEm5JYWZValB9fVJqTWnyIUZqDRUmc18T7q7+QQHpiSWp2 ampBahFMlomDU6qBkbXn6/HQuWHyFx6ILDNYVKfe+ZXZX2uR/tuWL4UdtXYJ1x4dX2y96R3L 9nRh7pvvF8slfJwz/Xr75F3pbY5vD32aN0Vd50nOpu9LxE+9sJ+hWVEoOTHx5spj51crTbB9 k3TI9I5azpqiMydyPz0s+qcUUKeYr8DqqjNjzU6XiwxSti/OnJ30t1aJpTgj0VCLuag4EQD6 U2vr9AEAAA== 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.25 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: l.majewski@samsung.com, kgene.kim@samsung.com, heiko@sntech.de, gregkh@linuxfoundation.org, devicetree-discuss@lists.ozlabs.org, broonie@opensource.wolfsonmicro.com, balbi@ti.com, grant.likely@secretlab.ca, kyungmin.park@samsung.com, linux-samsung-soc@vger.kernel.org, thomas.abraham@linaro.org, ben-linux@fluff.org, linux-arm-kernel@lists.infradead.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 Adding platform device for samsung-usbphy driver. Enabling it for s3c64xx based machines using s3c-hsotg. Signed-off-by: Praveen Paneri --- arch/arm/mach-s3c64xx/include/mach/map.h | 2 + arch/arm/mach-s3c64xx/mach-crag6410.c | 4 +++ arch/arm/mach-s3c64xx/mach-smartq.c | 5 ++++ arch/arm/mach-s3c64xx/mach-smdk6410.c | 4 +++ arch/arm/mach-s3c64xx/setup-usb-phy.c | 14 +++++++++++ arch/arm/plat-samsung/devs.c | 33 ++++++++++++++++++++++++++ arch/arm/plat-samsung/include/plat/devs.h | 1 + arch/arm/plat-samsung/include/plat/usb-phy.h | 1 + 8 files changed, 64 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-s3c64xx/include/mach/map.h b/arch/arm/mach-s3c64xx/include/mach/map.h index 8e2097b..dc482bb 100644 --- a/arch/arm/mach-s3c64xx/include/mach/map.h +++ b/arch/arm/mach-s3c64xx/include/mach/map.h @@ -65,6 +65,7 @@ #define S3C64XX_PA_NAND (0x70200000) #define S3C64XX_PA_FB (0x77100000) +#define S3C64XX_PA_USB_HSPHY (0x7C100000) #define S3C64XX_PA_USB_HSOTG (0x7C000000) #define S3C64XX_PA_WATCHDOG (0x7E004000) #define S3C64XX_PA_RTC (0x7E005000) @@ -113,6 +114,7 @@ #define S3C_PA_FB S3C64XX_PA_FB #define S3C_PA_USBHOST S3C64XX_PA_USBHOST #define S3C_PA_USB_HSOTG S3C64XX_PA_USB_HSOTG +#define S3C_PA_USB_PHY S3C64XX_PA_USB_HSPHY #define S3C_PA_RTC S3C64XX_PA_RTC #define S3C_PA_WDT S3C64XX_PA_WATCHDOG #define S3C_PA_SPI0 S3C64XX_PA_SPI0 diff --git a/arch/arm/mach-s3c64xx/mach-crag6410.c b/arch/arm/mach-s3c64xx/mach-crag6410.c index b0f5baf..fa02e2f 100644 --- a/arch/arm/mach-s3c64xx/mach-crag6410.c +++ b/arch/arm/mach-s3c64xx/mach-crag6410.c @@ -31,6 +31,7 @@ #include #include +#include #include