From patchwork Fri May 9 13:23:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 4143361 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 BF3D1BFF02 for ; Fri, 9 May 2014 13:24:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E2939201D5 for ; Fri, 9 May 2014 13:24:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 85A2F201C8 for ; Fri, 9 May 2014 13:24:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756668AbaEINX2 (ORCPT ); Fri, 9 May 2014 09:23:28 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:63779 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756661AbaEINXZ (ORCPT ); Fri, 9 May 2014 09:23:25 -0400 Received: by mail-pa0-f45.google.com with SMTP id ey11so4416050pad.4 for ; Fri, 09 May 2014 06:23:25 -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=WlTfZ1565BE1m1w9xScGG/HUSPWfn0ygPYlrJZx+e9w=; b=OZL73n1ttHtKE6dS01pz4b4KdSFCkqVmvU4Bs0/JCUBaeQ/vIlldo25YzphzFWlvmv EnWKTcZfOSyCIFUp1naXcMq7eq/fNY9iLHIAjzh82UmsxkB0MioiQNXzz75AUiLeHGX5 7tTDvqRft2FrIsCMKbU1rTAlJFDnTVa9kbW3ucwoMt3mHV/SquwKmtXpPtayQdoVvXIE QbUFR3LBkFYMxBV8e/6uLjmd+fNBYobiVwQpbtCMaa0iWGfHz/9bIS68tFes6r9ZHcB1 ii0oyxPZJTKRtuwS62wamccc8ks+givljsvLvwohaGpeSfbwaT7u4jN43urdM55WEMxP kwMg== X-Received: by 10.66.227.104 with SMTP id rz8mr20570987pac.74.1399641805074; Fri, 09 May 2014 06:23:25 -0700 (PDT) Received: from vivek-linuxpc.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id ff4sm8062650pad.24.2014.05.09.06.23.20 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 09 May 2014 06:23:24 -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, robh+dt@kernel.org, stern@rowland.harvard.edu, kishon@ti.com, k.debski@samsung.com, jg1.han@samsung.com, Vivek Gautam Subject: [PATCH v9 2/4] ARM: dts: Add usb2phy to Exynos 5250 Date: Fri, 9 May 2014 18:53:02 +0530 Message-Id: <1399641784-10833-3-git-send-email-gautam.vivek@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1399641784-10833-1-git-send-email-gautam.vivek@samsung.com> References: <1399641784-10833-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 v8: - Removed 'phy-names' property from the 'port'. - Dropped 'status' property, since default also takes status = okay. arch/arm/boot/dts/exynos5250.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 70f0cd5..782c524 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -563,6 +563,12 @@ clocks = <&clock CLK_USB2>; clock-names = "usbhost"; + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; + phys = <&usb2_phy_gen 1>; + }; }; usb@12120000 { @@ -572,6 +578,12 @@ clocks = <&clock CLK_USB2>; clock-names = "usbhost"; + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; + phys = <&usb2_phy_gen 1>; + }; }; usb2_phy: usbphy@12130000 { @@ -589,6 +601,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>;