From patchwork Fri Aug 11 16:31:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harvey Hunt X-Patchwork-Id: 9896287 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 8FFE960325 for ; Fri, 11 Aug 2017 16:32:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7D55028C45 for ; Fri, 11 Aug 2017 16:32:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6F87028C55; Fri, 11 Aug 2017 16:32:02 +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=-2.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B6BFB28C45 for ; Fri, 11 Aug 2017 16:32:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=OSTDfUucU7fmzuk6ljW/AeK5eP3YGNWEbJGD7QR/Mds=; b=j91knNE/n8RIVf geYOS9cVZEEIhoMAxH1ij6b3F6kTDldVbdr8/GRU8KrWHdOu3LXv4gteqoznnesaxVKSr92kplRVc LpAHZtr7m4xlk/mzTVD5SP6DInnFhc2jy49kY7OJ34i9G7kmKQ+ZxaEN4Uc83zwvO626fqZctVtbW EV6i5D/ItwkKD0NE4K0cmW0VGTB2nzCsJsbV57iUemAP7UCIru3bHROykbCojXBGM6ip9m/iaV9g5 w/w732VeGZwkXPzbw1MSrMZE/8SAkARW0DzIH7UH+qU+lNEZ1uNFleMmZ6iv6zt/krab0u6QHjhK8 zZGtUuIZ0/LCRhvqstQg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dgCqd-0006eb-EO; Fri, 11 Aug 2017 16:31:43 +0000 Received: from mailapp01.imgtec.com ([195.59.15.196]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dgCqZ-0006Zv-Ti for linux-mediatek@lists.infradead.org; Fri, 11 Aug 2017 16:31:41 +0000 Received: from hhmail02.hh.imgtec.org (unknown [10.100.10.20]) by Forcepoint Email with ESMTPS id 1CEE38302ECE9; Fri, 11 Aug 2017 17:31:14 +0100 (IST) Received: from LDT-H-Hunt.le.imgtec.org (192.168.154.107) by hhmail02.hh.imgtec.org (10.100.10.21) with Microsoft SMTP Server (TLS) id 14.3.294.0; Fri, 11 Aug 2017 17:31:17 +0100 From: Harvey Hunt To: , , , Subject: [V5 2/2] dt-bindings: phy: Add bindings for ralink-usb PHY Date: Fri, 11 Aug 2017 17:31:10 +0100 Message-ID: <1502469070-13157-2-git-send-email-harvey.hunt@imgtec.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1502469070-13157-1-git-send-email-harvey.hunt@imgtec.com> References: <1502469070-13157-1-git-send-email-harvey.hunt@imgtec.com> MIME-Version: 1.0 X-Originating-IP: [192.168.154.107] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170811_093140_123798_5DA14A15 X-CRM114-Status: UNSURE ( 8.76 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, james.hogan@imgtec.com, Harvey Hunt , linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, John Crispin Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: John Crispin Add a binding for the USB phy on Mediatek/Ralink SoCs. Signed-off-by: John Crispin Signed-off-by: Harvey Hunt Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-mediatek@lists.infradead.org --- Changes in V5: * None Changes in V4: * None Changes in V3: * Split out from first patch .../devicetree/bindings/phy/ralink-usb-phy.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/ralink-usb-phy.txt diff --git a/Documentation/devicetree/bindings/phy/ralink-usb-phy.txt b/Documentation/devicetree/bindings/phy/ralink-usb-phy.txt new file mode 100644 index 0000000..5b27cad --- /dev/null +++ b/Documentation/devicetree/bindings/phy/ralink-usb-phy.txt @@ -0,0 +1,17 @@ +Mediatek/Ralink USB PHY + +Required properties: + - compatible: ralink,rt3352-usbphy or mediatek,mt7620-usbphy + - #phy-cells: should be 0 + - resets: the two reset controllers for host and device + - reset-names: the names of the 2 reset controllers + +Example: + +usbphy: phy { + compatible = "mediatek,mt7620-usbphy"; + #phy-cells = <0>; + + resets = <&rstctrl 22 &rstctrl 25>; + reset-names = "host", "device"; +};