Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp987322yba; Sat, 6 Apr 2019 00:26:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqyXhjYyWwl6C0tqYNunvv/pxlonXj42q5+wZiS9TXzhSa9QhE5Or9a8ykXGD3/B89sM+5L4 X-Received: by 2002:a17:902:b10c:: with SMTP id q12mr17643285plr.254.1554535582306; Sat, 06 Apr 2019 00:26:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554535582; cv=none; d=google.com; s=arc-20160816; b=G5ERn+eO7I1uj3sOnHCpf46cDRUkbvLZlzvgi9gvAimQcT2PFR3OSl/y7kEwW0IdH/ OdaeBcuyATYK7h7Cyo07jD/rw4zhbc8BscgNNERrm3bqLDbcsAH641zecsBQw+vIWVeM SQyQpBUKB4NG2F1cBOQKf8psd2SP+6F/nnKlK3V466Dfls7upnsMTfKshKUZrl9wJKfe ApQDm6TlaeYe+E99RCAtx3gVbgBJEDPbO22A3QOSbh+c9qIgpNpDQS1xVjTCLUqpOiC2 5VToCrnCEjX5Fqo0GX6nnrqxd/N7jlObatUOb6zOeBys/FXiYHWx9fjCFiLlRqzuhKE2 SaTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to:date; bh=HekjcZIJDN5F/CHyPbHeTSSnr8E98zcavrlikZ1db7g=; b=x8vqc7cJJFPBVIuzLPk8ugys56s3/pZkwYeSQYMCcRNXm6sGbu+nDBJTXT8JkNBs6c 3qzZS8t90qnst+t6jdlLh60CdzhxjSRQ3CkwYX2edzKhv8+UjlvCYPLa7WD1IFyKroax NUfn9F6CFLqxs/K5CxjodHOz7BlpiNZt5/7j0QbZkeAO9XuM3h0EGlZ7AjnuXOCzcMph ntRxjHIkcSJv3qAI6+aGQ3xLkXzK4JIBBSrg33ozVTGDDadvoh306nxKjeBpbaltK3qE KoNDmKBo5JZZWunDggOvbjrN84nMrTVz5ahVeuehohYg1tIy7kN90stbx40knpSmWpyh GcwQ== 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 t4si17111360pgu.544.2019.04.06.00.25.53; Sat, 06 Apr 2019 00:26:22 -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 S1726436AbfDFHYx convert rfc822-to-8bit (ORCPT + 99 others); Sat, 6 Apr 2019 03:24:53 -0400 Received: from hermes.aosc.io ([199.195.250.187]:56795 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725440AbfDFHYw (ORCPT ); Sat, 6 Apr 2019 03:24:52 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 9436AA5E0F; Sat, 6 Apr 2019 07:24:45 +0000 (UTC) Date: Sat, 06 Apr 2019 15:24:14 +0800 In-Reply-To: <20190406071402.GA6006@bogus> References: <20190405205736.55177-1-icenowy@aosc.io> <20190405205736.55177-3-icenowy@aosc.io> <20190406071402.GA6006@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Subject: Re: [PATCH v5 2/5] dt-bindings: phy: add binding for Allwinner USB3 PHY To: linux-arm-kernel@lists.infradead.org, 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 From: Icenowy Zheng Message-ID: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 于 2019年4月6日 GMT+08:00 下午3:14:02, Rob Herring 写到: >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 Please note that the word used is not "USB controller", but "USB interface controller". A USB controller is something that deal with USB protocol, and connect to a USB PHY with ULPI/UTMI/PIPE interface. It's not connected to the connector directly at all. Then the PHY is connected to the interface controller (if present), or the connector, with D+, D- and SS pins. >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 > >_______________________________________________ >linux-arm-kernel mailing list >linux-arm-kernel@lists.infradead.org >http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- 使用 K-9 Mail 发送自我的Android设备。