From patchwork Thu Aug 7 15:21:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 35052 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f198.google.com (mail-pd0-f198.google.com [209.85.192.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 233D921457 for ; Thu, 7 Aug 2014 15:22:43 +0000 (UTC) Received: by mail-pd0-f198.google.com with SMTP id fp1sf24650084pdb.1 for ; Thu, 07 Aug 2014 08:22:42 -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=yqqlpehRD+R6Ce1znO8wUz7fjlEiZndSEYiMzbmsqoE=; b=hYo9NvrVnsAVPKMhtjY/K/Q3i8J43NV89H8aq71t06lO+88QY24XK3np6woWSIkxic OlRSMlVLlV+VOy52o+wqnWnbfpr+5v+Qi7iMWtv3eqHudTV5GYIoy1aS/HKC6eGzfLji WLNTFq88pyAAum9zvBpPsZLPD4u9Q0iWZM21oBq00nxIvTyg/h9eDtr7FzK37xnJ7H0N u7eZCIMu2dUFNPLlPQliBXMX96kHeHWivA4p/6s+7GP/87RUDY3iu2u+CbhCYTQsi0Gy ohHoVEM2m1x5/6g582TVWf8HV79SXxOKyOImFUKhkIaJGQkz9OASnuNEFCJ8hRZKVRYv ZrBg== X-Gm-Message-State: ALoCoQkkVk9DbGiCy9UexP9AxuD763iei5gfYMeqT6808PaiBprVXxTpslMohGzhygiL3/3nV9Vy X-Received: by 10.70.89.10 with SMTP id bk10mr4409615pdb.4.1407424962373; Thu, 07 Aug 2014 08:22:42 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.82.228 with SMTP id h91ls167371qgd.77.gmail; Thu, 07 Aug 2014 08:22:42 -0700 (PDT) X-Received: by 10.52.98.201 with SMTP id ek9mr2540489vdb.35.1407424962250; Thu, 07 Aug 2014 08:22:42 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id z17si1896447vct.60.2014.08.07.08.22.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 07 Aug 2014 08:22:42 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id hy10so6475328vcb.18 for ; Thu, 07 Aug 2014 08:22:42 -0700 (PDT) X-Received: by 10.52.3.40 with SMTP id 8mr2639190vdz.24.1407424962176; Thu, 07 Aug 2014 08:22:42 -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.37.5 with SMTP id tc5csp38841vcb; Thu, 7 Aug 2014 08:22:41 -0700 (PDT) X-Received: by 10.68.215.106 with SMTP id oh10mr11468241pbc.98.1407424956417; Thu, 07 Aug 2014 08:22:36 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id yj7si3789619pbc.13.2014.08.07.08.22.35 for ; Thu, 07 Aug 2014 08:22:36 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-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 S932573AbaHGPWc (ORCPT + 26 others); Thu, 7 Aug 2014 11:22:32 -0400 Received: from mail-we0-f171.google.com ([74.125.82.171]:55186 "EHLO mail-we0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932358AbaHGPW3 (ORCPT ); Thu, 7 Aug 2014 11:22:29 -0400 Received: by mail-we0-f171.google.com with SMTP id p10so4454368wes.2 for ; Thu, 07 Aug 2014 08:22:28 -0700 (PDT) X-Received: by 10.194.187.241 with SMTP id fv17mr25693144wjc.13.1407424948481; Thu, 07 Aug 2014 08:22:28 -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 wd7sm10568478wjc.36.2014.08.07.08.22.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Aug 2014 08:22:27 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, arnd@arndb.de, stern@rowland.harvard.edu, gregkh@linuxfoundation.org, srinivas.kandagatla@gmail.com, maxime.coquelin@st.com, patrice.chotard@st.com Cc: peter.griffin@linaro.org, lee.jones@linaro.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v4 4/5] usb: host: ohci-st: Add ohci-st devicetree bindings documentation Date: Thu, 7 Aug 2014 16:21:43 +0100 Message-Id: <1407424904-19251-5-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1407424904-19251-1-git-send-email-peter.griffin@linaro.org> References: <1407424904-19251-1-git-send-email-peter.griffin@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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.173 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 ohci on-chip controller found in ST consumer electronics SoC's. Signed-off-by: Peter Griffin --- Documentation/devicetree/bindings/usb/ohci-st.txt | 37 +++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/ohci-st.txt diff --git a/Documentation/devicetree/bindings/usb/ohci-st.txt b/Documentation/devicetree/bindings/usb/ohci-st.txt new file mode 100644 index 0000000..6d83937 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/ohci-st.txt @@ -0,0 +1,37 @@ +ST USB OHCI controller + +Required properties: + + - compatible : must be "st,st-ohci-300x" + - reg : physical base addresses of the controller and length of memory mapped + region + - interrupts : one OHCI controller interrupt should be described here + - 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 to the powerdown and reset controller for 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: + + ohci0: usb@0xfe1ffc00 { + compatible = "st,st-ohci-300x"; + reg = <0xfe1ffc00 0x100>; + interrupts = ; + clocks = <&clk_s_a1_ls 0>, + <&clockgen_b0 0>; + clock-names = "ic", "clk48"; + phys = <&usb2_phy>; + phy-names = "usb"; + status = "okay"; + + resets = <&powerdown STIH416_USB0_POWERDOWN>, + <&softreset STIH416_USB0_SOFTRESET>; + reset-names = "power", "softreset"; + };