From patchwork Fri Nov 1 19:45:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 21307 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f69.google.com (mail-pb0-f69.google.com [209.85.160.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 27B7123908 for ; Fri, 1 Nov 2013 19:46:18 +0000 (UTC) Received: by mail-pb0-f69.google.com with SMTP id md4sf7990916pbc.8 for ; Fri, 01 Nov 2013 12:46:17 -0700 (PDT) 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=1zNx2kUoPqYnHrkskSjd/X0YK7CpRbomnzj5rqrLse0=; b=gtBMro4F3tPSv/9DRSPizQ0RmLZP4l+fQ++Mel4t8ht58x9BbHclkE9YuUYiDvJWsm GlfMfsGYMdKU2Ox8fg8ZarrWmqtEKVvlSSehT1PNfUAhzd8wYQ0b9tO3QC4+NyTZ+CQH vyAX0kmk6d4VVpHyz4dyI3QyEWdEjoF8uhMROzDYEZNxOlkwD7GWK13QfYoULJ6kiAdF lRbsHiz8wL2G0YsYkKMs0F9rM5m/7AfcOVG750dBfPrlSXKSGBWh4K/r3kFhUfZyCENz qZeDJ6+m6qnMZ39PCJU3Ed3l4pMKjzTzcCXD5kJDZrKiSQcffecfOteCxJ5jwk0Lveim R4YQ== X-Gm-Message-State: ALoCoQkZMFAzVSxkmwXPDvmw705C09wv/srpsTppB/20Pki6nXojbnIjnXJsHCr/MhvsQpDzla/b X-Received: by 10.66.150.106 with SMTP id uh10mr1394678pab.13.1383335177293; Fri, 01 Nov 2013 12:46:17 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.3.129 with SMTP id c1ls1488040qec.84.gmail; Fri, 01 Nov 2013 12:46:17 -0700 (PDT) X-Received: by 10.221.40.10 with SMTP id to10mr3088573vcb.22.1383335177142; Fri, 01 Nov 2013 12:46:17 -0700 (PDT) Received: from mail-ve0-f180.google.com (mail-ve0-f180.google.com [209.85.128.180]) by mx.google.com with ESMTPS id j3si2369823vcf.114.2013.11.01.12.46.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 01 Nov 2013 12:46:17 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.180 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.180; Received: by mail-ve0-f180.google.com with SMTP id oy12so3352932veb.25 for ; Fri, 01 Nov 2013 12:46:17 -0700 (PDT) X-Received: by 10.220.159.77 with SMTP id i13mr21011vcx.55.1383335177052; Fri, 01 Nov 2013 12:46:17 -0700 (PDT) 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 u4csp66758vcz; Fri, 1 Nov 2013 12:46:16 -0700 (PDT) X-Received: by 10.50.61.137 with SMTP id p9mr3668524igr.45.1383335176431; Fri, 01 Nov 2013 12:46:16 -0700 (PDT) Received: from mail-ie0-f179.google.com (mail-ie0-f179.google.com [209.85.223.179]) by mx.google.com with ESMTPS id u10si9901905icp.88.2013.11.01.12.46.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 01 Nov 2013 12:46:16 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.223.179 is neither permitted nor denied by best guess record for domain of matt.porter@linaro.org) client-ip=209.85.223.179; Received: by mail-ie0-f179.google.com with SMTP id aq17so7982149iec.24 for ; Fri, 01 Nov 2013 12:46:16 -0700 (PDT) X-Received: by 10.43.152.78 with SMTP id kv14mr2945046icc.13.1383335176170; Fri, 01 Nov 2013 12:46:16 -0700 (PDT) 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 f5sm5616338igc.4.2013.11.01.12.46.14 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 01 Nov 2013 12:46:15 -0700 (PDT) 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: Linux USB List , Linux ARM Kernel List , Linux Kernel Mailing List , Devicetree List , Linaro Patches Subject: [PATCH v2 2/9] staging: dwc2: update DT binding to add generic clock/phy properties Date: Fri, 1 Nov 2013 15:45:51 -0400 Message-Id: <1383335158-19730-3-git-send-email-matt.porter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1383335158-19730-1-git-send-email-matt.porter@linaro.org> References: <1383335158-19730-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.128.180 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 --- 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..f60477e 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 "usb2-phy" +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"; };