From patchwork Mon Sep 8 12:04:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 36973 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f198.google.com (mail-ob0-f198.google.com [209.85.214.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 057ED2054D for ; Mon, 8 Sep 2014 12:05:52 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id wp18sf75481524obc.9 for ; Mon, 08 Sep 2014 05:05:52 -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=EEaYvvBTXCMVdX+ZZDanIsq17ZyeGjdt9sl++MPbk9JOTCPrJZ1uQMM+7lpcJW00Hd 7yx+GqWuMETUxijqjHKOoH4rqjB02SgWFFrsuSrqrdbOpCogkKXMJom2MYkjFTP1AgZO 3YvE5ZUD/nYBSf8JwkllEPl0KrC2oMXbppJPttKxE0oPT+pvc7C+exzQvybEU3eiWtVt u1/IqsJ+b0aaPy1fnJV5G9Gv7NSFWcKosLHGz9pZTq0m5FshajJogPn195JHnBeIF/6R FkFSiZsP1ZIClOp8mKkS9c2TnYUXxo3TF91Eok8UzT+ctNhUdolHD1cZJGEsXIoV4gUN 1dxQ== X-Gm-Message-State: ALoCoQn1TbBJpLGBo8viF6R4YhRTYxvWRaScUWkv3EDHy+gHryodonznMEcKkWKSLjNVtTVBu3Vt X-Received: by 10.50.25.41 with SMTP id z9mr12491586igf.2.1410177952432; Mon, 08 Sep 2014 05:05:52 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.30.245 with SMTP id d108ls1693638qgd.68.gmail; Mon, 08 Sep 2014 05:05:52 -0700 (PDT) X-Received: by 10.221.6.201 with SMTP id ol9mr24899965vcb.2.1410177952312; Mon, 08 Sep 2014 05:05:52 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id p9si4400667vdv.59.2014.09.08.05.05.52 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Sep 2014 05:05:52 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id id10so15176688vcb.16 for ; Mon, 08 Sep 2014 05:05:52 -0700 (PDT) X-Received: by 10.221.61.5 with SMTP id wu5mr25050360vcb.13.1410177952226; Mon, 08 Sep 2014 05:05:52 -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 uj3csp122779vcb; Mon, 8 Sep 2014 05:05:51 -0700 (PDT) X-Received: by 10.68.220.105 with SMTP id pv9mr20023495pbc.8.1410177951221; Mon, 08 Sep 2014 05:05:51 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qe5si17591159pbc.29.2014.09.08.05.05.47 for ; Mon, 08 Sep 2014 05:05:51 -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 S1754002AbaIHMFq (ORCPT + 26 others); Mon, 8 Sep 2014 08:05:46 -0400 Received: from mail-we0-f181.google.com ([74.125.82.181]:36770 "EHLO mail-we0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753915AbaIHMFC (ORCPT ); Mon, 8 Sep 2014 08:05:02 -0400 Received: by mail-we0-f181.google.com with SMTP id x48so14855297wes.40 for ; Mon, 08 Sep 2014 05:05:00 -0700 (PDT) X-Received: by 10.180.212.50 with SMTP id nh18mr21684530wic.81.1410177900912; Mon, 08 Sep 2014 05:05:00 -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.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Sep 2014 05:05:00 -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 4/5] usb: host: ohci-st: Add ohci-st devicetree bindings documentation Date: Mon, 8 Sep 2014 13:04:47 +0100 Message-Id: <1410177888-26710-5-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-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.171 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"; + };