From patchwork Sun Sep 11 13:41:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 9325379 X-Patchwork-Delegate: sboyd@codeaurora.org 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 90865607D3 for ; Sun, 11 Sep 2016 13:41:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8586B28305 for ; Sun, 11 Sep 2016 13:41:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7A03328A7F; Sun, 11 Sep 2016 13:41:42 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2C81A28305 for ; Sun, 11 Sep 2016 13:41:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756129AbcIKNll (ORCPT ); Sun, 11 Sep 2016 09:41:41 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:36461 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756086AbcIKNlj (ORCPT ); Sun, 11 Sep 2016 09:41:39 -0400 Received: by mail-wm0-f66.google.com with SMTP id d7so2131119wmi.3; Sun, 11 Sep 2016 06:41:38 -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=WniKy1JrM8IJb2mVApVkqhnNGB5oQmh9tj2mbJkuw/U=; b=alN4p0lsD8CakGOz7mZ+EnxPiPJhJTLgqQvco8Q2Z0J9byyDEl1mOjl6eKBByslHbH ASb9Qic1W9Lq7WxJkwczv3JS/neyengmMU4Z3u/xcxjfMnwhbzibLkiyGkwyPo9bQwUA t7ArE+EwFYg1To18a9Di86lLlZ4Tph051ZLHWvT2VTk8dHzEAQNp5U8WfDiKyH1gEElS T4v2lU5gV9j99CSCDfEczSmp3WR2EohcG9BLmn5SJvKe4cNYo6CAB8qGshVnkMPeJL6J pDEoSX7M5c4h/UHQd5XOo+kJB0SK1VE0l8jPJfd7DKyMFmEgfCAKxbD4faJka4aL3V/n 0+/Q== 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=WniKy1JrM8IJb2mVApVkqhnNGB5oQmh9tj2mbJkuw/U=; b=bGJf6GzZ4Qyk4SM/Rle+9FQTB+qYkHp36bekAya1MPuMfA4OhaXRDAEhKgzj4oDpjT 3i7MNr72KsVttn0zgmuo6RU/g8uQfp+fvLnsHVB0tekm9J6Ef0G4wPTEsNBisIlZ3EJl PmRO/rCzwcktdfb/S4nUqbQi4bVDCL226GtTiGxwVN4+LKPkweE/7m2hrVU+TOL0Ifa1 HbOP/LVA5HgSR4LA/efY8vNNEfXd4RVtf06wrLj4E2fOHPEVGGMjfItSIizsFQc5ePPc X7DAeXTl27jd2IUSvQvTEJ/aAR8DcneV9KcJviCRwwrA0tBe6HbZXR6BHkY3WdVnzZtP tkWQ== X-Gm-Message-State: AE9vXwOf4re4hfq2BxdD/6/0ZUmgFRxzZAVe2eWN3YzvE/Zt5oDgCuecKQjvnw1WTQao9w== X-Received: by 10.194.83.33 with SMTP id n1mr10382987wjy.36.1473601297317; Sun, 11 Sep 2016 06:41:37 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD3CB9604519CE50E19B62432.dip0.t-ipconnect.de. [2003:dc:d3cb:9604:519c:e50e:19b6:2432]) by smtp.googlemail.com with ESMTPSA id bc5sm13011223wjb.37.2016.09.11.06.41.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Sep 2016 06:41:36 -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 Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, sboyd@codeaurora.org, mturquette@baylibre.com, will.deacon@arm.com, catalin.marinas@arm.com, gregkh@linuxfoundation.org, mark.rutland@arm.com, robh+dt@kernel.org, Martin Blumenstingl Subject: [PATCH v2 2/6] Documentation: dt-bindings: Add documentation for the Meson USB2 PHYs Date: Sun, 11 Sep 2016 15:41:07 +0200 Message-Id: <20160911134111.31141-3-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160911134111.31141-1-martin.blumenstingl@googlemail.com> References: <20160904213152.25837-1-martin.blumenstingl@googlemail.com> <20160911134111.31141-1-martin.blumenstingl@googlemail.com> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.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 Acked-by: Rob Herring --- .../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..9da5ea2 --- /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) +- clocks: phandle and clock identifier for the phy clocks +- clock-names: "usb_general" and "usb" + +Optional properties: +- resets: reference to the reset controller +- 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 RESET_USB_OTG>; + clocks = <&clkc CLKID_USB>, <&clkc CLKID_USB0>; + clock-names = "usb_general", "usb"; + phy-supply = <&usb_vbus>; +};