Received: by 10.192.165.148 with SMTP id m20csp3207948imm; Mon, 7 May 2018 08:24:04 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpAVwFj9hjLklz1sXIlyaM+fPEBG2FmroZkdemf+Qp6UmhKFsS2REiLeMnUfeSj72QGOiZC X-Received: by 2002:a6b:3e8b:: with SMTP id l133-v6mr8161504ioa.65.1525706644077; Mon, 07 May 2018 08:24:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525706644; cv=none; d=google.com; s=arc-20160816; b=i5R05kUR6rKc3N53YY3btKGBCOxaohwGtUAWvrGluY44hKh5kV5k0EjDM+PIg/hvQ+ DEUQ3eH2XpJPb/XuPtWMXV254n7QJbNUGz6a4FL1RBgnasu37LryWzxDN/2/bXlemkt7 iggV/ZiQJKahGLWpJgIv1Bgwx0hpvTA5YemOZhiNzsTc/ZxrcPFnnx7PEMm3BUufHDMw ct1AxYXBPQQHFFSNt/Vjp5KtpQ6UTvsKAYZ9W/ljS1PzCaTzktf3Pae124NEpRvg3dkZ M8uY+Scp2fSsFJA9ynlkfLkWL59fYOidhx/qOS5zuQr+dIY+DSUOnnrwiMuCSnUuASmf qQWQ== 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=ebBm7O3GUXU8o+wtCSFu2IyjZt0CGa9b2eilALFS47M=; b=JMg5ufR0ufBUuXPik5FE/8cgrwNcR1PXz/oXCzO0SHShtyIw6Of0mTuiLkYWLhJ9wv +kaAvKAlNguWfp6Wh2IyBV5iac1TG+WSI73z0xTSAWWr6jPPsP0GQchu46ZUSi2vJU6a k5zxPpYgQfqusoFspRuNmtqHDS4G+A9uYjZYkSHL8l3EGPtRo9ajlhXWmnmA/LbSCxbi WJA77awJFeT3dbvN9yIkjDHXgEx6PAWoFFFNOYFRWNKkTPK0xQ4jWD+oJ2GabgajIUXI GHxYFb7cvv4KoV6mFoe2MUVql16HDbEx6nquIP4KbkRQ4TIepxsLNf0HvQ0qlXJvF/Lq cHiw== 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 n2-v6si3246078itg.80.2018.05.07.08.23.50; Mon, 07 May 2018 08:24:04 -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 S1752444AbeEGPXO (ORCPT + 99 others); Mon, 7 May 2018 11:23:14 -0400 Received: from hermes.aosc.io ([199.195.250.187]:48457 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751860AbeEGPXN (ORCPT ); Mon, 7 May 2018 11:23:13 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 8E4884FF4D; Mon, 7 May 2018 15:22:05 +0000 (UTC) From: Icenowy Zheng To: Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , Greg Kroah-Hartman , Kishon Vijay Abraham I , Felipe Balbi Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [PATCH 2/5] dt-bindings: usb: add binding for the DWC3 controller on Allwinner SoC Date: Mon, 7 May 2018 23:18:14 +0800 Message-Id: <20180507151817.55663-3-icenowy@aosc.io> In-Reply-To: <20180507151817.55663-1-icenowy@aosc.io> References: <20180507151817.55663-1-icenowy@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Allwinner H6 SoC uses DWC3 controller for USB3. Add its device tree binding document. Signed-off-by: Icenowy Zheng --- .../bindings/usb/allwinner,dwc3.txt | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/allwinner,dwc3.txt diff --git a/Documentation/devicetree/bindings/usb/allwinner,dwc3.txt b/Documentation/devicetree/bindings/usb/allwinner,dwc3.txt new file mode 100644 index 000000000000..3f7714636785 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/allwinner,dwc3.txt @@ -0,0 +1,39 @@ +Allwinner SuperSpeed DWC3 USB SoC controller + +Required properties: +- compatible: should contain "allwinner,sun50i-h6-dwc3" for H6 SoC +- clocks: A list of phandle + clock-specifier pairs for the + clocks listed in clock-names +- clock-names: Should contain the following: + "bus" The bus clock of the DWC3 part +- resets: A list of phandle + reset-specifier pairs for the + resets listed in reset-names +- reset-names: Should contain the following: + "bus" The bus reset of the DWC3 part + +Required child node: +A child node must exist to represent the core DWC3 IP block. The name of +the node is not important. The content of the node is defined in dwc3.txt. + +Phy documentation is provided in the following places: +Documentation/devicetree/bindings/phy/sun50i-usb3-phy.txt + +Example device nodes: + usb3: usb@5200000 { + compatible = "allwinner,sun50i-h6-dwc3"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + clocks = <&ccu CLK_BUS_XHCI>; + clock-names = "bus"; + resets = <&ccu RST_BUS_XHCI>; + reset-names = "bus"; + + dwc3: dwc3 { + compatible = "snps,dwc3"; + reg = <0x5200000 0x10000>; + interrupts = ; + phys = <&usb3phy>; + phy-names = "usb3-phy"; + }; + }; -- 2.17.0