From patchwork Thu Dec 12 13:26: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: 22280 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f198.google.com (mail-ie0-f198.google.com [209.85.223.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2C80723FC9 for ; Thu, 12 Dec 2013 13:26:24 +0000 (UTC) Received: by mail-ie0-f198.google.com with SMTP id tp5sf1451699ieb.1 for ; Thu, 12 Dec 2013 05:26:23 -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=VJYqHq22qCmej2DHbo6t+UEriSGT1lwjDaMIC/NmG4Nx+iL0q0FkGpQkYFMq4WqPTx Fji8LsXbYWq0NmKmvloCq/xeV2v8vnTryZDupvajJV5uqbuVDOY4ipXv4+kRtrCyjfIO dftEXpWd9ABWZH+W+c4tH3XeJUFwOD+Vnp0B4zJwJTSwJQT28D7FULCUdzcnBqFeM3gt iutM7uVfQS6qDuAKrGmzM9ZDqi4BPEiSEmF6lk8tlMuN7MC38jrwIZhhR8bE2U/NsrBV pm7VzRZkur66v9U7ejUqyp3DlJoZ10COzjGPfjRC1/cEoooMqB6X5c95ihLacKNeECv8 z8Sg== X-Gm-Message-State: ALoCoQlitOXS9KQ4WkWhsKRf77SIM1M83lTSuPnQE90m506pmgI8pg3WuoSX4+5s+XHUYNx7Y4jG X-Received: by 10.182.236.74 with SMTP id us10mr2943500obc.36.1386854783559; Thu, 12 Dec 2013 05:26:23 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.2.69 with SMTP id 5ls495132qes.98.gmail; Thu, 12 Dec 2013 05:26:23 -0800 (PST) X-Received: by 10.52.23.13 with SMTP id i13mr3210684vdf.0.1386854783436; Thu, 12 Dec 2013 05:26:23 -0800 (PST) Received: from mail-vb0-f51.google.com (mail-vb0-f51.google.com [209.85.212.51]) by mx.google.com with ESMTPS id pv1si7704151veb.94.2013.12.12.05.26.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Dec 2013 05:26:23 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.51 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.51; Received: by mail-vb0-f51.google.com with SMTP id 11so262261vbe.24 for ; Thu, 12 Dec 2013 05:26:23 -0800 (PST) X-Received: by 10.220.145.75 with SMTP id c11mr95955vcv.30.1386854783354; Thu, 12 Dec 2013 05:26:23 -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 u4csp354229vcz; Thu, 12 Dec 2013 05:26:22 -0800 (PST) X-Received: by 10.42.208.211 with SMTP id gd19mr6168179icb.15.1386854782527; Thu, 12 Dec 2013 05:26:22 -0800 (PST) Received: from mail-ie0-f176.google.com (mail-ie0-f176.google.com [209.85.223.176]) by mx.google.com with ESMTPS id b5si11283886igt.46.2013.12.12.05.26.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Dec 2013 05:26:22 -0800 (PST) Received-SPF: neutral (google.com: 209.85.223.176 is neither permitted nor denied by best guess record for domain of mporter@linaro.org) client-ip=209.85.223.176; Received: by mail-ie0-f176.google.com with SMTP id at1so512763iec.7 for ; Thu, 12 Dec 2013 05:26:22 -0800 (PST) X-Received: by 10.50.136.201 with SMTP id qc9mr29872916igb.11.1386854782162; Thu, 12 Dec 2013 05:26:22 -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 l7sm14983106igx.2.2013.12.12.05.26.20 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Dec 2013 05:26:21 -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 , Russell King , Linux USB List , Linux ARM Kernel List , Linux Kernel Mailing List , Devicetree List , Linaro Patches Subject: [PATCH v5 2/9] staging: dwc2: update DT binding to add generic clock/phy properties Date: Thu, 12 Dec 2013 08:26:03 -0500 Message-Id: <1386854770-2173-3-git-send-email-mporter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1386854770-2173-1-git-send-email-mporter@linaro.org> References: <1386854770-2173-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.51 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"; };