From patchwork Fri Dec 13 16:51:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 22332 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f200.google.com (mail-vc0-f200.google.com [209.85.220.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 77A6B202E2 for ; Fri, 13 Dec 2013 16:51:39 +0000 (UTC) Received: by mail-vc0-f200.google.com with SMTP id hu19sf3727067vcb.11 for ; Fri, 13 Dec 2013 08:51:39 -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=RxoqAEI21Cvvjmf+ddjU+2nqSNtJMIhO+NBzuhHECKQM0ItBinLq2gu7UeDFvnY9Yl rObF4W1VnwX7uhENZc4VgcsK0VKqAjRzkbHEGgSaRNGDMNc3MUa/z6xIrvtoNBG1FaLq ZE4wb+pmIg90ur/gHl759kGvTddAGR9HbWmRs3pb5gStiYcMzg/N+NIKijWdXY7scSLf lkcelAoacQT6XQdSKgiGt3657uFEO1qLbUmHNQti0AYfaPIy6AV6KSvoYX/kPY1juvET VUpHtEZxDuZSENs644wsjWnzslVOY2P9cMkn7O8k4hAYF9OwRZAz7SM8+1uOPWbojlj5 IRjQ== X-Gm-Message-State: ALoCoQmM5AEIx/sho8oNvc9bgHE+MIG8n0up8K3+jWXGJjnijapOLByjxd/amZBJMw9xIDb5YGvq X-Received: by 10.236.147.241 with SMTP id t77mr904260yhj.51.1386953499303; Fri, 13 Dec 2013 08:51:39 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.120.164 with SMTP id ld4ls1080382qeb.51.gmail; Fri, 13 Dec 2013 08:51:39 -0800 (PST) X-Received: by 10.52.157.1 with SMTP id wi1mr1409485vdb.12.1386953499204; Fri, 13 Dec 2013 08:51:39 -0800 (PST) Received: from mail-ve0-f178.google.com (mail-ve0-f178.google.com [209.85.128.178]) by mx.google.com with ESMTPS id a15si934737vew.83.2013.12.13.08.51.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Dec 2013 08:51:39 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.178 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.178; Received: by mail-ve0-f178.google.com with SMTP id c14so1557713vea.37 for ; Fri, 13 Dec 2013 08:51:39 -0800 (PST) X-Received: by 10.58.216.133 with SMTP id oq5mr62480vec.80.1386953499095; Fri, 13 Dec 2013 08:51:39 -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 u4csp51915vcz; Fri, 13 Dec 2013 08:51:38 -0800 (PST) X-Received: by 10.50.40.102 with SMTP id w6mr4241895igk.20.1386953498375; Fri, 13 Dec 2013 08:51:38 -0800 (PST) Received: from mail-ie0-f170.google.com (mail-ie0-f170.google.com [209.85.223.170]) by mx.google.com with ESMTPS id i2si3185495igv.28.2013.12.13.08.51.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Dec 2013 08:51:38 -0800 (PST) Received-SPF: neutral (google.com: 209.85.223.170 is neither permitted nor denied by best guess record for domain of mporter@linaro.org) client-ip=209.85.223.170; Received: by mail-ie0-f170.google.com with SMTP id qd12so3187031ieb.15 for ; Fri, 13 Dec 2013 08:51:38 -0800 (PST) X-Received: by 10.43.103.133 with SMTP id di5mr2751751icc.38.1386953498047; Fri, 13 Dec 2013 08:51:38 -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 hv5sm5155766igb.9.2013.12.13.08.51.35 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Dec 2013 08:51:37 -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 v6 2/9] staging: dwc2: update DT binding to add generic clock/phy properties Date: Fri, 13 Dec 2013 11:51:16 -0500 Message-Id: <1386953483-21631-3-git-send-email-mporter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1386953483-21631-1-git-send-email-mporter@linaro.org> References: <1386953483-21631-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.178 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"; };