From patchwork Tue Oct 30 04:57:36 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: 1668311 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 0490F3FDDA for ; Tue, 30 Oct 2012 04:54:47 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TT3oq-0008P8-SX; Tue, 30 Oct 2012 04:52:53 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TT3oi-0008MT-Ey for linux-arm-kernel@lists.infradead.org; Tue, 30 Oct 2012 04:52:46 +0000 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 <0MCO00AX5W70Q8L0@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 30 Oct 2012 13:52:41 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.126]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 3F.3C.01231.91D5F805; Tue, 30 Oct 2012 13:52:41 +0900 (KST) X-AuditID: cbfee61a-b7fa66d0000004cf-9e-508f5d19e231 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 6E.3C.01231.91D5F805; Tue, 30 Oct 2012 13:52: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 <0MCO00KD6VWRVA70@mmp2.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 30 Oct 2012 13:52:41 +0900 (KST) From: Praveen Paneri To: linux-usb@vger.kernel.org Subject: [PATCH v7 4/5] ARM: S3C64XX: Enabling samsung-usbphy driver Date: Tue, 30 Oct 2012 10:27:36 +0530 Message-id: <1351573057-22249-5-git-send-email-p.paneri@samsung.com> X-Mailer: git-send-email 1.7.1 In-reply-to: <1351573057-22249-1-git-send-email-p.paneri@samsung.com> References: <1351573057-22249-1-git-send-email-p.paneri@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrBLMWRmVeSWpSXmKPExsWyRsSkTlcytj/AYNY1BYtNj6+xOjB6bF5S H8AYxWWTkpqTWZZapG+XwJXxa81lxoJmr4prRzezNzCutu9i5OSQEDCR6Fz/ixnCFpO4cG89 WxcjF4eQwFJGiV/zbgIlOMCKdv/1gohPZ5SYta6TGcLZwCSxcc9vRpAiNgFtiYaZRiCDRARk JQ5f+Q02lFlgLrNE7w1BkBJhAReJg88sQcIsAqoSt1b9ACvhBQof67nPAnGDnMSO1U+YQGxO AVeJH02NjCC2EFBN/57fTBC9AhLfJh9igThNVmLTAajzL7NJHD7MDmFLShxccYNlAqPwAkaG VYyiqQXJBcVJ6bmGesWJucWleel6yfm5mxiBwXf63zOpHYwrGywOMQpwMCrx8G5Y0xcgxJpY VlyZe4hRgoNZSYQ337s/QIg3JbGyKrUoP76oNCe1+BCjD9AhE5mlRJPzgZGRVxJvaGxibmps amlkZGZqikNYSZy32SMlQEggPbEkNTs1tSC1CGYcEwenVAOjw2IpKaeAZjnzrZFvxWP4H37P rVhwkaFH1u67RPvkqwrLI28funA+8cyzzR+nsbprnA1+5LPv9vTrtVv01GZFTT13TGJFR+Lk k20r7i/Zk/zik37f/OiUTa31GWyPeq9c+zVzXuzDZ+EbXZ27Q5XvxkbMy720y+p+oeLxWL09 VR8DZFo5cy81KLEUZyQaajEXFScCAFQRveVrAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupgkeLIzCtJLcpLzFFi42I5/e+xoK5kbH+AwbOlghabHl9jdWD02Lyk PoAxqoHRJiM1MSW1SCE1Lzk/JTMv3VbJOzjeOd7UzMBQ19DSwlxJIS8xN9VWycUnQNctMwdo qpJCWWJOKVAoILG4WEnfDtOE0BA3XQuYxghd35AguB4jAzSQsIYx49eay4wFzV4V145uZm9g XG3fxcjBISFgIrH7r1cXIyeQKSZx4d56ti5GLg4hgemMErPWdTJDOBuYJDbu+c0I0sAmoC3R MNMIpEFEQFbi8JXfzCA2s8BcZoneG4IgJcICLhIHn1mChFkEVCVurfoBVsILFD7Wc58FYpec xI7VT5hAbE4BV4kfTY2MILYQUE3/nt9MExh5FzAyrGIUTS1ILihOSs811CtOzC0uzUvXS87P 3cQIDu5nUjsYVzZYHGIU4GBU4uHdsKYvQIg1say4MvcQowQHs5IIb753f4AQb0piZVVqUX58 UWlOavEhRh+gqyYyS4km5wMjL68k3tDYxNzU2NTSxMLEzBKHsJI4b7NHSoCQQHpiSWp2ampB ahHMOCYOTqkGxuVTsg+9Y9ad9u8NQ6B75uWUPZob5N9vPiS8mLeKIdRQzOx1hJqZzzEGjc7t OTe2bjA6/0hg/oyHe2NrY7IWBjMe2q45I8R02pWv3DxePjHnb1ySm7ZnW3OzfGKcscG5D/vk 1MIK7K10Vapnh1/stHyTqPDzSGPSt9VPOpLfleXLXz35uv5OoBJLcUaioRZzUXEiAEKG+dKb AgAA X-CFilter-Loop: Reflected X-Spam-Note: CRM114 invocation failed 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, linux-samsung-soc@vger.kernel.org, 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 | 8 +++++++ 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, 69 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 d738783..9ea99a7 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