From patchwork Thu Dec 12 11:18:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 22271 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f72.google.com (mail-oa0-f72.google.com [209.85.219.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3DE9D23FC9 for ; Thu, 12 Dec 2013 11:18:55 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id o6sf955441oag.7 for ; Thu, 12 Dec 2013 03:18:54 -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=cCZy6OO1CrgKtcRNhqtj0KxEZM81JFilN08yK7i5ubcc4SHp/7B3E1svOA4cqitvUa cZQgTc4I5C+avbJakdw2GbsoPUXo/aUp6G0gPanw2J4zn96DvRWAsv1c0K9oKw0Qpg0m hxnIn3mN/CBKaDq2SuX47b0tsNMxSgHDEBljmpipKKNKfRLdr5RsTK+JRz6//cWEUZAB yCzpcpXYa40/+f0CgXN14wKUeCn//Sy7hxQ5kkYO1nRO2cXuQRpmtFob+m4RJZLJ8Zyo e62zocBF4rCEfQ8zhKmNMWA9Xbx2HpLQOFjRr65TBfpYCQkFsiC5xwn3rTnyaEx9wedR 40Gw== X-Gm-Message-State: ALoCoQkPy206upiY9Qy2c0qFPZQuBkUpCTkguPs+WRsAN6fq201ynojVONAzQX25Xu4i1MKoGAkY X-Received: by 10.50.164.193 with SMTP id ys1mr3346057igb.6.1386847134869; Thu, 12 Dec 2013 03:18:54 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.40.194 with SMTP id z2ls455085qek.23.gmail; Thu, 12 Dec 2013 03:18:54 -0800 (PST) X-Received: by 10.58.46.18 with SMTP id r18mr3314925vem.4.1386847134661; Thu, 12 Dec 2013 03:18:54 -0800 (PST) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id gq10si7579311vdc.56.2013.12.12.03.18.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Dec 2013 03:18:54 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.179 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.179; Received: by mail-vc0-f179.google.com with SMTP id ie18so165041vcb.24 for ; Thu, 12 Dec 2013 03:18:54 -0800 (PST) X-Received: by 10.220.64.69 with SMTP id d5mr3312910vci.11.1386847134580; Thu, 12 Dec 2013 03:18:54 -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 u4csp345865vcz; Thu, 12 Dec 2013 03:18:54 -0800 (PST) X-Received: by 10.50.234.162 with SMTP id uf2mr30398696igc.48.1386847133668; Thu, 12 Dec 2013 03:18:53 -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 go3si23768970icc.147.2013.12.12.03.18.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Dec 2013 03:18:53 -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 hk11so5030587igb.1 for ; Thu, 12 Dec 2013 03:18:53 -0800 (PST) X-Received: by 10.43.124.134 with SMTP id go6mr4676722icc.84.1386847133079; Thu, 12 Dec 2013 03:18:53 -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 u1sm14511537ige.1.2013.12.12.03.18.51 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Dec 2013 03:18:52 -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 v4 2/9] staging: dwc2: update DT binding to add generic clock/phy properties Date: Thu, 12 Dec 2013 06:18:30 -0500 Message-Id: <1386847117-21240-3-git-send-email-mporter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1386847117-21240-1-git-send-email-mporter@linaro.org> References: <1386847117-21240-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.220.179 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"; };