From patchwork Thu Jun 5 15:48:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Antoine Tenart X-Patchwork-Id: 4306951 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 1BF0FBEEA7 for ; Thu, 5 Jun 2014 15:52:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5D3BD201EF for ; Thu, 5 Jun 2014 15:52:45 +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 98220200C6 for ; Thu, 5 Jun 2014 15:52:44 +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 1WsZvo-0001FA-4l; Thu, 05 Jun 2014 15:50:20 +0000 Received: from top.free-electrons.com ([176.31.233.9] helo=mail.free-electrons.com) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WsZv4-0008Bu-Lt for linux-arm-kernel@lists.infradead.org; Thu, 05 Jun 2014 15:49:36 +0000 Received: by mail.free-electrons.com (Postfix, from userid 106) id EE9AE7F6; Thu, 5 Jun 2014 17:48:51 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from localhost.localdomain (col31-4-88-188-83-94.fbx.proxad.net [88.188.83.94]) by mail.free-electrons.com (Postfix) with ESMTPSA id 49B3A85A; Thu, 5 Jun 2014 17:48:51 +0200 (CEST) From: =?UTF-8?q?Antoine=20T=C3=A9nart?= To: sebastian.hesselbarth@gmail.com, balbi@ti.com Subject: [PATCH 5/9] Documentation: bindings: add doc for the Berlin USB PHY Date: Thu, 5 Jun 2014 17:48:42 +0200 Message-Id: <1401983326-19205-6-git-send-email-antoine.tenart@free-electrons.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1401983326-19205-1-git-send-email-antoine.tenart@free-electrons.com> References: <1401983326-19205-1-git-send-email-antoine.tenart@free-electrons.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140605_084934_947296_3F1843FA X-CRM114-Status: GOOD ( 10.52 ) X-Spam-Score: 0.3 (/) Cc: thomas.petazzoni@free-electrons.com, zmxu@marvell.com, devicetree@vger.kernel.org, =?UTF-8?q?Antoine=20T=C3=A9nart?= , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, alexandre.belloni@free-electrons.com, jszhang@marvell.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Document the bindings of the Marvell Berlin USB PHY driver. Signed-off-by: Antoine Ténart --- .../devicetree/bindings/usb/berlin-usbphy.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/berlin-usbphy.txt diff --git a/Documentation/devicetree/bindings/usb/berlin-usbphy.txt b/Documentation/devicetree/bindings/usb/berlin-usbphy.txt new file mode 100644 index 000000000000..d97eb1f9d53f --- /dev/null +++ b/Documentation/devicetree/bindings/usb/berlin-usbphy.txt @@ -0,0 +1,18 @@ +* Marvell Berlin USB PHY + +Required properties: +- compatible: should be "marvell,berlin-usbphy" +- reg: base address and length of the registers +- #phys-cells: should be 0 +- reset: reference to the reset controller +- power-gpio: reference the GPIO pin to power the PHY + +Example: + + usbphy@f774000 { + compatible = "marvell,berlin-usbphy"; + reg = <0xf774000 0x128>; + #phy-cells = <0>; + resets = <&chip 14>; + power-gpio = <&portb 8 GPIO_ACTIVE_HIGH>; + };