Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp905159imm; Fri, 5 Oct 2018 14:00:30 -0700 (PDT) X-Google-Smtp-Source: ACcGV63MXPzy3B5drffB47RZjKFJSnpzdL8Nv9afcmxy3Zz5jVEOo6UpHFdBPSOx87ThodONtRf8 X-Received: by 2002:a62:5887:: with SMTP id m129-v6mr8933317pfb.254.1538773230191; Fri, 05 Oct 2018 14:00:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538773230; cv=none; d=google.com; s=arc-20160816; b=cUu47oaRIHpw5SLB43iAqFvKWDcPlEh4PLnXV4iMFGzNB6rIXsIMDOY1UrFfBI0u24 Qss79hVE1n2q+TIvZQyAkY48fD2UO+jb/1H6Pfx8Q/oePctJ9FyOcyGmvwxlzLzbK1E4 E/xSpAvriMKvuKCYetGsYjZqd+Uc72yhVjxPNeQQ9w0QPRw4uEB87Eb/U5iYakzzpQ2G MEL/UuSjsBashKGgPAzsIYuYVoicx0v4toWeflIUbFPTji9wxN/GwQmBlfTkS7ylJKOC 42fTWXIDq+mj5BmNd04d5zOkYDEXbI2us9M7g4eNS38wQinBQyyxDBlCuY/6NoguCY8I fYDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=jdoivrIFjA+DlX68dFQAMvzD8Si7g4NRaOpqI2iXIMQ=; b=WRVZ4uFXXJfzlbiIKeiQ0Xs/Rx1wDjqgtNORol4f9Qifxc0lyFDTdCiwNmp79HJc+K TwgeqsOgAvJGxzhwSzLNC8Mlog6rTYAtn5B0g6sZiJ896sXE0fvSPw4imqqorecb3OLD WOPHj8pAWmZqNOk0NvQXNK6/X1eifTQqFAkN1SIVf6a3upLUOEGguH7LjYyavCTdz4iv ylDH3pQN+t6ZVKbh4599m2N8zXBFHzSmtQw8EC/1LIWuCobMiUh3OXGV6/ascQtKn4P0 oPPkep0Rj4NOEwd+TO+COwKPv831bjUVM2b7wzEFTgcYdGn3s5ytfD8YMJydDQFyzDJG Uhxg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e9-v6si10620313pln.265.2018.10.05.14.00.15; Fri, 05 Oct 2018 14:00:30 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729074AbeJFD7Z (ORCPT + 99 others); Fri, 5 Oct 2018 23:59:25 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:35513 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728367AbeJFD7Z (ORCPT ); Fri, 5 Oct 2018 23:59:25 -0400 Received: by mail-oi1-f195.google.com with SMTP id 22-v6so10497893oiz.2; Fri, 05 Oct 2018 13:58:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=jdoivrIFjA+DlX68dFQAMvzD8Si7g4NRaOpqI2iXIMQ=; b=JbVnPF8ACZbJLKGYrXDdUwVt/AmgNzIp3J6F663k9ntgmvw7XQoBqcZWLyIBT8mceK KY63pUxcGC8QSe3FqK56D8QkRfl6WxIC+UDTRUmcpOjqEz/sKggnsR9QKRzRRMfzUHVg aMNNvN5TleSHr5rsxnvsPDmgHQ3wfzgBYxLL4+21y5NCIcry0zZE1B9QZ6syOWP3Teq8 g8y6pv/gGpVIHzGPfSRNaEOrIoSOctTqxHmOwJHiio3hWkozRKO/l0GBlJWj1vOf2wmf 1YTKbElbMyUds2IkspEGeGF4CeXS1pbaMdEUwrgrI3C9YklgK2YZcrEqMZt+tXgFCiNR +LKw== X-Gm-Message-State: ABuFfojEsg9xpKl9MPcryYbBoXl1IMQcAKWaPIAPdlSzR68F40opdFYK Ej5zGHwru+qaGx5Tmnyvgw== X-Received: by 2002:aca:ce07:: with SMTP id e7-v6mr360654oig.54.1538773136888; Fri, 05 Oct 2018 13:58:56 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id b8sm3097914otd.50.2018.10.05.13.58.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Oct 2018 13:58:56 -0700 (PDT) Date: Fri, 5 Oct 2018 15:58:55 -0500 From: Rob Herring To: Icenowy Zheng Cc: Maxime Ripard , Chen-Yu Tsai , Kishon Vijay Abraham I , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH v4 07/10] dt-bindings: phy: add binding for Allwinner USB3 PHY Message-ID: <20181005205855.GA2458@bogus> References: <20181004122855.22981-1-icenowy@aosc.io> <20181004122855.22981-8-icenowy@aosc.io> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181004122855.22981-8-icenowy@aosc.io> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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... > + > +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 >