Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4535141imm; Sat, 21 Jul 2018 23:12:06 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe/J+ayU3eBnPy2joWVP0H4pCIflJLxJZHCMWtmy3g1TqZtEzdPyogfzsjQCoZJwKrcPPKg X-Received: by 2002:a17:902:bb8d:: with SMTP id m13-v6mr7996367pls.46.1532239926234; Sat, 21 Jul 2018 23:12:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532239926; cv=none; d=google.com; s=arc-20160816; b=fhBd0ZVaeQOp7UBr4R6yJi2nEhNzrqLBjlcns5ClNVf/ikrXQba9ft9WvSpLFza4lW WaDiGQG2/5Bbe3HFPSsVhK85IFJ7zZvCKyOZCo4oG4+K8FVtY/dGcCZiJxh4NDpE9dkW uEPp6jn00SHVTw907Tg5+FPmayxgs6s9ohFuMnMAlxEr2Bzk3HnZQkLAWVNCGtWzR60B qz8ybIZWe+lV7cr4b2Q62FirH8A6QZjgkx+h+GkQQfc0HzSrSA1euLVBOTfhHhz6Xr7v Iw0Ep/bO3aQVcd5CYxWrI+wt5cnLVF4J8fQ8DCFfqinSLGcBE9Y/x3ICzDE9TO29f98d MNig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:arc-authentication-results; bh=g60GJHdAd5RoOZu5TUGZwY5gSTd/H1YJ/Vd48Dgg+7w=; b=ifISC/z5mDa+r6DOcuqGRtE7n2MEGiBVOd7YTkyuZjqzR5U0bfzpu7VQaok1OaJr/q 3cz6SMNliGpT3aeuL5mK7t+lQHsYoJZWIdmsCrYGjNAS0XHyBljXrVuxXQDv9G9a/IaS sgRXfSA580CsK5+sqsmNCFCLWTjg2hmavIQ9ZW+AD3z7tbv/Y+L/fohIX+3o7xwpzljv j8H4+OQ8t4gj0EmHbMqxqFESEhGFfJNGGawAwnA0+0xmzXTkMlUG6G8FJhLvO21+6fw7 BkVJPEryjmTDHKhue9LmAOdAs/9zQ5UsM73quF7QZuQkTOGG99jDiPJx7BJeL1gKIH9I 8x+A== 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 t67-v6si5185350pfd.364.2018.07.21.23.11.49; Sat, 21 Jul 2018 23:12:06 -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 S1727996AbeGVHG1 (ORCPT + 99 others); Sun, 22 Jul 2018 03:06:27 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:36559 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727817AbeGVHG1 (ORCPT ); Sun, 22 Jul 2018 03:06:27 -0400 Received: by mail-ed1-f65.google.com with SMTP id k15-v6so805784edr.3; Sat, 21 Jul 2018 23:10:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=g60GJHdAd5RoOZu5TUGZwY5gSTd/H1YJ/Vd48Dgg+7w=; b=ELXwTXmLnTbRSCifTXxDtADEi1uSdtTIK1kKuXQJI2hgY5jvRniK8aDhoFqd8B3IVo mvNlxkwRQMHowjuoxf48hqlxl3SIJ4hiZ0SVsbGlRtHBCd7XWmjs6j6+OYxJWFRJ2Nkh EOKll4jWgn4fU8nIz+MIlYJLwSJXxIJ9CRvcN0Dk3NaI86sntfIkRRq19Q34mgPOhQge bVraqCBKywlCLWfXSHgsGAKThtkVWIyTIXVpBKaKG7uVybob5py+s+TV/M5cbWHG9woI rOcs21XBIPJPkiYBxFWSbcfqlgWp7OJwtnVxkH/4kBtwSaW6lsxcQvXKE39Nafn43Wh9 LS+A== X-Gm-Message-State: AOUpUlEU6k1vILqwkIaF888JowjOYQJQHoc3gFmHonQhMc8LF1F8dNqT xVGT3w//5BJ+YiU7k8sBl5g5d3Jof/o= X-Received: by 2002:a50:b684:: with SMTP id d4-v6mr8488509ede.250.1532239855214; Sat, 21 Jul 2018 23:10:55 -0700 (PDT) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com. [209.85.221.47]) by smtp.gmail.com with ESMTPSA id l36-v6sm3070761edc.68.2018.07.21.23.10.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Jul 2018 23:10:54 -0700 (PDT) Received: by mail-wr1-f47.google.com with SMTP id h10-v6so14763710wre.6; Sat, 21 Jul 2018 23:10:54 -0700 (PDT) X-Received: by 2002:adf:c98d:: with SMTP id f13-v6mr5255271wrh.148.1532239854363; Sat, 21 Jul 2018 23:10:54 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:adf:a15a:0:0:0:0:0 with HTTP; Sat, 21 Jul 2018 23:10:33 -0700 (PDT) In-Reply-To: <20180722055739.26464-7-icenowy@aosc.io> References: <20180722055739.26464-1-icenowy@aosc.io> <20180722055739.26464-7-icenowy@aosc.io> From: Chen-Yu Tsai Date: Sun, 22 Jul 2018 14:10:33 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [linux-sunxi] [PATCH v3 6/9] dt-bindings: phy: add binding for Allwinner USB3 PHY To: Icenowy Zheng Cc: Rob Herring , Maxime Ripard , Kishon Vijay Abraham I , devicetree , linux-arm-kernel , linux-kernel , linux-sunxi Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 22, 2018 at 1:57 PM, 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 v3: > - Added Chen-Yu's Review tag. > > Rob, > Although you mentioned that the supply is for the port, not the phy; > currently in USB situation "powering on the PHY" also indicates > "powering on the port" and nearly all usages of phy-supply is for Vbus. > > Maybe we should change the overall phy-supply to satisfy this. Or maybe change it to vbus-supply, like we have for phy-sun4i-usb, until USB port power sequencing is added. (I remember there were patches for this. What happened?) ChenYu > Thanks, > Icenowy > > .../bindings/phy/sun50i-usb3-phy.txt | 24 +++++++++++++++++++ > 1 file changed, 24 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..912d55f9f69d > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/sun50i-usb3-phy.txt > @@ -0,0 +1,24 @@ > +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: > +- phy-supply : from the generic phy bindings, a phandle to a regulator that > + provides power to VBUS. > + > +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>; > + status = "disabled"; > + }; > -- > 2.18.0 > > -- > You received this message because you are subscribed to the Google Groups "linux-sunxi" group. > To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout.