From patchwork Wed Aug 6 17:03:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 34987 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f197.google.com (mail-ig0-f197.google.com [209.85.213.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2F82920523 for ; Wed, 6 Aug 2014 17:04:50 +0000 (UTC) Received: by mail-ig0-f197.google.com with SMTP id r2sf11221585igi.8 for ; Wed, 06 Aug 2014 10:04:49 -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=I5fmc0fqDwRIiEiLbZJtSLGEP1MszvAMpEu+EI0jB4M=; b=dI9L4G3VQuGA7ISFbBwxfGa4aw1emTq36B+IoJ0cc2swpzr3qp2sHWa7WbE/64XCGB m76IHWFrSX+xV6jBXfYyZC4Aw41J4wO7iFuBeVIR9cglQF95DWZSm+hkm4YzeUlHStTT IMTesnmUgnxDkcY1XgVSr0DwyZBKXR9mwvdJ9LrJJUy/2yvAW/lHE9ASVQkGl68MoLuR hkBk8Wo44FrUOA0TS/CPpDKPiQ7nhvYaPWzovAUHo/sd5+LP0EK25f/KJaj3+o71rDmN F09mk+WfvPsrL0lub4b39bSTeWvoxSUHS2HoqgYzZVFvo/xZCDfJHT6zA6B0H4hZCEV5 u9Bw== X-Gm-Message-State: ALoCoQmhxCPjFBA4eQvSySBKaMMQSJoPoDgPmf3MA+Z6FJGLE9XZ5TpKlimcTiA+Tvy6y9aCUrJY X-Received: by 10.42.16.69 with SMTP id o5mr7066608ica.17.1407344689626; Wed, 06 Aug 2014 10:04:49 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.22.11 with SMTP id 11ls265288qgm.98.gmail; Wed, 06 Aug 2014 10:04:49 -0700 (PDT) X-Received: by 10.220.7.131 with SMTP id d3mr10604310vcd.49.1407344689436; Wed, 06 Aug 2014 10:04:49 -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 ha2si27076veb.83.2014.08.06.10.04.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Aug 2014 10:04:49 -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 ik5so4464758vcb.34 for ; Wed, 06 Aug 2014 10:04:49 -0700 (PDT) X-Received: by 10.52.239.6 with SMTP id vo6mr2689580vdc.59.1407344689344; Wed, 06 Aug 2014 10:04:49 -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 tc5csp40562vcb; Wed, 6 Aug 2014 10:04:48 -0700 (PDT) X-Received: by 10.68.130.97 with SMTP id od1mr12494008pbb.148.1407344688386; Wed, 06 Aug 2014 10:04:48 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id de10si664308pdb.194.2014.08.06.10.04.47 for ; Wed, 06 Aug 2014 10:04:48 -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 S1757847AbaHFREq (ORCPT + 26 others); Wed, 6 Aug 2014 13:04:46 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:64776 "EHLO mail-we0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754480AbaHFRD3 (ORCPT ); Wed, 6 Aug 2014 13:03:29 -0400 Received: by mail-we0-f169.google.com with SMTP id u56so2965029wes.28 for ; Wed, 06 Aug 2014 10:03:27 -0700 (PDT) X-Received: by 10.180.184.99 with SMTP id et3mr52777746wic.31.1407344607927; Wed, 06 Aug 2014 10:03:27 -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.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 06 Aug 2014 10:03:27 -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 4/6] usb: host: ehci-st: Add ehci-st devicetree bindings documentation Date: Wed, 6 Aug 2014 18:03:07 +0100 Message-Id: <1407344589-24863-5-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 ehci on-chip controller found in ST consumer electronics SoC's. Signed-off-by: Peter Griffin --- Documentation/devicetree/bindings/usb/ehci-st.txt | 41 +++++++++++++++++++++++ 1 file changed, 41 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..abb862a --- /dev/null +++ b/Documentation/devicetree/bindings/usb/ehci-st.txt @@ -0,0 +1,41 @@ +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 + +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 + 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,ehci-platform"; + 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"; + };