From patchwork Wed Apr 23 14:30:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 4041791 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 416BBBFF02 for ; Wed, 23 Apr 2014 14:39:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 63A1920160 for ; Wed, 23 Apr 2014 14:39:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8B465201E7 for ; Wed, 23 Apr 2014 14:39:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756956AbaDWOin (ORCPT ); Wed, 23 Apr 2014 10:38:43 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:58806 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932298AbaDWOb1 (ORCPT ); Wed, 23 Apr 2014 10:31:27 -0400 Received: by mail-pa0-f54.google.com with SMTP id lf10so816183pab.41 for ; Wed, 23 Apr 2014 07:31:26 -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=+aGylXGEK2Q/nH+r/lEItqjudntbOxRAmcJUGoOzDc8=; b=RAmWg7VJc0Ow2B/fbkwarRfFxhr4/whNPNV+tGjLh2L7JZwwkNfgKNYK4K1OzRShWm zPv0pfKdSKqFGEXzGwgQOftPPRneseyPZeXLWxBxVFeoUYZPdcURP2ku4GvbGFdibnFY WcGrPAUgNlr9y/sFOgFU5kns9EMD6yZVFrMw9JY3EXiXaoFjh9DESPxGMmzJgZwInn8S k2t9XZrgpOpVQiOaUaFSH6p7/BhoFqqrr4Hn8jxcEvfvmzAmEhsj/CEiqZxbvW42aupX hwkU7HrrmMnCNw2xwjkYr3cPrfZO9NVEnxEiJY44oaEXJVn7Z5e7QCGI2Mxy1GHgvTWm PheA== X-Received: by 10.68.136.133 with SMTP id qa5mr55549661pbb.63.1398263486619; Wed, 23 Apr 2014 07:31:26 -0700 (PDT) Received: from vivek-linuxpc.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id xo9sm5803182pab.18.2014.04.23.07.31.22 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Apr 2014 07:31:25 -0700 (PDT) From: Vivek Gautam To: linux-usb@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kgene.kim@samsung.com, robh+dt@kernel.org, gregkh@linuxfoundation.org, olof@lixom.net, balbi@ti.com, jg1.han@samsung.com, t.figa@samsung.com Subject: [PATCH v5 4/9] dts: exynos5250: Update DWC3 usb controller to use new phy driver Date: Wed, 23 Apr 2014 20:00:46 +0530 Message-Id: <1398263451-18023-5-git-send-email-gautam.vivek@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1398263451-18023-1-git-send-email-gautam.vivek@samsung.com> References: <1398263451-18023-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 Removing the dt node for older usb3 phy driver from Exynos5250 device tree and updating the dt node for DWC3 controller to use new phy driver based on generic phy framework. Signed-off-by: Vivek Gautam Reviewed-by: Tomasz Figa --- arch/arm/boot/dts/exynos5250.dtsi | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index d4254c0..d7c65e6 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -533,21 +533,8 @@ compatible = "synopsys,dwc3"; reg = <0x12000000 0x10000>; interrupts = <0 72 0>; - usb-phy = <&usb2_phy &usb3_phy>; - }; - }; - - usb3_phy: usbphy@12100000 { - compatible = "samsung,exynos5250-usb3phy"; - reg = <0x12100000 0x100>; - clocks = <&clock CLK_FIN_PLL>, <&clock CLK_USB3>; - clock-names = "ext_xtal", "usbdrd30"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - usbphy-sys { - reg = <0x10040704 0x8>; + phys = <&usbdrd_phy 0>, <&usbdrd_phy 1>; + phy-names = "usb2-phy", "usb3-phy"; }; };