Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751986AbdHCKc3 (ORCPT ); Thu, 3 Aug 2017 06:32:29 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:13730 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751250AbdHCKc0 (ORCPT ); Thu, 3 Aug 2017 06:32:26 -0400 From: Harvey Hunt To: , , , CC: John Crispin , Harvey Hunt , , , Subject: [V3 2/2] dt-bindings: phy: Add bindings for ralink-usb PHY Date: Thu, 3 Aug 2017 11:32:03 +0100 Message-ID: <1501756323-61555-2-git-send-email-harvey.hunt@imgtec.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1501756323-61555-1-git-send-email-harvey.hunt@imgtec.com> References: <1501756323-61555-1-git-send-email-harvey.hunt@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.154.107] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1238 Lines: 42 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 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"; +}; -- 2.7.4