Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1921868imm; Fri, 6 Jul 2018 08:46:37 -0700 (PDT) X-Google-Smtp-Source: AAOMgpckvDHpl8VMMmiDbEy1kxg0HssyScRkj7yVB/DuvtDrBYSXFUSawectahjxcThe4Q7FqjOG X-Received: by 2002:a63:3348:: with SMTP id z69-v6mr9657137pgz.171.1530891997099; Fri, 06 Jul 2018 08:46:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530891997; cv=none; d=google.com; s=arc-20160816; b=Hfpi2k7O0hL3Mqv2bQRxbHP9r/B59mxF5o8E6LKiHp6+jLgDjV/08GUNZXOA3VbCUT Sg86eYyyieypNRcefE83FGCf4AdZmZBqHmj/rPdfMC6SEhH7+9RUOks+fTsDjurT5ZX1 ozXj3UnWrcExbup+4DUjQMW5qctI9iQkeTSKix65W5h33PGCrlcOtIR+4qNy5ZFFIUm7 v+yzkyyZcQtVOGM+SjIpD+IMxfJ+zxsTWCseq7HQF+Of9FNiBwOC2EHWEY6BJ7eOtCJj ierWQh9G+q3cXL38kFWm4z6ze75JlthjouiDBkcYHGhrNBPpa/CdxNV7dbd4Yq80OtAb xbBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=wCIWLPUdpDd2L1kHESo/Vrhe6OS/E5mbonG0RcuQyyQ=; b=TeQaCQUacoeXwHL/r6b8ehWk7TMvVfJPy8D6i6fWSXoE2J3I3ai7PCr8/dP1zIegEn /C3dMbRFCzG2KJCwKH+SASkFwlQwrLPNXvRr2XY/TRCQLejEWwDZD3j7o/xVog4VK+Qg KjKoBv0HJqtu67pjO+FwUWu3fW1/sO5qMlVewXc8w68wgmUoBSVdKShF10OK2F3RlJhh rEwp21KLSZDH0RTjuHSsVYnBj/FiFUmrk//1BG38P4qr53MeMuYqye/eDO+MnXPGMoSv idFoXhNMQu+yw+BXA/tUcLEB+QBkjQAc6TmmMlnkhWE+M1MIVEbfGbXQuVW9LnLHIMwy V3Tg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a4-v6si8331576pgl.9.2018.07.06.08.46.21; Fri, 06 Jul 2018 08:46:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933481AbeGFPpJ (ORCPT + 99 others); Fri, 6 Jul 2018 11:45:09 -0400 Received: from hermes.aosc.io ([199.195.250.187]:53753 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932598AbeGFPpI (ORCPT ); Fri, 6 Jul 2018 11:45:08 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 6BF60643C0; Fri, 6 Jul 2018 15:44:56 +0000 (UTC) From: Icenowy Zheng To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Kishon Vijay Abraham I Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [PATCH v2 6/9] dt-bindings: phy: add binding for Allwinner USB3 PHY Date: Fri, 6 Jul 2018 23:38:02 +0800 Message-Id: <20180706153805.25842-7-icenowy@aosc.io> In-Reply-To: <20180706153805.25842-1-icenowy@aosc.io> References: <20180706153805.25842-1-icenowy@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The new Allwinner H6 SoC contains a USB3 PHY that is wired to the external USB3 pins of the SoC. Add a device tree binding for the PHY. Signed-off-by: Icenowy Zheng --- Splitted from the PHY driver patch in v1. .../bindings/phy/sun50i-usb3-phy.txt | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/sun50i-usb3-phy.txt diff --git a/Documentation/devicetree/bindings/phy/sun50i-usb3-phy.txt b/Documentation/devicetree/bindings/phy/sun50i-usb3-phy.txt new file mode 100644 index 000000000000..912d55f9f69d --- /dev/null +++ b/Documentation/devicetree/bindings/phy/sun50i-usb3-phy.txt @@ -0,0 +1,24 @@ +Allwinner sun50i USB3 PHY +----------------------- + +Required properties: +- compatible : should be one of + * allwinner,sun60i-h6-usb3-phy +- reg : a list of offset + length pairs +- #phy-cells : from the generic phy bindings, must be 0 +- clocks : phandle + clock specifier for the phy clock +- resets : phandle + reset specifier for the phy reset + +Optional Properties: +- phy-supply : from the generic phy bindings, a phandle to a regulator that + provides power to VBUS. + +Example: + usb3phy: phy@5210000 { + compatible = "allwinner,sun50i-h6-usb3-phy"; + reg = <0x5210000 0x10000>; + clocks = <&ccu CLK_USB_PHY1>; + resets = <&ccu RST_USB_PHY1>; + #phy-cells = <0>; + status = "disabled"; + }; -- 2.17.1