From patchwork Thu Aug 7 15:21:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 35054 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f69.google.com (mail-oa0-f69.google.com [209.85.219.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D361221457 for ; Thu, 7 Aug 2014 15:23:42 +0000 (UTC) Received: by mail-oa0-f69.google.com with SMTP id i7sf16932440oag.0 for ; Thu, 07 Aug 2014 08:23:42 -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=l5w4aZ1ohjD8DQmRCX7EFyuGxtjVbP5Jd6fYp5+NFIEIi1pH28/FG1WOT/bmEOk/8p Ydo2+eF5UvDL6XnOHxnr8iN8rgWyJSMMIS21yNHnBTAK/XwGEdvyKuxI3nDLJCj5yyMA nN3sLnJCKIpn5ZFb0rwpmc5rphnTzbBMuxwN1X/1R7iCnLMVYWszrgIT1tkxTydY4U+g NVYB5vKdUlASUj0dICcSQlZZ+aq+MCZ+Jm83Mh41DPVpyJNJ25tf+tu5dloHh7BQvJ1x tkAcnza2dRApW9AsBvPoOSkQ+wfsbrqlsojqgPzdzXOxqSHTugKbP88+ayqsbPqp/r1d h1vg== X-Gm-Message-State: ALoCoQkXBWDrrpdj5K10lp7lVgKlaGLawJ03oVm+Z63s/YwwQmLykbXuw7yIhzVIsBeXPC1c/pkb X-Received: by 10.42.207.5 with SMTP id fw5mr1647151icb.20.1407425022314; Thu, 07 Aug 2014 08:23:42 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.86.100 with SMTP id o91ls175741qgd.48.gmail; Thu, 07 Aug 2014 08:23:42 -0700 (PDT) X-Received: by 10.220.68.140 with SMTP id v12mr16866195vci.13.1407425022152; Thu, 07 Aug 2014 08:23:42 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id 2si1888329vdm.88.2014.08.07.08.23.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 07 Aug 2014 08:23:42 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id im17so6505636vcb.31 for ; Thu, 07 Aug 2014 08:23:42 -0700 (PDT) X-Received: by 10.52.120.38 with SMTP id kz6mr729655vdb.86.1407425021967; Thu, 07 Aug 2014 08:23:41 -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 tc5csp38919vcb; Thu, 7 Aug 2014 08:23:39 -0700 (PDT) X-Received: by 10.66.66.166 with SMTP id g6mr18364451pat.108.1407425013947; Thu, 07 Aug 2014 08:23:33 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id er15si3777656pad.106.2014.08.07.08.23.21 for ; Thu, 07 Aug 2014 08:23:33 -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 S932549AbaHGPWa (ORCPT + 26 others); Thu, 7 Aug 2014 11:22:30 -0400 Received: from mail-we0-f171.google.com ([74.125.82.171]:35206 "EHLO mail-we0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932425AbaHGPW2 (ORCPT ); Thu, 7 Aug 2014 11:22:28 -0400 Received: by mail-we0-f171.google.com with SMTP id p10so4338211wes.30 for ; Thu, 07 Aug 2014 08:22:26 -0700 (PDT) X-Received: by 10.194.60.240 with SMTP id k16mr25372557wjr.109.1407424946395; Thu, 07 Aug 2014 08:22:26 -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 wd7sm10568478wjc.36.2014.08.07.08.22.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Aug 2014 08:22:25 -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 v4 3/5] usb: host: ehci-st: Add ehci-st devicetree bindings documentation Date: Thu, 7 Aug 2014 16:21:42 +0100 Message-Id: <1407424904-19251-4-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1407424904-19251-1-git-send-email-peter.griffin@linaro.org> References: <1407424904-19251-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.172 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"; + };