From patchwork Thu May 7 18:16:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 469764 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id BE12F14028F for ; Fri, 8 May 2015 04:17:34 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751697AbbEGSRR (ORCPT ); Thu, 7 May 2015 14:17:17 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:38409 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751470AbbEGSRQ (ORCPT ); Thu, 7 May 2015 14:17:16 -0400 Received: by wiun10 with SMTP id n10so1421060wiu.1 for ; Thu, 07 May 2015 11:17:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=89puSDcJNaG4vgRx8TUAeK+svLcueSpMempvgYdiBp0=; b=P6fUW8+Mt+U43fwhZnK9Dnbeeo45nj5laErg7d6BGJj9neMv4a+0F9oK6N0PTlfBuY PRit/yr2fIeeJBAecSEvdUJo41pao+93Tf7hc/nv0UKS7BKbcwTVEA2p/v/yamP+A1D7 vH+OgoDavI2KRUAJDju3BwrKFVg9gtGXd8uU7aB4SSxOFY2v8+AAOMyVJBS6/wfjuMfF bW+kzxU8xRzbKFybu5hJ0hkYh63pJa/zIgnoupgqj7C5/YyT2nwmPLEOyF34Mbi+aul4 uDlZBFc03y6AZFlsFrYHk3tz0ujXmzaP970JiSUNxkWxtgQXaJQ58R9PpiBsR4E1byuF cQ6A== X-Gm-Message-State: ALoCoQmse3WIlMJxYUjsn5LSOhShww+3iHYPWop6U1bi/M5f/YEIuVimfiMSlIXod+GI4CD2xqsP X-Received: by 10.194.78.49 with SMTP id y17mr10114808wjw.131.1431022635062; Thu, 07 May 2015 11:17:15 -0700 (PDT) Received: from localhost.localdomain (cpc14-aztw22-2-0-cust189.18-1.cable.virginm.net. [82.45.1.190]) by mx.google.com with ESMTPSA id mc20sm5161348wic.15.2015.05.07.11.17.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 May 2015 11:17:13 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, balbi@ti.com Cc: peter.griffin@linaro.org, lee.jones@linaro.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v3 3/6] usb: dwc3: dwc3-st: Update the incorrect DT dwc3 example. Date: Thu, 7 May 2015 19:16:53 +0100 Message-Id: <1431022613-26018-1-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org There is a subtle typo phys-names should be phy-names. Using the current example means you don't have working usb (as you fail to obtain the phys). Also update the example to use the generic phy type constants which are now used for miphy28. Additionally also remove the unnecessary new line in the example. Signed-off-by: Peter Griffin Acked-by: Rob Herring Acked-by: Maxime Coquelin --- Documentation/devicetree/bindings/usb/dwc3-st.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/dwc3-st.txt b/Documentation/devicetree/bindings/usb/dwc3-st.txt index f9d7025..01c71b1 100644 --- a/Documentation/devicetree/bindings/usb/dwc3-st.txt +++ b/Documentation/devicetree/bindings/usb/dwc3-st.txt @@ -49,8 +49,7 @@ st_dwc3: dwc3@8f94000 { st,syscfg = <&syscfg_core>; resets = <&powerdown STIH407_USB3_POWERDOWN>, <&softreset STIH407_MIPHY2_SOFTRESET>; - reset-names = "powerdown", - "softreset"; + reset-names = "powerdown", "softreset"; #address-cells = <1>; #size-cells = <1>; pinctrl-names = "default"; @@ -62,7 +61,7 @@ st_dwc3: dwc3@8f94000 { reg = <0x09900000 0x100000>; interrupts = ; dr_mode = "host"; - phys-names = "usb2-phy", "usb3-phy"; - phys = <&usb2_picophy2>, <&phy_port2 MIPHY_TYPE_USB>; + phy-names = "usb2-phy", "usb3-phy"; + phys = <&usb2_picophy2>, <&phy_port2 PHY_TYPE_USB3>; }; };