From patchwork Wed Aug 6 17:03:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 34982 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f197.google.com (mail-ob0-f197.google.com [209.85.214.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7328B20523 for ; Wed, 6 Aug 2014 17:03:51 +0000 (UTC) Received: by mail-ob0-f197.google.com with SMTP id vb8sf11013182obc.4 for ; Wed, 06 Aug 2014 10:03:50 -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=wqQVfMuJrdPxWJJvrXcPaL6/LKibQ/uyAQcASfYSiwg=; b=X9TKF1Y7wJ0RUPGb/6uwntg4d10hBg2/C7yL9MlSk/9sZlcjpXX2G79ixbg34yHWMK te3CgfKksD28fvyYkrj3wxEviWev2M8H+G/d4Ab4JR86H2Ej21spDm2O03vQH11GlvEb cDull1wMzdEQhW8iqyr9Q+qawOG3pjKX5bkQ1ISjaMz0HXzE/dk0/z0UdzoK4cpiWigZ CsEHwvwZ8jGJNqHGxv1QbTt0DZKMzG8kv6LSTWf3Z9wOopjQvdQBMgzcnOmIJREBHAb4 Txsnzc0bV/2HneliILfvKwLvavbQ3t6FcwT9i8csPui7/zHIT7tuHEyUvyhltGiannp0 IRTw== X-Gm-Message-State: ALoCoQl105wwIuybadUoFhAQ+c0Ud4+Lz7xMlM5H4m/HI2Gy0IceqWD3100GPHGdaR5W9aNBpJIA X-Received: by 10.42.177.5 with SMTP id bg5mr6441660icb.27.1407344630762; Wed, 06 Aug 2014 10:03:50 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.109.245 with SMTP id l108ls244964qgf.83.gmail; Wed, 06 Aug 2014 10:03:50 -0700 (PDT) X-Received: by 10.221.24.135 with SMTP id re7mr3065249vcb.53.1407344630643; Wed, 06 Aug 2014 10:03:50 -0700 (PDT) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id gt3si729118veb.72.2014.08.06.10.03.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Aug 2014 10:03:50 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.175 as permitted sender) client-ip=209.85.220.175; Received: by mail-vc0-f175.google.com with SMTP id ik5so4406471vcb.6 for ; Wed, 06 Aug 2014 10:03:50 -0700 (PDT) X-Received: by 10.52.1.39 with SMTP id 7mr10024705vdj.17.1407344630533; Wed, 06 Aug 2014 10:03:50 -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 tc5csp40476vcb; Wed, 6 Aug 2014 10:03:49 -0700 (PDT) X-Received: by 10.68.111.193 with SMTP id ik1mr12410254pbb.145.1407344629277; Wed, 06 Aug 2014 10:03:49 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id oq10si1363483pac.48.2014.08.06.10.03.48 for ; Wed, 06 Aug 2014 10:03:49 -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 S1757663AbaHFRDg (ORCPT + 26 others); Wed, 6 Aug 2014 13:03:36 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:53835 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757609AbaHFRDb (ORCPT ); Wed, 6 Aug 2014 13:03:31 -0400 Received: by mail-wi0-f178.google.com with SMTP id hi2so3629337wib.5 for ; Wed, 06 Aug 2014 10:03:30 -0700 (PDT) X-Received: by 10.180.79.202 with SMTP id l10mr50577630wix.18.1407344610268; Wed, 06 Aug 2014 10:03:30 -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 f6sm3712805wja.25.2014.08.06.10.03.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 06 Aug 2014 10:03:29 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, stern@rowland.harvard.edu, 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 v3 5/6] usb: host: ohci-st: Add ohci-st devicetree bindings documentation Date: Wed, 6 Aug 2014 18:03:08 +0100 Message-Id: <1407344589-24863-6-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1407344589-24863-1-git-send-email-peter.griffin@linaro.org> References: <1407344589-24863-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.175 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 | 40 +++++++++++++++++++++++ 1 file changed, 40 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..17181c5 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/ohci-st.txt @@ -0,0 +1,40 @@ +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 + +Optional properties: + + - 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,ohci-platform"; + 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"; + };