From patchwork Wed Apr 30 08:55:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 4091921 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4E5F9BFF02 for ; Wed, 30 Apr 2014 08:58:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 870FE20211 for ; Wed, 30 Apr 2014 08:58:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B13AD20154 for ; Wed, 30 Apr 2014 08:58:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758519AbaD3I5h (ORCPT ); Wed, 30 Apr 2014 04:57:37 -0400 Received: from mail-pd0-f174.google.com ([209.85.192.174]:32809 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932978AbaD3Izi (ORCPT ); Wed, 30 Apr 2014 04:55:38 -0400 Received: by mail-pd0-f174.google.com with SMTP id w10so295830pde.5 for ; Wed, 30 Apr 2014 01:55:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=jg3T4YXlax0HFTeMhx4o2ERWbWkwlzkO5Xpxpq7lBlA=; b=DBfzZK4QBaENzNx+qy4ZNTi5YVQ8+sPeX6gEbM3kJb5cSNrvklre/piPyw2YFHc0hr OEaYJO17/ib/NTiW3I6fvZnngdyZhB+AgsL6Wq9k22qz8kEKZLXFmizeH04FqF2saiDy JE2fHnZLAqYRN3NvAiNR1R/oYYjm0UGsZkgjRrLdU2LfjmyZCNUgTZnjQghBIw7wJAjP l2rqL3RS7O4iEhjCAPSEpRDTV6Kn+4E+RK75YE8StfBXleA1CHUWQDUkqN+HuvQLHqkd 0jtBvAVAsp86hJW2TySK51LJYQh5d5QApups+CtGieX9VKABGetZMDVWi8ll0BjQ+q3n s1XQ== X-Received: by 10.66.122.1 with SMTP id lo1mr6398852pab.118.1398848135050; Wed, 30 Apr 2014 01:55:35 -0700 (PDT) Received: from vivek-linuxpc.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id i10sm131057200pat.36.2014.04.30.01.55.29 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 30 Apr 2014 01:55:34 -0700 (PDT) From: Vivek Gautam To: linux-usb@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kgene.kim@samsung.com, stern@rowland.harvard.edu, kishon@ti.com, k.debski@samsung.com, jg1.han@samsung.com, p.paneri@samsung.com, Vivek Gautam Subject: [PATCH 2/4] ARM: dts: Add usb2phy to Exynos 5250 Date: Wed, 30 Apr 2014 14:25:08 +0530 Message-Id: <1398848110-6152-3-git-send-email-gautam.vivek@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1398848110-6152-1-git-send-email-gautam.vivek@samsung.com> References: <1398848110-6152-1-git-send-email-gautam.vivek@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kamil Debski Add support to PHY of USB2 of the Exynos 5250 SoC. Signed-off-by: Kamil Debski [gautam.vivek@samsung.com: Split the usb phy entries from syscon entries from earlier patch: dts: Add usb2phy to Exynos 5250] [gautam.vivek@samsung.com: Added phy entry for OHCI also along with EHCI] Signed-off-by: Vivek Gautam --- Changes from v7: None arch/arm/boot/dts/exynos5250.dtsi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 70f0cd5..51e554c 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -563,6 +563,14 @@ clocks = <&clock CLK_USB2>; clock-names = "usbhost"; + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; + phys = <&usb2_phy_gen 1>; + phy-names = "host"; + status = "ok"; + }; }; usb@12120000 { @@ -572,6 +580,14 @@ clocks = <&clock CLK_USB2>; clock-names = "usbhost"; + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; + phys = <&usb2_phy_gen 1>; + phy-names = "host"; + status = "ok"; + }; }; usb2_phy: usbphy@12130000 { @@ -589,6 +605,16 @@ }; }; + usb2_phy_gen: phy@12130000 { + compatible = "samsung,exynos5250-usb2-phy"; + reg = <0x12130000 0x100>; + clocks = <&clock CLK_USB2>, <&clock CLK_FIN_PLL>; + clock-names = "phy", "ref"; + #phy-cells = <1>; + samsung,sysreg-phandle = <&sysreg_system_controller>; + samsung,pmureg-phandle = <&pmu_system_controller>; + }; + pwm: pwm@12dd0000 { compatible = "samsung,exynos4210-pwm"; reg = <0x12dd0000 0x100>;