From patchwork Tue Dec 17 19:42:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 22612 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f197.google.com (mail-qc0-f197.google.com [209.85.216.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B76D623FBC for ; Tue, 17 Dec 2013 19:42:50 +0000 (UTC) Received: by mail-qc0-f197.google.com with SMTP id r5sf11868871qcx.4 for ; Tue, 17 Dec 2013 11:42:50 -0800 (PST) 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=acN8K6zfIPD0wDpdPbauWHmKQgo+aXyMANfLJFUI5nM=; b=TeKVFTBpnrsuKHDd9uiCLYx2dAKtW7+Bn+kmlSNfsShk6vFeNOVeJ73SG42ZdsMFho WnG/QgJdcDh2a8dcFJcx9I7eFx5WBHidFZqsnC2fMTqW5kC/H/itW8UdDJGZ6L9WTvjs gJ653YrekHMXz7aIXefNIMWkO8MgdnYqtZzwBekbhiGrHpxmF/Fv/Sb7XdRot50+ESBq j/RQVuay8fSFh8X0DoKnKosBKL+229g/rMxKOKql9hIt2WL+Zfyu1fsl9/pGeZ4crX0P Mpn0Dq4PxJwnJSDRIhvOcTemQ8vN+fhIstMORPJ0FDpo3bctccwSU/JAKgrgdywRJ1MS ATRA== X-Gm-Message-State: ALoCoQmo+QJ9ViWix2AdAcO19EFaKpW3XfhxrVfTWH6+RPBXvfGViB7yKlMk/CZZUD7LUc7Hd3Ho X-Received: by 10.58.109.226 with SMTP id hv2mr3164907veb.33.1387309369932; Tue, 17 Dec 2013 11:42:49 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.116.42 with SMTP id jt10ls2445469qeb.66.gmail; Tue, 17 Dec 2013 11:42:49 -0800 (PST) X-Received: by 10.220.189.2 with SMTP id dc2mr155489vcb.60.1387309369793; Tue, 17 Dec 2013 11:42:49 -0800 (PST) Received: from mail-vb0-f43.google.com (mail-vb0-f43.google.com [209.85.212.43]) by mx.google.com with ESMTPS id n17si5145166vcq.60.2013.12.17.11.42.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 17 Dec 2013 11:42:49 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.43 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.43; Received: by mail-vb0-f43.google.com with SMTP id p6so4406000vbe.16 for ; Tue, 17 Dec 2013 11:42:49 -0800 (PST) X-Received: by 10.220.17.131 with SMTP id s3mr11513011vca.20.1387309369692; Tue, 17 Dec 2013 11:42:49 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.59.13.131 with SMTP id ey3csp191016ved; Tue, 17 Dec 2013 11:42:48 -0800 (PST) X-Received: by 10.42.118.14 with SMTP id v14mr2707327icq.73.1387309368411; Tue, 17 Dec 2013 11:42:48 -0800 (PST) Received: from mail-ig0-f174.google.com (mail-ig0-f174.google.com [209.85.213.174]) by mx.google.com with ESMTPS id jw1si18400307icc.114.2013.12.17.11.42.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 17 Dec 2013 11:42:48 -0800 (PST) Received-SPF: neutral (google.com: 209.85.213.174 is neither permitted nor denied by best guess record for domain of mporter@linaro.org) client-ip=209.85.213.174; Received: by mail-ig0-f174.google.com with SMTP id hk11so7166447igb.1 for ; Tue, 17 Dec 2013 11:42:48 -0800 (PST) X-Received: by 10.50.61.137 with SMTP id p9mr4767762igr.45.1387309368151; Tue, 17 Dec 2013 11:42:48 -0800 (PST) Received: from beef.ohporter.com (cpe-98-27-254-98.neo.res.rr.com. [98.27.254.98]) by mx.google.com with ESMTPSA id v2sm23254399igz.3.2013.12.17.11.42.45 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 17 Dec 2013 11:42:47 -0800 (PST) From: Matt Porter To: Felipe Balbi , Greg Kroah-Hartman , Kishon Vijay Abraham I , Rob Herring , Pawel Moll , Mark Rutland , Kumar Gala , Ian Campbell , Christian Daudt , Paul Zimmerman Cc: Tomasz Figa , Kamil Debski , Kyungmin Park , Dinh Nguyen , Russell King , Linux USB List , Linux ARM Kernel List , Linux Kernel Mailing List , Devicetree List , Linaro Patches Subject: [PATCH v7 2/9] staging: dwc2: update DT binding to add generic clock/phy properties Date: Tue, 17 Dec 2013 14:42:29 -0500 Message-Id: <1387309356-17195-3-git-send-email-mporter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1387309356-17195-1-git-send-email-mporter@linaro.org> References: <1387309356-17195-1-git-send-email-mporter@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mporter@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.43 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , dwc2/s3c-hsotg require a single clock to be specified and optionally a generic phy. On the s3c-hsotg driver old style USB phy support is present as a fallback so the generic phy properties are optional. Signed-off-by: Matt Porter Acked-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/staging/dwc2.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/staging/dwc2.txt b/Documentation/devicetree/bindings/staging/dwc2.txt index 1a1b7cf..a1753ed 100644 --- a/Documentation/devicetree/bindings/staging/dwc2.txt +++ b/Documentation/devicetree/bindings/staging/dwc2.txt @@ -5,6 +5,14 @@ Required properties: - compatible : "snps,dwc2" - reg : Should contain 1 register range (address and length) - interrupts : Should contain 1 interrupt +- clocks: clock provider specifier +- clock-names: shall be "otg" +Refer to clk/clock-bindings.txt for generic clock consumer properties + +Optional properties: +- phys: phy provider specifier +- phy-names: shall be "device" +Refer to phy/phy-bindings.txt for generic phy consumer properties Example: @@ -12,4 +20,8 @@ Example: compatible = "ralink,rt3050-usb, snps,dwc2"; reg = <0x101c0000 40000>; interrupts = <18>; + clocks = <&usb_otg_ahb_clk>; + clock-names = "otg"; + phys = <&usbphy>; + phy-names = "usb2-phy"; };