Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp913926imm; Thu, 4 Oct 2018 05:32:08 -0700 (PDT) X-Google-Smtp-Source: ACcGV61jOSfqTyh9UiIrh4VHdRIgI4sqXPCfOhi+/nsJQIxf8xdzq904jwTCfjXLN5rLq8SNHLoz X-Received: by 2002:a17:902:7c96:: with SMTP id y22-v6mr6392596pll.321.1538656328009; Thu, 04 Oct 2018 05:32:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538656327; cv=none; d=google.com; s=arc-20160816; b=kdccpItlFmXCZYI0mMvZCAoTNE0dI5xUPfmttthznohvv/cOzc2e94pGiZ5NGL46pb 8W6MDa5KLIhDVeIBkertuWQ4H5VILCYAL7wtdV1268iifb8FxkJ4wheOln4SipjKH0x1 JGlwS/gZVR5fnwfF/BvyZEewQ0wmtiU6pqjYJfmnDEaASh190W1U6AUCUD1MV3J/fcAy wUx08kw3rV0kVihU7CwvcEtSpVhLAs9XOcJPWd1hfZ8+qxgo3f6hv3uxXzBX9O+4WciT Lr8bVFeqw9ndJgJ8AtUFFzFJ2NGWz4CJkXigiRqJ7jjnAewiMfqUmkqhx6sjalM2/+iI KStA== 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=Y1mUPYSL/8TjzGIfkyvM6zT8UI6S3HLRrnX/HyKp6gs=; b=PiZG9aA8i44pXw42bfJBsTEm8vNo5DZVTqtztlAIwEU6yTiANmFuJeMLPSWg7xx3Ze MLmCGlajnkOxc7pLNhwIFwz9KoqCER6KclIWfTcAc/868wQeO6GrK9dEZJ/pw3B2iPfT 1XW/HHJlCYhbhKAoh1m9uTtbPbT2WczzIVVBEuJm/yK+QBZA2OvyrX09Wyix2j9rSXBm zxFfKPWlUu5XvGM12rYWn/9UeE4aynJPPWmfA0miHBv3XFtspDgGZzP+8dFWImjXkgf4 qCXJCox5hw2kjEiLDHF2SOOu5sfwD377WJPDseafNDPSQBJW0a1oP7Kb5uRh0AodGC5J J4qA== 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 7-v6si4262089pgw.401.2018.10.04.05.31.52; Thu, 04 Oct 2018 05:32:07 -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 S1727684AbeJDTYY (ORCPT + 99 others); Thu, 4 Oct 2018 15:24:24 -0400 Received: from hermes.aosc.io ([199.195.250.187]:44061 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727407AbeJDTYY (ORCPT ); Thu, 4 Oct 2018 15:24:24 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 8A5BD66839; Thu, 4 Oct 2018 12:31:16 +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 v4 07/10] dt-bindings: phy: add binding for Allwinner USB3 PHY Date: Thu, 4 Oct 2018 20:28:52 +0800 Message-Id: <20181004122855.22981-8-icenowy@aosc.io> In-Reply-To: <20181004122855.22981-1-icenowy@aosc.io> References: <20181004122855.22981-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 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 | 23 +++++++++++++++++++ 1 file changed, 23 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..9f49c6b8c7e7 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/sun50i-usb3-phy.txt @@ -0,0 +1,23 @@ +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: +- vbus-supply : 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.18.0