Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp638579yba; Fri, 5 Apr 2019 13:59:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqwu1iM9UCAO/Yy1KzkbfRImUxpI0e/Cv4zKAAU/f0PmV3qpJMYvJRBJdcszr5n6HooRulLQ X-Received: by 2002:a63:f212:: with SMTP id v18mr13815987pgh.231.1554497941747; Fri, 05 Apr 2019 13:59:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554497941; cv=none; d=google.com; s=arc-20160816; b=BM8dchRLpMk87I1w6PVIpFz1pXRC+i5sCWgV2+35SM0+cy5W3pjdClvp9++oB00Jiw 9So8ffDZ5NuSbnJY1BfBk2Synaqmah9cl3UP4Fu3kia98d7uDNC4SWNsSNOEaW9o3W9D 3px58T4U75aL3AURq+drQ8guy4btF7euAsSVsOsoK5puz8i883o0txEl9WGG0ALwgTE7 Boael6e6Cjnoj1EtK23XTUy/A2d93EMCSb2eZoz3EvSZJGCorSbrKH6Cou7jLRnWoEtE wCG5SD2U/aGVFC5+lmRxnkJPv1jAZW/1rjlELMMaRAR0dsYzh/1tUpLw52gms/i/c+9N 5cNA== 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; bh=d3JGSA2QRmdDiIk2llHldbe4caN+sGHCtEHrn9GQQ+E=; b=nNUbouxMjCRdL+qZ0OghtAJivrzePyThHb/dJy/XAQ02MbR9ud3T6s3MjtrF5LTC5E iJx030CupzkGEazb9bnEBrnPxHztQ/k+3Y9BoQGRp9S1OTOtjpjO62UjPbc95NJw1RfP Jm6dUZNzhF1nQuLQHCHAd6PNA67Lgd3GtCmkFjdvV+OWu4lwjIRRoQw/Qdx/ssRsKjYZ br7eb3Kpv14b+ErdKpTJ/kdmWBOC6G6h7g1wBMtIMzn3WtFCUOLnNqkHNZflgS7DQNu5 NfATdnJIO4ObwxZtSdRXnIoJjKiGGn62YeIhjtKnG66e9H+0gh0rjUXPNGkTWDcBjibw M7Kw== 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 d38si20368706pla.304.2019.04.05.13.58.46; Fri, 05 Apr 2019 13:59:01 -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 S1726592AbfDEU6A (ORCPT + 99 others); Fri, 5 Apr 2019 16:58:00 -0400 Received: from hermes.aosc.io ([199.195.250.187]:36963 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725973AbfDEU57 (ORCPT ); Fri, 5 Apr 2019 16:57:59 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 789C06CDF8; Fri, 5 Apr 2019 20:57:56 +0000 (UTC) From: Icenowy Zheng To: Rob Herring , Kishon Vijay Abraham I , Maxime Ripard , Chen-Yu Tsai Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [PATCH v5 2/5] dt-bindings: phy: add binding for Allwinner USB3 PHY Date: Sat, 6 Apr 2019 04:57:33 +0800 Message-Id: <20190405205736.55177-3-icenowy@aosc.io> In-Reply-To: <20190405205736.55177-1-icenowy@aosc.io> References: <20190405205736.55177-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 Reviewed-by: Chen-Yu Tsai --- Changes in v5: - Dropped Vbus regulator and added connector subnode. Changes in v4: - Changed Vbus regulator property to vbus-supply. Changes in v3: - Added Chen-Yu's Review tag. No changes in v2, v1. .../bindings/phy/sun50i-usb3-phy.txt | 28 +++++++++++++++++++ 1 file changed, 28 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..eeedc53e6360 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/sun50i-usb3-phy.txt @@ -0,0 +1,28 @@ +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 nodes: +- connector : A sub-node required for representing the connector connected + to the USB PHY. See ../connector/usb-connector.txt for details. + +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>; + + connector { + compatible = "usb-a-connector"; + label = "USB3"; + }; + }; -- 2.18.1