From patchwork Mon Mar 30 15:17:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 46525 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 130A52159A for ; Mon, 30 Mar 2015 15:18:15 +0000 (UTC) Received: by wixm2 with SMTP id m2sf20288343wix.0 for ; Mon, 30 Mar 2015 08:18:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=YMicQibEtYH2n2xGpQJ/mBVEEuVGCyvE0XrGwZ79Aks=; b=CMqPnCSNNQWelWeN9wVnB2EqOtcGvberxgA6ce9yOzeaeJyd0e+eVAVUhZl5xLxwNh PQ7Nuf4llXu8NR8M5PQhs6HCF5JZzSZd5MMRZ/ZFwGPsWZ0RY2da97ORDUza9II5azlg sjVs81jdHUY2MpbIuKAJJtU7VTYwQ8X6oMPfC8dT1e0h6BGLihCN1eexY8ff8X6kQuRE RiYbs1yYDs50xTTJf7Pppjqd0DRC3E0xWws0q0SpS77E8UYzr9Ivo4AsKPwvMn6NECRj zGmx2eWL0S53WljBwlhd/PfQveinkV1BtWDBlTtr1vLpni4ZMvu0pwqQPBU73xvcRbaY zrNA== X-Gm-Message-State: ALoCoQnuMcB7Eraeal6JuMr6TMiiMYZQgtpIiBLbtXgFTp0Zduyud5qjhqwu4S5Ae1d/ldE59evG X-Received: by 10.112.162.135 with SMTP id ya7mr7266147lbb.14.1427728694312; Mon, 30 Mar 2015 08:18:14 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.27.228 with SMTP id w4ls18880lag.29.gmail; Mon, 30 Mar 2015 08:18:13 -0700 (PDT) X-Received: by 10.152.5.195 with SMTP id u3mr3369541lau.18.1427728693929; Mon, 30 Mar 2015 08:18:13 -0700 (PDT) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com. [209.85.217.169]) by mx.google.com with ESMTPS id kq1si7229776lac.72.2015.03.30.08.18.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Mar 2015 08:18:13 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Received: by lbdc10 with SMTP id c10so43575029lbd.2 for ; Mon, 30 Mar 2015 08:18:13 -0700 (PDT) X-Received: by 10.112.201.231 with SMTP id kd7mr27563129lbc.35.1427728693820; Mon, 30 Mar 2015 08:18:13 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.57.201 with SMTP id k9csp1217775lbq; Mon, 30 Mar 2015 08:18:12 -0700 (PDT) X-Received: by 10.70.89.8 with SMTP id bk8mr59471781pdb.139.1427728691856; Mon, 30 Mar 2015 08:18:11 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z2si15152660pbt.186.2015.03.30.08.18.10; Mon, 30 Mar 2015 08:18:11 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753238AbbC3PSG (ORCPT + 27 others); Mon, 30 Mar 2015 11:18:06 -0400 Received: from mail-wg0-f45.google.com ([74.125.82.45]:36486 "EHLO mail-wg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752752AbbC3PR2 (ORCPT ); Mon, 30 Mar 2015 11:17:28 -0400 Received: by wgra20 with SMTP id a20so178144517wgr.3 for ; Mon, 30 Mar 2015 08:17:27 -0700 (PDT) X-Received: by 10.194.120.132 with SMTP id lc4mr66085587wjb.92.1427728647127; Mon, 30 Mar 2015 08:17:27 -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 gt4sm16121494wib.21.2015.03.30.08.17.25 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Mar 2015 08:17:26 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, srinivas.kandagatla@gmail.com, maxime.coquelin@st.com, patrice.chotard@st.com, kishon@ti.com, balbi@ti.com Cc: peter.griffin@linaro.org, lee.jones@linaro.org, devicetree@vger.kernel.org, robherring2@gmail.com Subject: [PATCH v2 5/6] usb: dwc3: dwc3-st: Update the incorrect DT dwc3 example. Date: Mon, 30 Mar 2015 16:17:11 +0100 Message-Id: <1427728632-10846-6-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1427728632-10846-1-git-send-email-peter.griffin@linaro.org> References: <1427728632-10846-1-git-send-email-peter.griffin@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.griffin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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. Additionaly also remove the unnecessary new line in the example. Signed-off-by: Peter Griffin Acked-by: Rob Herring --- 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>; }; };