From patchwork Mon Nov 25 18:16:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 21749 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f72.google.com (mail-vb0-f72.google.com [209.85.212.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C735020299 for ; Mon, 25 Nov 2013 18:16:19 +0000 (UTC) Received: by mail-vb0-f72.google.com with SMTP id w5sf10234666vbf.11 for ; Mon, 25 Nov 2013 10:16:19 -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=QykmBZYEyj4ahTvorrnQrr+1f5ex9mgPCga0LH2eBno=; b=EZ6mnNGoiSpGQKc9yI2wnJqcLpK2FXfVVHxMh+sfBB77zmwLSerQswr+PUC3MfAdVj 3d/ccnuAYoinhcvgnJK8BvyfVoaAiB5yLFBZ5Aokx8YTm2ZSL1HH1404/a7iilO3tUFh GgksqVoMAFTnqzmb+TCFV+PUXcPrxUu0IoUO52nTnBmmENwNAQ+cqaoPYkW5/s6Ms/De 303j1hLX1K2716L0+Nf/kL+fzm2cUUzFSlSQOnCtCVkTu7bzqwtuQBic0CwukVIvJTRi ExxClccgTuJZF+hY2/3GIpfHt9dEH8UlVIQnI9+3F0u0j2pRpCg4CMM8nMcKjmInVlgt OXRw== X-Gm-Message-State: ALoCoQk2Xak1nu3XG0TFBbh7DEyuvJnAGJ9q2tNEtGO/cfNbCxGz1TuN06qVL8t4IZv3WsDZNoDk X-Received: by 10.58.94.77 with SMTP id da13mr9640641veb.1.1385403379399; Mon, 25 Nov 2013 10:16:19 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.60.228 with SMTP id k4ls2115183qer.93.gmail; Mon, 25 Nov 2013 10:16:19 -0800 (PST) X-Received: by 10.58.6.239 with SMTP id e15mr1317461vea.29.1385403379311; Mon, 25 Nov 2013 10:16:19 -0800 (PST) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id oy1si18185467veb.143.2013.11.25.10.16.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Nov 2013 10:16:19 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id ik5so3039817vcb.16 for ; Mon, 25 Nov 2013 10:16:19 -0800 (PST) X-Received: by 10.220.186.202 with SMTP id ct10mr28038879vcb.14.1385403379057; Mon, 25 Nov 2013 10:16:19 -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.220.174.196 with SMTP id u4csp152985vcz; Mon, 25 Nov 2013 10:16:18 -0800 (PST) X-Received: by 10.50.87.33 with SMTP id u1mr13861531igz.42.1385403378382; Mon, 25 Nov 2013 10:16:18 -0800 (PST) Received: from mail-ie0-f169.google.com (mail-ie0-f169.google.com [209.85.223.169]) by mx.google.com with ESMTPS id b17si19652240ign.17.2013.11.25.10.16.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Nov 2013 10:16:18 -0800 (PST) Received-SPF: neutral (google.com: 209.85.223.169 is neither permitted nor denied by best guess record for domain of matt.porter@linaro.org) client-ip=209.85.223.169; Received: by mail-ie0-f169.google.com with SMTP id e14so7523599iej.14 for ; Mon, 25 Nov 2013 10:16:18 -0800 (PST) X-Received: by 10.50.16.45 with SMTP id c13mr13685275igd.55.1385403378117; Mon, 25 Nov 2013 10:16:18 -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 j16sm26901318igf.6.2013.11.25.10.16.16 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Nov 2013 10:16:17 -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 , Linux USB List , Linux ARM Kernel List , Linux Kernel Mailing List , Devicetree List , Linaro Patches Subject: [PATCH v3 2/9] staging: dwc2: update DT binding to add generic clock/phy properties Date: Mon, 25 Nov 2013 13:16:00 -0500 Message-Id: <1385403367-18144-3-git-send-email-matt.porter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1385403367-18144-1-git-send-email-matt.porter@linaro.org> References: <1385403367-18144-1-git-send-email-matt.porter@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: matt.porter@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.171 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 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/staging/dwc2.txt b/Documentation/devicetree/bindings/staging/dwc2.txt index 1a1b7cf..b8b42b6 100644 --- a/Documentation/devicetree/bindings/staging/dwc2.txt +++ b/Documentation/devicetree/bindings/staging/dwc2.txt @@ -5,6 +5,12 @@ 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" +- phys: phy provider specifier +- phy-names: shall be "device" +Refer to clk/clock-bindings.txt for generic clock consumer properties +Refer to phy/phy-bindings.txt for generic phy consumer properties Example: @@ -12,4 +18,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 = "device"; };