From patchwork Thu Sep 11 17:02:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 37274 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 AF21520491 for ; Thu, 11 Sep 2014 17:03:15 +0000 (UTC) Received: by mail-oa0-f69.google.com with SMTP id i7sf98839074oag.0 for ; Thu, 11 Sep 2014 10:03:15 -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=Q8ZV1UwI3vgGnlJHeZElPQCoZd6TMCXsSyNCXPtkT5c=; b=j/sAPkvBhQ27L9yY3JZgGBT+witoac7+F8rIgjCfFlga+iUj/nEIhEXPYgTYnS/Wls Lxt9I3k0tZMWNgvXGVA9sCVPZsFPaBB1ubPzRJDBwoVgNAEJu3TaC2Sc50PrFL5xbXcl TcM+5tYqzdbKf15na9SRPeoEwN9g7/1fpp+iatZCg2f7kFufcGLTcjHgZ6sxB9YtnbC4 EwfWgqnuPABlxWWLcCBuarrLu17XlxqD4jorNry1RCEdgJ5ZEGF51HVqXoT+53Gs5e77 2ZiuuuTcLoB7O6dkEio6QkA6+9iE2oXE8EuGf8rVo2F60E0bQ/R96G3tHY98nCMb8GIy aoTA== X-Gm-Message-State: ALoCoQlhCjmUG4G1kDB0fnGU1161rCkJXXpOorpf7EcjZEkezZ8hg6JU3M8Yil5Ce8xiJeHvYF7G X-Received: by 10.42.58.138 with SMTP id i10mr1584202ich.18.1410454995264; Thu, 11 Sep 2014 10:03:15 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.83.230 with SMTP id j93ls256703qgd.40.gmail; Thu, 11 Sep 2014 10:03:15 -0700 (PDT) X-Received: by 10.221.31.9 with SMTP id se9mr1587743vcb.69.1410454995104; Thu, 11 Sep 2014 10:03:15 -0700 (PDT) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id fg6si818631vdc.31.2014.09.11.10.03.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 11 Sep 2014 10:03:15 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.179 as permitted sender) client-ip=209.85.220.179; Received: by mail-vc0-f179.google.com with SMTP id im17so6019887vcb.24 for ; Thu, 11 Sep 2014 10:03:15 -0700 (PDT) X-Received: by 10.221.26.70 with SMTP id rl6mr1935813vcb.0.1410454994902; Thu, 11 Sep 2014 10:03:14 -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 uj3csp622880vcb; Thu, 11 Sep 2014 10:03:14 -0700 (PDT) X-Received: by 10.43.79.135 with SMTP id zq7mr3594877icb.33.1410454994094; Thu, 11 Sep 2014 10:03:14 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t4si2700154pdf.225.2014.09.11.10.03.13 for ; Thu, 11 Sep 2014 10:03:14 -0700 (PDT) Received-SPF: none (google.com: devicetree-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 S1752410AbaIKRDK (ORCPT + 5 others); Thu, 11 Sep 2014 13:03:10 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:46152 "EHLO mail-wi0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751044AbaIKRDJ (ORCPT ); Thu, 11 Sep 2014 13:03:09 -0400 Received: by mail-wi0-f181.google.com with SMTP id bs8so2565200wib.2 for ; Thu, 11 Sep 2014 10:03:03 -0700 (PDT) X-Received: by 10.194.76.133 with SMTP id k5mr3467608wjw.28.1410454983476; Thu, 11 Sep 2014 10:03:03 -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 v4sm1833139wjv.6.2014.09.11.10.03.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 11 Sep 2014 10:03:02 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kishon@ti.com, maxime.coquelin@st.com, srinivas.kandagatla@gmail.com, b.zolnierkie@samsung.com, patrice.chotard@st.com, arnd@arndb.de Cc: peter.griffin@linaro.org, lee.jones@linaro.org, devicetree@vger.kernel.org, peppe.cavallaro@st.com Subject: [PATCH v3 2/4] phy: phy-stih407-usb: Add dt documentation for USB picophy found on stih407 SoC family Date: Thu, 11 Sep 2014 18:02:45 +0100 Message-Id: <1410454967-21500-3-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1410454967-21500-1-git-send-email-peter.griffin@linaro.org> References: <1410454967-21500-1-git-send-email-peter.griffin@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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.179 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 adds the dt documentation for the usb picophy found on stih407 SoC family available from STMicroelectronics. Signed-off-by: Giuseppe Cavallaro Signed-off-by: Peter Griffin --- .../devicetree/bindings/phy/phy-stih407-usb.txt | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/phy-stih407-usb.txt diff --git a/Documentation/devicetree/bindings/phy/phy-stih407-usb.txt b/Documentation/devicetree/bindings/phy/phy-stih407-usb.txt new file mode 100644 index 0000000..1ef8228 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/phy-stih407-usb.txt @@ -0,0 +1,30 @@ +ST STiH407 USB PHY controller + +This file documents the dt bindings for the usb picoPHY driver which is the PHY for both USB2 and USB3 +host controllers (when controlling usb2/1.1 devices) available on STiH407 SoC family from STMicroelectronics. + +Required properties: +- compatible : should be "st,stih407-usb2-phy" +- reg : contain the offset and length of the system configuration registers + used as glue logic to control & parameter phy +- reg-names : the names of the system configuration registers in "reg", should be "param" and "reg" +- st,syscfg : sysconfig register to manage phy parameter at driver level +- resets : list of phandle and reset specifier pairs. There should be two entries, one + for the whole phy and one for the port +- reset-names : list of reset signal names. Should be "global" and "port" +See: Documentation/devicetree/bindings/reset/st,sti-powerdown.txt +See: Documentation/devicetree/bindings/reset/reset.txt + +Example: + +usb2_picophy0: usbpicophy@f8 { + compatible = "st,stih407-usb2-phy"; + reg = <0xf8 0x04>, /* syscfg 5062 */ + <0xf4 0x04>; /* syscfg 5061 */ + reg-names = "param", "ctrl"; + #phy-cells = <0>; + st,syscfg = <&syscfg_core>; + resets = <&softreset STIH407_PICOPHY_SOFTRESET>, + <&picophyreset STIH407_PICOPHY0_RESET>; + reset-names = "global", "port"; +};