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: 386471 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 4D3EC1400E9 for ; Sat, 6 Sep 2014 03:25:13 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754020AbaIERYu (ORCPT ); Fri, 5 Sep 2014 13:24:50 -0400 Received: from mail-wg0-f43.google.com ([74.125.82.43]:37718 "EHLO mail-wg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753599AbaIERYD (ORCPT ); Fri, 5 Sep 2014 13:24:03 -0400 Received: by mail-wg0-f43.google.com with SMTP id a1so11857502wgh.2 for ; Fri, 05 Sep 2014 10:24:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Ls8J4L38SbmRXEjB7N+zbs/wEoMO3DUmIbSDiIEnHf8=; b=l/XgIsV367MiaT8kx7RMV6+UphjkgmC2c+gk7iJ8Uky8uF8DkFkdIC4keetjNjBuWf wNaeFdQc2a4xaklGMGsutKivsGHP2IBa4GgPkmhL3pjjYI5RJYuK0U8gbUNF1WmZfJ+A M4ArpQyajqYdSCrSNZUomYKMQBmKR1+ekkSN1wpZS5YkFvjSa6iB8XowT0T6JNjz8qqO 3qzzAtFmTrnCeL3LTSxUnAeXh8slH5fVFIbnF1xU1lMrThHO6XxI8LqeAJ4PVa1YrbTc /dLozC0CsrHZozlM3rDKF83AiC1/vXbgVp3xxEnuIrNmj1dZ+rAEZVe6TpsQY9JtPHEa yK1g== X-Gm-Message-State: ALoCoQlYkN76KcrlFUBSpSrbusNGHeDJmO9Mmvk/6J6U9gMGDkWuBk3UQDMwscGCKoFZ3YOTVvaL 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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"; + };