Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp981416yba; Sat, 6 Apr 2019 00:15:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqzbmPwxu8+BJhwLdXqhcmLK566UZBIyiwT4Y891z1UMWvb/9TdFAy+SfsbLQffL9NIwo3hZ X-Received: by 2002:a17:902:1c9:: with SMTP id b67mr18005110plb.176.1554534900761; Sat, 06 Apr 2019 00:15:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554534900; cv=none; d=google.com; s=arc-20160816; b=RAd4mjtPRyu1KhlBPU6ApVz6JulnLuMn2wQ3Dg1JDPgDQdZ16KBDmO8MoFuH0+UFvz y3RN6qFLcZ9aUXJ/6qKYDfr3DqoWq5egFMelnM44YL7ZnkCrorDWDQ8jQDok7EmyJZ/M 8DpPeM429jWXtpkoV9tUJOEFc33gkzwUaArwkZQYpnLDUOPYMQx8HEmyzS+D8r+8/y2h mDrReikou4Hn1R3kDDTaDVT6WCPUxQd3SK9VOMiNbGwGjGf08sMJ0FAueE+il/WDwDxt XhD5J+9Ayi/QKepNKxb/iWx+VZho5H+PZ8dk3h94+mayivaBOaPiqxll7H0uTGqMMPPU kEBQ== 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=JtnZVgGpUPAC9FI3mMvruPQumnTJn+wT5jX4iXUuE/U=; b=lUs/EAphORtRNJIEstd5icF7gEpGBj1kYfXMSn2ADB6m6hmXAt03vsZsisBk3lHoTo M9V7U6qE0QWHTPm1xJDoe7Zntz5ztpUMTmO1eaOsLQO5Mwluy8DP9tbZ8k11xeZocsBu oX+L2p8+U/1W+VdXXdj2iEKCgZDUUAcmOqdDpArTaH72SNFHIfXVOfxMdXIoXe8tMqS9 HwAwsJTTISlKWJMmlrZwuAHvT7XOwL2eli/3TRyvmGVKsAmmsgOYAHDRsqs1bWKe2Ch0 fkALcfUqlMzHvGelY9LRkOh2FIVzn5/DApR9qH5w485G3XOt8dhwdy5CBYNoca3O0T8X EmKQ== 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 p13si21672159pll.324.2019.04.06.00.14.45; Sat, 06 Apr 2019 00:15:00 -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 S1726431AbfDFHOG (ORCPT + 99 others); Sat, 6 Apr 2019 03:14:06 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:41099 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725934AbfDFHOG (ORCPT ); Sat, 6 Apr 2019 03:14:06 -0400 Received: by mail-pl1-f195.google.com with SMTP id d1so4247349plj.8; Sat, 06 Apr 2019 00:14:05 -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=JtnZVgGpUPAC9FI3mMvruPQumnTJn+wT5jX4iXUuE/U=; b=oWW24+yZSY7UF9OgudWDykTuvV96Rz3ZVaTO/5s07GfxKIjinMrug/T3gdZd/uQ1WK yBLsWRZna2I3jJQY+WznpadoOVr7KCmW9QNVHa5jCeBS5TyuS4Tlj+QnT9ngzyApeth3 jNOeS80+oDaGsha1uVcYtwMGoRfdzk7fZdSD9dGZQapIb3Zjxp9Ai5RSHrEDSwbW3O/Y IZUOqQxryh63SVYm6YwP0GvnvsGTe4Np9UjoXhrJZl0Fq0qCanePQbJodOCLVNHOTA+E 1NGWhtQXAhpjBAVmiQhOXc1QcCVzPWPcoEEp46vOONnULXgsi/FTaPq1Hm5jDgJUu4vS xWsQ== X-Gm-Message-State: APjAAAVbLNvGDGsUVLvs4uK/ZZUooif9ixC+2N4AytZzJgnXY0QOIDJM 81jubzUZQKWWlepBRnFC4Q== X-Received: by 2002:a17:902:2ec1:: with SMTP id r59mr17755230plb.171.1554534844920; Sat, 06 Apr 2019 00:14:04 -0700 (PDT) Received: from localhost ([210.160.217.71]) by smtp.gmail.com with ESMTPSA id u4sm68433170pgn.12.2019.04.06.00.14.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 06 Apr 2019 00:14:04 -0700 (PDT) Date: Sat, 6 Apr 2019 02:14:02 -0500 From: Rob Herring To: Icenowy Zheng Cc: Kishon Vijay Abraham I , Maxime Ripard , Chen-Yu Tsai , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH v5 2/5] dt-bindings: phy: add binding for Allwinner USB3 PHY Message-ID: <20190406071402.GA6006@bogus> References: <20190405205736.55177-1-icenowy@aosc.io> <20190405205736.55177-3-icenowy@aosc.io> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190405205736.55177-3-icenowy@aosc.io> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 06, 2019 at 04:57:33AM +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 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"; The binding defines that a connector is a child of USB controller or some port controller (such as USB-C ctrlr) with OF graph to USB controller. So either way, this is wrong unless this is more than just a phy. Rob