From patchwork Fri Aug 15 14:03:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 35467 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f197.google.com (mail-yk0-f197.google.com [209.85.160.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 798D820523 for ; Fri, 15 Aug 2014 14:03:52 +0000 (UTC) Received: by mail-yk0-f197.google.com with SMTP id 142sf7357793ykq.4 for ; Fri, 15 Aug 2014 07:03: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=Hc/0mjVZVd77NbmRtAUfuyU4+hUSWWHSGrnykXP4+zE=; b=KQdA0B1r7cQo3nPpfZVZRQjBmgY06s4P2Q4EucomO7MwTngOEDzDOc3ZgUd9uTsI64 4UNXKTjaCSQ0M1u+3W4eqHBs2r8I9qnboUamORrsekERtnYd48/78GkGdki4ATM6jNrM K3Q9ixnuvbm1q7XKYEOnVt1dcTRGDjbaEfcexY7eNyhK2gfAxY5Dgl2WNGvQi/FvPzTN EDoe6fC5NmMQzLrh/IDmx6aLnOegHaZ7p6FIUzj4WSEyjMV4Xgr8GPB1oaglguESq6Kt 2shqnyTe+ZY86f7I1HZUn6lrNgiDpeq76akjWxhqFtg2kjSO8EohySDK1AH/dsJX/yn4 BlRA== X-Gm-Message-State: ALoCoQlBUYvkhXUP5RhBTOjNNSR8muQsMPCx7Iye73OB3FK0IoMRbbvDP67JF+hQ5//r3PFe4bRt X-Received: by 10.236.1.198 with SMTP id 46mr5846317yhd.16.1408111432321; Fri, 15 Aug 2014 07:03:52 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.44.119 with SMTP id f110ls1337316qga.96.gmail; Fri, 15 Aug 2014 07:03:52 -0700 (PDT) X-Received: by 10.221.44.69 with SMTP id uf5mr10448238vcb.4.1408111432243; Fri, 15 Aug 2014 07:03:52 -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 be7si11960658qcb.29.2014.08.15.07.03.52 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 15 Aug 2014 07:03:52 -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 ik5so2943332vcb.20 for ; Fri, 15 Aug 2014 07:03:52 -0700 (PDT) X-Received: by 10.221.24.135 with SMTP id re7mr927504vcb.53.1408111432026; Fri, 15 Aug 2014 07:03: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.37.5 with SMTP id tc5csp114987vcb; Fri, 15 Aug 2014 07:03:51 -0700 (PDT) X-Received: by 10.70.56.10 with SMTP id w10mr3043124pdp.135.1408111429652; Fri, 15 Aug 2014 07:03:49 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cq7si5988470pad.92.2014.08.15.07.03.49 for ; Fri, 15 Aug 2014 07:03:49 -0700 (PDT) Received-SPF: none (google.com: linux-usb-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 S1751512AbaHOODq (ORCPT + 2 others); Fri, 15 Aug 2014 10:03:46 -0400 Received: from mail-wg0-f48.google.com ([74.125.82.48]:50066 "EHLO mail-wg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751481AbaHOODp (ORCPT ); Fri, 15 Aug 2014 10:03:45 -0400 Received: by mail-wg0-f48.google.com with SMTP id x13so2344406wgg.19 for ; Fri, 15 Aug 2014 07:03:43 -0700 (PDT) X-Received: by 10.194.119.98 with SMTP id kt2mr8348048wjb.96.1408111422967; Fri, 15 Aug 2014 07:03:42 -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 qa2sm19108407wjc.45.2014.08.15.07.03.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 15 Aug 2014 07:03:42 -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 v5 3/5] usb: host: ehci-st: Add ehci-st devicetree bindings documentation Date: Fri, 15 Aug 2014 15:03:28 +0100 Message-Id: <1408111410-14375-4-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1408111410-14375-1-git-send-email-peter.griffin@linaro.org> References: <1408111410-14375-1-git-send-email-peter.griffin@linaro.org> Sender: linux-usb-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-usb@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 | 39 +++++++++++++++++++++++ 1 file changed, 39 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..fb45fa5 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/ehci-st.txt @@ -0,0 +1,39 @@ +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 + - 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,st-ehci-300x"; + 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"; + };