From patchwork Wed Nov 14 10:45:37 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: 1740581 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 EEAE63FCF7 for ; Wed, 14 Nov 2012 10:40:59 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TYaN6-0001m4-8C; Wed, 14 Nov 2012 10:39:04 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TYaN1-0001l3-Dr for linux-arm-kernel@lists.infradead.org; Wed, 14 Nov 2012 10:39:00 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MDH001RH48DDZV0@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 14 Nov 2012 19:38:41 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.122]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 37.A2.12699.1B473A05; Wed, 14 Nov 2012 19:38:41 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-68-50a374b1e8b7 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id B5.A2.12699.1B473A05; Wed, 14 Nov 2012 19:38:41 +0900 (KST) Received: from matrix.sisodomain.com ([107.108.73.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 <0MDH00MM040KCS50@mmp2.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 14 Nov 2012 19:38:41 +0900 (KST) From: Praveen Paneri To: linux-samsung-soc@vger.kernel.org Subject: [PATCH v8 2/3] ARM: S3C64XX: Enabling samsung-usbphy driver Date: Wed, 14 Nov 2012 16:15:37 +0530 Message-id: <1352889938-17311-3-git-send-email-p.paneri@samsung.com> X-Mailer: git-send-email 1.7.1 In-reply-to: <1352889938-17311-1-git-send-email-p.paneri@samsung.com> References: <1352889938-17311-1-git-send-email-p.paneri@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrFLMWRmVeSWpSXmKPExsWyRsSkSndjyeIAg31zNC02Pb7G6sDosXlJ fQBjFJdNSmpOZllqkb5dAldG09l/7AUPPStmbNnH3sDYY9/FyMEhIWAi8WCzXxcjJ5ApJnHh 3nq2LkYuDiGBpYwSLTM/sUAkTCQWLH3HBJGYziix4GcbK4SzgUniTONmVpBJbALaEg0zjUAa RARUJT63LWAHqWEW+MUkce/DVHaQGmEBF4k7b4xBaliAak51tzGC2LxA4dM3mpghlslJ7Fj9 hAnE5hRwlfh79SXYEUJANVu6JzBD9ApIfJt8iAXiAVmJTQeYQVZJCFxmk5j0eQcrxBxJiYMr brBMYBRewMiwilE0tSC5oDgpPddIrzgxt7g0L10vOT93EyMwAE//eya9g3FVg8UhRgEORiUe 3oD+RQFCrIllxZW5hxglOJiVRHiDixcHCPGmJFZWpRblxxeV5qQWH2L0AbpkIrOUaHI+MDry SuINjU3MTY1NLY2MzExNcQgrifM2e6QECAmkJ5akZqemFqQWwYxj4uCUamBccOKjWMmhKQkh LD6fTnTqTJ8nx/r0q/6nDM/lj+4tzao4KzEv8EFFm2O5QaeyFhOX70bF9E3zdue/c5hSd5B9 i1DSPG25ZNb7D/SaDfRyGBMnfQyM/Tv17+6of4fP33TxNLcuZNk3L+4sL6/e0TkrDvw+8+fN zFoZ5q7ooHkXhbc3Xb9/mOGxEktxRqKhFnNRcSIAOze8b20CAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupikeLIzCtJLcpLzFFi42I5/e+xoO7GksUBBv0vxS02Pb7G6sDosXlJ fQBjVAOjTUZqYkpqkUJqXnJ+SmZeuq2Sd3C8c7ypmYGhrqGlhbmSQl5ibqqtkotPgK5bZg7Q VCWFssScUqBQQGJxsZK+HaYJoSFuuhYwjRG6viFBcD1GBmggYQ1jRtPZf+wFDz0rZmzZx97A 2GPfxcjJISFgIrFg6TsmCFtM4sK99WxdjFwcQgLTGSUW/GxjhXA2MEmcadwM5HBwsAloSzTM NAJpEBFQlfjctoAdpIZZ4BeTxL0PU9lBaoQFXCTuvDEGqWEBqjnV3cYIYvMChU/faGKGWCYn sWP1E7DFnAKuEn+vvmQBsYWAarZ0T2CewMi7gJFhFaNoakFyQXFSeq6RXnFibnFpXrpecn7u JkZwgD+T3sG4qsHiEKMAB6MSD29A/6IAIdbEsuLK3EOMEhzMSiK8wcWLA4R4UxIrq1KL8uOL SnNSiw8x+gBdNZFZSjQ5Hxh9eSXxhsYm5qbGppYmFiZmljiElcR5mz1SAoQE0hNLUrNTUwtS i2DGMXFwSjUw+te6FhS73za146zTtykyFOCX3qEtuW7BUrnKTy2/GW+eqskUUFPomB4nKMOn 8NX3WHii5cPX/x1SZ70tLhZm3/t75ftXZuy8V9OuL2k++mSRzPzEqWdfib76afbcVPiY5Lap j5qTvfWr70RYhl7q7g5Q9l8q3xi9JOj0kmWFR8zC+fznzr6oxFKckWioxVxUnAgAJy98HZ0C AAA= X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121114_053900_116643_8684C5C2 X-CRM114-Status: GOOD ( 19.25 ) X-Spam-Score: -7.6 (-------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-7.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.33 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.7 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, thomas.abraham@linaro.org, gautam.vivek@samsung.com, ben-linux@fluff.org, t.figa@samsung.com, 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 | 7 ++++++ arch/arm/mach-s3c64xx/mach-smartq.c | 8 +++++++ arch/arm/mach-s3c64xx/mach-smdk6410.c | 7 ++++++ arch/arm/mach-s3c64xx/setup-usb-phy.c | 14 +++++++++++++ arch/arm/plat-samsung/devs.c | 28 ++++++++++++++++++++++++++ arch/arm/plat-samsung/include/plat/devs.h | 1 + arch/arm/plat-samsung/include/plat/usb-phy.h | 1 + 8 files changed, 68 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 48f4a2d..c602379 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