From patchwork Fri Sep 5 17:23:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 36878 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f197.google.com (mail-ie0-f197.google.com [209.85.223.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 45389202E4 for ; Fri, 5 Sep 2014 17:24:15 +0000 (UTC) Received: by mail-ie0-f197.google.com with SMTP id rp18sf59450679iec.8 for ; Fri, 05 Sep 2014 10:24: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=yqqlpehRD+R6Ce1znO8wUz7fjlEiZndSEYiMzbmsqoE=; b=eTuNYYnqXWkRLyvTlADEpgvFSv66xJjXcCoLlU71/YvyX2tr3FiYYqbbYi42SPh44P MAHB+q2ZC2qDBAnLhZnXuUVGfWKBBybfGyviNV88shUud5iegXGGFErGpQFZ2jzSD7i7 8yax2LvnkczA1fIC5l+Zi+OOMT0bH1cgOakp9+U2/SQbaNNV+zAA28zunkw1K/FeKyqC Lp+djZkQOc58L8oSV+OYuOq8O7BRhsnpUZqqL9RcPRubeWeykmyNICc8ySeeVcBr0ncs p5xGCMV/1+MQnOM/VAmegYIBSCzUp0XqJ6xFBHPZMDYsHgKvigJSwVnp5D5fyORgbT2M /6KQ== X-Gm-Message-State: ALoCoQnU2KjCJE4p4Ahc9o2tWXn65xM1fZEFss/Wo+mM4hlHsLNP06qJJWYw5vCnK/TphLVYQU+q X-Received: by 10.50.138.167 with SMTP id qr7mr2668315igb.6.1409937854921; Fri, 05 Sep 2014 10:24:14 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.29.132 with SMTP id b4ls816217qgb.34.gmail; Fri, 05 Sep 2014 10:24:14 -0700 (PDT) X-Received: by 10.52.28.198 with SMTP id d6mr1933500vdh.68.1409937854792; Fri, 05 Sep 2014 10:24:14 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id ve2si1181406vcb.94.2014.09.05.10.24.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 05 Sep 2014 10:24:14 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id le20so1346398vcb.3 for ; Fri, 05 Sep 2014 10:24:14 -0700 (PDT) X-Received: by 10.220.169.72 with SMTP id x8mr2339600vcy.45.1409937854713; Fri, 05 Sep 2014 10:24: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 uj3csp114949vcb; Fri, 5 Sep 2014 10:24:14 -0700 (PDT) X-Received: by 10.66.182.130 with SMTP id ee2mr23934731pac.48.1409937853559; Fri, 05 Sep 2014 10:24:13 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fx8si5285595pac.126.2014.09.05.10.24.12 for ; Fri, 05 Sep 2014 10:24:13 -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 S1754094AbaIERYJ (ORCPT + 26 others); Fri, 5 Sep 2014 13:24:09 -0400 Received: from mail-wg0-f45.google.com ([74.125.82.45]:65396 "EHLO mail-wg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753046AbaIERYG (ORCPT ); Fri, 5 Sep 2014 13:24:06 -0400 Received: by mail-wg0-f45.google.com with SMTP id k14so12119616wgh.16 for ; Fri, 05 Sep 2014 10:24:04 -0700 (PDT) X-Received: by 10.194.77.212 with SMTP id u20mr16593163wjw.27.1409937844798; Fri, 05 Sep 2014 10:24:04 -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 uk7sm2052170wjc.34.2014.09.05.10.24.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 05 Sep 2014 10:24:03 -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, linux-usb@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH RESEND v5 4/5] usb: host: ohci-st: Add ohci-st devicetree bindings documentation Date: Fri, 5 Sep 2014 18:23:48 +0100 Message-Id: <1409937829-23708-5-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1409937829-23708-1-git-send-email-peter.griffin@linaro.org> References: <1409937829-23708-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.172 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"; + };