From patchwork Sun Sep 4 21:31:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 9312845 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DA22A600CA for ; Sun, 4 Sep 2016 21:33:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CC760286C7 for ; Sun, 4 Sep 2016 21:33:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C12DB286D3; Sun, 4 Sep 2016 21:33:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 54242286C7 for ; Sun, 4 Sep 2016 21:33:06 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bgf2B-0001nx-Da; Sun, 04 Sep 2016 21:32:59 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bgf1u-0001gn-Ak; Sun, 04 Sep 2016 21:32:43 +0000 Received: by mail-wm0-x241.google.com with SMTP id l65so2834677wmf.3; Sun, 04 Sep 2016 14:32:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qhALU8nStW4XBKRojM7xV+v5yF9JNvjsZ2CliNd3HvE=; b=Qn20Md1eZIjXD21JVBU9qpWG6go+LAIVn+x9slVVOcc8Dou0GSOrl69eRlad0jr8KC rG86oTtoFUdoM/msYS+Ic/3bfrxSZSBQDMgGKfzI/7cF8zaa364u29ZcF0QfICqEbFot jTrG4ZnPdzYdFzyrK+KG3qJhzwmQnkgyjteVuzj8i8T8XdNG2cN3n3wF0+7dPLnVvycG RxnZO3FDPpfFHx/lJf4UOej/40OFKLYvDtNnd+PpwIPghKjRJA10uw1DG1+14Gs4sfJV +uYSagEjg2N3rH8Ouq6qBFSdH3rSlWBCCAqRjtnb/Tfa7rV6Hgy2r1pMliE/RhjPSEa8 Jmsw== 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=qhALU8nStW4XBKRojM7xV+v5yF9JNvjsZ2CliNd3HvE=; b=h2DIy8PZiPPrEsnj++byvc3lscczvC3HzDDOFs3+upfjP1nNTywkgcS7Z7y3KYyUWz mhoK/VT9P4TQiwq9aYARIiOyi7uTj9z7RryRhaP1rcznt0IX43rXwBfgOksx91OYtpsz BnKODHZ6LOn0n7eqC9vrs9sBmQ28O2Q9oVyuQuTUpk+7ki1U+7myJv1c6jgt5FkQ3imR 4/OI9vWWf7F7mK0NOZjIL5X765FcBLOzEfRirvs1S6GQdFl3xws0331jYyqY/l2r6oML YAIt5p905HaqT53+V2gpM/UWfVSFZyV27xA5NGWL7rAYFgc0mKjC8w6h5UVuKch31jcI oqzA== X-Gm-Message-State: AE9vXwNbrCKzvBv3Aj1r4MTvk/9pW7/qQJLE6uKYk0dkXdCaBZ1McpjlelUCMsTWfHhOoQ== X-Received: by 10.194.172.165 with SMTP id bd5mr27388096wjc.33.1473024744507; Sun, 04 Sep 2016 14:32:24 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD3CA8104A82AA8E503619161.dip0.t-ipconnect.de. [2003:dc:d3ca:8104:a82a:a8e5:361:9161]) by smtp.googlemail.com with ESMTPSA id e12sm16576059wmg.17.2016.09.04.14.32.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Sep 2016 14:32:23 -0700 (PDT) From: Martin Blumenstingl To: linux-clk@vger.kernel.org, linux-usb@vger.kernel.org, linux-amlogic@lists.infradead.org, jbrunet@baylibre.com, johnyoun@synopsys.com, kishon@ti.com, khilman@baylibre.com, carlo@caione.org Subject: [PATCH 3/7] Documentation: dt-bindings: Add documentation for the Meson USB2 PHYs Date: Sun, 4 Sep 2016 23:31:48 +0200 Message-Id: <20160904213152.25837-4-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160904213152.25837-1-martin.blumenstingl@googlemail.com> References: <20160904213152.25837-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160904_143242_590413_483CFCD9 X-CRM114-Status: GOOD ( 11.01 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, gregkh@linuxfoundation.org, Martin Blumenstingl , sboyd@codeaurora.org, mturquette@baylibre.com, will.deacon@arm.com, robh+dt@kernel.org, catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the documentation for the bindings for the Meson8b and GXBB USB2 PHYs. Signed-off-by: Martin Blumenstingl --- .../devicetree/bindings/phy/meson-usb2-phy.txt | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/meson-usb2-phy.txt diff --git a/Documentation/devicetree/bindings/phy/meson-usb2-phy.txt b/Documentation/devicetree/bindings/phy/meson-usb2-phy.txt new file mode 100644 index 0000000..662b537 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/meson-usb2-phy.txt @@ -0,0 +1,27 @@ +* Amlogic USB2 PHY + +Required properties: +- compatible: Depending on the platform this should be one of: + "amlogic,meson8b-usb2-phy" + "amlogic,meson-gxbb-usb2-phy" +- reg: The base address and length of the registers +- #phys-cells: should be 0 (see phy-bindings.txt in this directory) +- resets: reference to the reset controller +- clocks: phandle and clock identifier for the phy clocks +- clock-names: "usb_general" and "usb" + +Optional properties: +- phy-supply: see phy-bindings.txt in this directory + + +Example: + +usb0_phy: usb_phy@0 { + compatible = "amlogic,meson-gxbb-usb2-phy"; + #phy-cells = <0>; + reg = <0x0 0x0 0x0 0x20>; + resets = <&reset 34>; + clocks = <&clkc CLKID_USB &clkc CLKID_USB0>; + clock-names = "usb_general", "usb"; + phy-supply = <&usb_vbus>; +};