From patchwork Fri Sep 5 17:23: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: 36880 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f70.google.com (mail-qa0-f70.google.com [209.85.216.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 80D0A202E4 for ; Fri, 5 Sep 2014 17:24:55 +0000 (UTC) Received: by mail-qa0-f70.google.com with SMTP id j7sf32778677qaq.1 for ; Fri, 05 Sep 2014 10:24:55 -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=Pethx0vosTUxF9Ua25S3YpG9iN1rW/NFfnJg5SCKeIU=; b=js8sxwGvEhNeOvQf9FbYmSDHYXaDNBVwPRdsGhhYVedXECXg/HD6kviCt6D7WFPnHm MVA41BOyXMZiZ/w0pIgIqeJaWnr3TWuAgKqlClJCUX/Ibcokh9ZeBNjb6uF/D0E2rtY3 uH4mHVcDWMYt88NNwEpp3YAspQ2DYPDRcYjVk8RFXRX1Ayxg+hz33h0jvwnIlXUyHV+r F/K68fCM1xl//Wm4+A3oNgEWbE26y9NVM5mdg4G6OhZDcYJXsZ9YIY/GzU8534UwnZTx QrMUglxzIQyryjjPYWNEIao1JJrI2sM3enxX0Db+q0WQRZ59pTRm/ESTqctyIMilbrQP lELQ== X-Gm-Message-State: ALoCoQmpccHDULQtWYdWyDz053bPOBIlN9qSzOzjpAwxG3TqhVgqJ6QXWq/Q/7tqzosuZeW6y6A6 X-Received: by 10.52.36.197 with SMTP id s5mr7612710vdj.5.1409937895024; Fri, 05 Sep 2014 10:24:55 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.108.38 with SMTP id i35ls762729qgf.76.gmail; Fri, 05 Sep 2014 10:24:54 -0700 (PDT) X-Received: by 10.52.5.201 with SMTP id u9mr1775683vdu.85.1409937894862; Fri, 05 Sep 2014 10:24:54 -0700 (PDT) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx.google.com with ESMTPS id gm7si1765409vdc.87.2014.09.05.10.24.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 05 Sep 2014 10:24:54 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) client-ip=209.85.220.178; Received: by mail-vc0-f178.google.com with SMTP id la4so12925947vcb.9 for ; Fri, 05 Sep 2014 10:24:54 -0700 (PDT) X-Received: by 10.52.120.51 with SMTP id kz19mr1751627vdb.95.1409937894762; Fri, 05 Sep 2014 10:24:54 -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 uj3csp115030vcb; Fri, 5 Sep 2014 10:24:54 -0700 (PDT) X-Received: by 10.66.124.136 with SMTP id mi8mr23533122pab.89.1409937893747; Fri, 05 Sep 2014 10:24:53 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fs3si5123767pbb.213.2014.09.05.10.24.53 for ; Fri, 05 Sep 2014 10:24:53 -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 S1754132AbaIERYv (ORCPT + 26 others); Fri, 5 Sep 2014 13:24:51 -0400 Received: from mail-wg0-f42.google.com ([74.125.82.42]:37725 "EHLO mail-wg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753611AbaIERYD (ORCPT ); Fri, 5 Sep 2014 13:24:03 -0400 Received: by mail-wg0-f42.google.com with SMTP id x12so539521wgg.1 for ; Fri, 05 Sep 2014 10:24:02 -0700 (PDT) X-Received: by 10.180.99.4 with SMTP id em4mr5416287wib.8.1409937842036; Fri, 05 Sep 2014 10:24:02 -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.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 05 Sep 2014 10:24:01 -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 3/5] usb: host: ehci-st: Add ehci-st devicetree bindings documentation Date: Fri, 5 Sep 2014 18:23:47 +0100 Message-Id: <1409937829-23708-4-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.178 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"; + };