From patchwork Mon Sep 8 12:04:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 36971 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f198.google.com (mail-vc0-f198.google.com [209.85.220.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C2C112054D for ; Mon, 8 Sep 2014 12:05:14 +0000 (UTC) Received: by mail-vc0-f198.google.com with SMTP id id10sf42482913vcb.1 for ; Mon, 08 Sep 2014 05:05:14 -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:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=Hc/0mjVZVd77NbmRtAUfuyU4+hUSWWHSGrnykXP4+zE=; b=JfAF6iRgfQf4vsFQVndTkos6EI3Dp0LtdrXSQa5Lw+EVnMD4RJozh9mQ1r4YHKY7gT i68ZF7GJGCey70oZoFq5yf/CeEL2LqcXZAmUKiLQeRjYSKHTQU/nqFZsw01vshBGF/Mv sgOAU2v67Qxxi0ECf7S8ZXwnu+4G28MnrUxTSyv+vzQ3xVtJXPPRLZHE8iDwYLstRPnQ 6tCDInRkz6CdFLHTlUWbcv7skCzmUV1IXy4eYZPRROXl6uLKuqrSc80fyQE9wQOJwPmc di6CDr1XGi/XjQlOM+C9oZV0HiAsLpQPvgy9uSHaGUbRFiqNrNi3llSkcE58929PdDwT MP0g== X-Gm-Message-State: ALoCoQmjyV8f7Qu+NYA+DVfIKfzFybcg1WxIEqGGtMRQl6POaJK8NvPChwvcN6hgnKRJnR7+ULTf X-Received: by 10.224.29.1 with SMTP id o1mr17474447qac.0.1410177914542; Mon, 08 Sep 2014 05:05:14 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.47.140 with SMTP id m12ls1565479qga.84.gmail; Mon, 08 Sep 2014 05:05:14 -0700 (PDT) X-Received: by 10.52.61.99 with SMTP id o3mr2033907vdr.46.1410177914474; Mon, 08 Sep 2014 05:05:14 -0700 (PDT) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id ub6si3811305vcb.35.2014.09.08.05.05.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Sep 2014 05:05:14 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.176 as permitted sender) client-ip=209.85.220.176; Received: by mail-vc0-f176.google.com with SMTP id ik5so15177573vcb.35 for ; Mon, 08 Sep 2014 05:05:14 -0700 (PDT) X-Received: by 10.52.156.100 with SMTP id wd4mr8069409vdb.39.1410177914387; Mon, 08 Sep 2014 05:05:14 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp122657vcb; Mon, 8 Sep 2014 05:05:13 -0700 (PDT) X-Received: by 10.70.127.164 with SMTP id nh4mr31956948pdb.89.1410177913179; Mon, 08 Sep 2014 05:05:13 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id if4si17403982pad.156.2014.09.08.05.05.12 for ; Mon, 08 Sep 2014 05:05:13 -0700 (PDT) Received-SPF: none (google.com: linux-usb-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753901AbaIHMFB (ORCPT + 2 others); Mon, 8 Sep 2014 08:05:01 -0400 Received: from mail-we0-f170.google.com ([74.125.82.170]:64193 "EHLO mail-we0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753895AbaIHMFA (ORCPT ); Mon, 8 Sep 2014 08:05:00 -0400 Received: by mail-we0-f170.google.com with SMTP id u57so2190091wes.1 for ; Mon, 08 Sep 2014 05:04:58 -0700 (PDT) X-Received: by 10.180.101.65 with SMTP id fe1mr22467797wib.53.1410177898493; Mon, 08 Sep 2014 05:04:58 -0700 (PDT) Received: from localhost.localdomain (cpc14-aztw22-2-0-cust189.18-1.cable.virginm.net. [82.45.1.190]) by mx.google.com with ESMTPSA id gk17sm11630379wic.16.2014.09.08.05.04.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Sep 2014 05:04:57 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stern@rowland.harvard.edu, gregkh@linuxfoundation.org, srinivas.kandagatla@gmail.com, maxime.coquelin@st.com, patrice.chotard@st.com, arnd@arndb.de Cc: peter.griffin@linaro.org, lee.jones@linaro.org, devicetree@vger.kernel.org, linux-usb@vger.kernel.org Subject: [PATCH v6 3/5] usb: host: ehci-st: Add ehci-st devicetree bindings documentation Date: Mon, 8 Sep 2014 13:04:46 +0100 Message-Id: <1410177888-26710-4-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1410177888-26710-1-git-send-email-peter.griffin@linaro.org> References: <1410177888-26710-1-git-send-email-peter.griffin@linaro.org> Sender: linux-usb-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.griffin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.176 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch documents the device tree bindings required for the ehci on-chip controller found in ST consumer electronics SoC's. Signed-off-by: Peter Griffin --- Documentation/devicetree/bindings/usb/ehci-st.txt | 39 +++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/ehci-st.txt diff --git a/Documentation/devicetree/bindings/usb/ehci-st.txt b/Documentation/devicetree/bindings/usb/ehci-st.txt new file mode 100644 index 0000000..fb45fa5 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/ehci-st.txt @@ -0,0 +1,39 @@ +ST USB EHCI controller + +Required properties: + - compatible : must be "st,st-ehci-300x" + - reg : physical base addresses of the controller and length of memory mapped + region + - interrupts : one EHCI interrupt should be described here + - pinctrl-names : a pinctrl state named "default" must be defined + - pinctrl-0 : phandle referencing pin configuration of the USB controller +See: Documentation/devicetree/bindings/pinctrl/pinctrl-binding.txt + - clocks : phandle list of usb clocks + - clock-names : should be "ic" for interconnect clock and "clk48" +See: Documentation/devicetree/bindings/clock/clock-bindings.txt + + - phys : phandle for the PHY device + - phy-names : should be "usb" + - resets : phandle + reset specifier pairs to the powerdown and softreset lines + of the USB IP + - reset-names : should be "power" and "softreset" +See: Documentation/devicetree/bindings/reset/st,sti-powerdown.txt +See: Documentation/devicetree/bindings/reset/reset.txt + +Example: + + ehci1: usb@0xfe203e00 { + compatible = "st,st-ehci-300x"; + reg = <0xfe203e00 0x100>; + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb1>; + clocks = <&clk_s_a1_ls 0>; + phys = <&usb2_phy>; + phy-names = "usb"; + status = "okay"; + + resets = <&powerdown STIH416_USB1_POWERDOWN>, + <&softreset STIH416_USB1_SOFTRESET>; + reset-names = "power", "softreset"; + };