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: 4889791 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5A748C0338 for ; Thu, 11 Sep 2014 17:05:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 295B2200DC for ; Thu, 11 Sep 2014 17:05:55 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F3468200BE for ; Thu, 11 Sep 2014 17:05:39 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XS7mP-00054V-G8; Thu, 11 Sep 2014 17:03:33 +0000 Received: from mail-wi0-f178.google.com ([209.85.212.178]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XS7mM-0004qq-4T for linux-arm-kernel@lists.infradead.org; Thu, 11 Sep 2014 17:03:31 +0000 Received: by mail-wi0-f178.google.com with SMTP id ho1so1412810wib.11 for ; Thu, 11 Sep 2014 10:03:03 -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=dAJ/htTmuXn4ZDs8VKF16tJz3hXBEq31tki8WfvqABc=; b=Pd2D+6QwX5ZZy99NIKlxuR5QDEAlDQTMZ3YIeOATR+jW+OmOJb+3vBQtizy9EBVpsT b6g7hv5IHg7gYYYNaWiokZlftvcpplFOTIqYtJinMVLRjxqKTjgO9w5vEjxfD+apU6/a PGjOdEhE/R5MNJl41tEIMZknG5n+EyW2FgkISxTh22H8m/xg1g8FzzNJI0sPRGAaewtD fkYZkV1EOc5OHLhMRP0jbnP8IpzB7C/W/bFj6YznslmWZxH852pviQgD/gfKNiNKyK7R hs4pZ6vQHpHSEtGHqwkEOpJlUkXNJIGNOCLmhZKnnoRPkNrrAZfii98Rm6rtkWYD7yMP 3FJw== X-Gm-Message-State: ALoCoQmghSG2xJ/Elui95W4a+CMcY5yhpnZ13CuCwe3Q3/gRJpjSIm9E1SKHxVsW+P+TrVlsk2su 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140911_100330_321127_4DD1FF32 X-CRM114-Status: GOOD ( 12.52 ) X-Spam-Score: -0.7 (/) Cc: peter.griffin@linaro.org, devicetree@vger.kernel.org, lee.jones@linaro.org, peppe.cavallaro@st.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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"; +};