From patchwork Thu Dec 19 14:23:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 22631 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f198.google.com (mail-pd0-f198.google.com [209.85.192.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5C04723FCA for ; Thu, 19 Dec 2013 14:23:26 +0000 (UTC) Received: by mail-pd0-f198.google.com with SMTP id g10sf2833575pdj.5 for ; Thu, 19 Dec 2013 06:23:25 -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=aHiQB/ObWssaXmuhOdJFt12xLxd5TMUauskxXu9tzmMLb+k8qTp6VvaWKn0q+qUyWi FOgy5ordDFq0eXV6GKWBqfq53mo538njYWffb9Geg4u0w/D+UNr7KKbqZTZjkXpPKYW1 /VbveTfTFXJj4p6XIJInPjh5GbUrdprIE28/BJnSJFG2g+UTKZVU0eKrn9CmHLByXwK2 L97dNkd/ZkWForCu4iWbCnIvvSuG4Ut17pOsmB5rElDsWIbK19kGSEHu0MlwWvAvTavK mswqMwQQqCEtzBSENuhhru5NgcW6FzBeSD4ln3XC0YH8P51PGh4b7F7kifU3klO2GOPS y7TQ== X-Gm-Message-State: ALoCoQn1eavS1lBKkDysxKRg2Cwypdict9shxpymx9smz+GM+le1KCPA1/enLOOZHxl5ClQZzraX X-Received: by 10.67.3.34 with SMTP id bt2mr738425pad.41.1387463005487; Thu, 19 Dec 2013 06:23:25 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.24.174 with SMTP id v14ls360085qef.74.gmail; Thu, 19 Dec 2013 06:23:25 -0800 (PST) X-Received: by 10.58.188.42 with SMTP id fx10mr7484vec.51.1387463005298; Thu, 19 Dec 2013 06:23:25 -0800 (PST) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx.google.com with ESMTPS id a15si729999vew.45.2013.12.19.06.23.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Dec 2013 06:23:25 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.170; Received: by mail-ve0-f170.google.com with SMTP id oy12so715849veb.29 for ; Thu, 19 Dec 2013 06:23:25 -0800 (PST) X-Received: by 10.220.58.1 with SMTP id e1mr1149568vch.0.1387463005198; Thu, 19 Dec 2013 06:23:25 -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 ey3csp323630ved; Thu, 19 Dec 2013 06:23:24 -0800 (PST) X-Received: by 10.43.103.5 with SMTP id dg5mr1237051icc.50.1387463004230; Thu, 19 Dec 2013 06:23:24 -0800 (PST) Received: from mail-ig0-f177.google.com (mail-ig0-f177.google.com [209.85.213.177]) by mx.google.com with ESMTPS id mg9si4075555icc.24.2013.12.19.06.23.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Dec 2013 06:23:24 -0800 (PST) Received-SPF: neutral (google.com: 209.85.213.177 is neither permitted nor denied by best guess record for domain of mporter@linaro.org) client-ip=209.85.213.177; Received: by mail-ig0-f177.google.com with SMTP id uy17so4120618igb.4 for ; Thu, 19 Dec 2013 06:23:24 -0800 (PST) X-Received: by 10.50.109.132 with SMTP id hs4mr2955225igb.34.1387463003951; Thu, 19 Dec 2013 06:23:23 -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 l7sm5656642igx.2.2013.12.19.06.23.21 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Dec 2013 06:23:23 -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 v8 2/9] staging: dwc2: update DT binding to add generic clock/phy properties Date: Thu, 19 Dec 2013 09:23:03 -0500 Message-Id: <1387462990-12039-3-git-send-email-mporter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1387462990-12039-1-git-send-email-mporter@linaro.org> References: <1387462990-12039-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.128.170 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"; };