Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2452282imm; Sat, 13 Oct 2018 19:44:11 -0700 (PDT) X-Google-Smtp-Source: ACcGV63VtKIPy3WPW1ZyXkjVdMyAk8Mw8zjxsRVdKZtski6wnq67YCXu6R8Lr4pTmryraROP/dnN X-Received: by 2002:a17:902:8b8c:: with SMTP id ay12-v6mr11791832plb.262.1539485051067; Sat, 13 Oct 2018 19:44:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539485051; cv=none; d=google.com; s=arc-20160816; b=0Bg5h0T+u3YPydNfKpbttYi/XcmCiou9+Z3YcPaBq8hbo9TFIxsgyynqX8g/6hNBAq zoxC0hLrQO72YpFpCZjlwP9VPEU1xmCEo1OO10He//7HqNX1hM+p2CZxGl6IWJVUq6zm afempTJ3Kc06fyTCl9+udQHZNglKwF2f9/yZUUboOUme4pAiZOtRZ5bVQjNuveXbbzZ6 KBH/Ypu2FSXjeDbs3ACehsoQBTHBcu/hbN3agw2NXY5hJcAikvUtQcInzPBqIyx3A/5P iENf55uYbSNxpmBBk6zhPHXvtsZFn6OpQn9U12+sNTq1+upInbxNJ83fuZtCh94yBFeU z+eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:date:cc:to:from:subject :message-id; bh=hVc5yf/tkbRO3Ns14oOEfJ8Ej/kmlHE+sr34a/4ehsY=; b=ORScLGahMW9QApb49LdLA353E95maYhDFl3TFkgvtf3cebV2HixYMMkWpTtU6UMCO4 pnhK41GIZinL1gfXO90BkOz+SsEbyei0Ok9vooYvpjJHeySN6u0vcWbnn9/duMtlXt3e PGFXcHcOztEcBXb8siKxqjXpS0z1VTmiBxkqQGal62lQ3YwPUEmghsByy9J1R0O1nHIe 3IFn3hrJPP9sCGQ6Y/ipc9CkdPO5xF0Vs0vr5wydOciX0Y1bXXG9++YF6qzx7rYU9T2U 4YpplnkS9J2nV1/JdhmgAra3bSpYTD5W0F0EGC0uDvGy6V1vdT8gjAvzrg1runiiPm+P cE2Q== 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 n77-v6si6722985pfi.67.2018.10.13.19.43.19; Sat, 13 Oct 2018 19:44:11 -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 S1726119AbeJNKVg (ORCPT + 99 others); Sun, 14 Oct 2018 06:21:36 -0400 Received: from hermes.aosc.io ([199.195.250.187]:34303 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725734AbeJNKVg (ORCPT ); Sun, 14 Oct 2018 06:21:36 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 778CB4E155; Sun, 14 Oct 2018 02:42:07 +0000 (UTC) Message-ID: <92e92f817d4df753d654124514e89c62f40d52eb.camel@aosc.io> Subject: Re: [PATCH v4 07/10] dt-bindings: phy: add binding for Allwinner USB3 PHY From: Icenowy Zheng To: Rob Herring Cc: devicetree@vger.kernel.org, Maxime Ripard , linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, Kishon Vijay Abraham I , Chen-Yu Tsai , linux-arm-kernel@lists.infradead.org Date: Sun, 14 Oct 2018 10:41:29 +0800 In-Reply-To: <20181005205855.GA2458@bogus> References: <20181004122855.22981-1-icenowy@aosc.io> <20181004122855.22981-8-icenowy@aosc.io> <20181005205855.GA2458@bogus> Organization: Anthon Open-Source Community Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2018-10-05五的 15:58 -0500,Rob Herring写道: > On Thu, Oct 04, 2018 at 08:28:52PM +0800, Icenowy Zheng wrote: > > 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. > > This belongs in a connector node as it is part of the connector > unless > the phy physically needs Vbus for power. > > But others have done this, so all the phys can just be wrong... How should we reference the connector? Via OF graph or simply a property in PHY node? > > > + > > +Example: > > + usb3phy: phy@5210000 { > > usb-phy@ > > > + compatible = "allwinner,sun50i-h6-usb3-phy"; > > + reg = <0x5210000 0x10000>; > > + clocks = <&ccu CLK_USB_PHY1>; > > + resets = <&ccu RST_USB_PHY1>; > > + #phy-cells = <0>; > > + status = "disabled"; > > Don't show status in examples. > > > + }; > > -- > > 2.18.0 > > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel