Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2312973rdb; Mon, 20 Nov 2023 07:48:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IFqEquzgRA0cCRLntIXJDCWkH4JdWs7r/FPs991WFylzxIfpnVpqO1F8chMie7FZgoWfexf X-Received: by 2002:a17:902:7d84:b0:1cc:2376:5508 with SMTP id a4-20020a1709027d8400b001cc23765508mr5307837plm.34.1700495283001; Mon, 20 Nov 2023 07:48:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700495282; cv=none; d=google.com; s=arc-20160816; b=ro5buOS71g8nan2Oq4CsccwyAYGSaNeRdYgJn5Wl9c4cNI6LZ2u/abzqDTe9hYKfAg mUmCJxBTa1IImTdTVgV39+hc0qMvjJRqmgiIRkRU6h0D7n/WjbaZC5w9YGWMih68+AqC RS/QbI9BpaQOkbk6oITfIz3YFYoD7820HWXXqEJPElvsXuGBuLQlm2C+x2vy3yclR0dr P9nS255ttugJWSRKhmSERDLGMF5vN0E3Z9SKHjKj93qoxfpFG1Lzh7JN5m1ccKh+3s4i hkz1BfbAYJOSYYfcRkxLd5eeDYNeS4UyZCDeYWpk9phk977Z2nV+ne66YuImet0Nu03N pwrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/G1obkIYnGnjBI5K+Uq6EzZVrrL1Ox8CJX/rBytMchU=; fh=EuaAg/95ilJnTWRIZueiTXpk5kG8OHwXTYRMbMdC2SM=; b=xFmqhxBTMlw6m1xaTDHpObHu2wM30U23a80L0dKbdZPNzmDq7au9lvl9VZvEjgTimY md6KAg/ZGvExOSk9ZiSDmRTC/eWQzeOiSiFF8XWfMswElGSVKr8QoFcUu6pJlw6ea3+s +brA/GMGbe0h13UeVLykE+ySV0gFI4BIqzvB6aYyLOFS8oIPydhL+ud3c2IshJfJgBqA t/6FBuSt9hAgNppkxkp3yrXp8FCzX3YNF9dy6S/+wrvAitOugnplmC6+cyb1+UJ+f3mw oi6o3KOc4J8Rn2GZUM0YtFgo0yQvP2Sl1NUsGbiImnuEiRJRuXyhEROkb7ndKxBhznRu DNLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jXuXXuoy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id d6-20020a170903230600b001cf5d07c895si2905074plh.273.2023.11.20.07.48.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 07:48:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jXuXXuoy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 23EC58070E05; Mon, 20 Nov 2023 07:46:02 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234364AbjKTPps (ORCPT + 99 others); Mon, 20 Nov 2023 10:45:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232138AbjKTPpr (ORCPT ); Mon, 20 Nov 2023 10:45:47 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C361C126 for ; Mon, 20 Nov 2023 07:45:43 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 645AEC433C8; Mon, 20 Nov 2023 15:45:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700495143; bh=Mf13kzSkExcyvPhnH9lBeXM+1UKNn14DDjcJ3StlIoc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jXuXXuoyJnfgUCQK1X12FP4JL1Y3eR9/BRp0/MUuTl3MhCF3KK0nFr3436r2pCKXb xkQX/ShmAMDV5lDZsBlsCsbVehE+uguaHwGEiArapYyz87IDl+gW3cbZdsfZfZfPx1 ikbg4W0qxv0Bxvfze7lb/aH9l69mtk0wusvkpVpQcCB/Dg1oU38v5OHzFYgLAweCLS 3eduYAQKOP/cWI3pb4RulPavh2uTpkHor16JLy2GQ34HS5fOqrMOZEXVUcX7ODvlCo 0+rfXJJO94HQDKAiKWECUzw36pHa61BUAhuJublU3SeoSBqrWtzr8Xuo+/CvcqvOov 2OC9I3utaCjQA== Date: Mon, 20 Nov 2023 15:45:39 +0000 From: Conor Dooley To: Anand Moon Cc: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Icenowy Zheng , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/2] dt-bindings: usb: Add the binding example for the Genesys Logic GL3523 hub Message-ID: <20231120-grinch-upbeat-05f7a32a99fa@spud> References: <20231119023454.1591-1-linux.amoon@gmail.com> <20231119023454.1591-2-linux.amoon@gmail.com> <20231119-phrasing-reverse-bbc1fde515d5@spud> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="i584DEwwEuaJNfQd" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 20 Nov 2023 07:46:02 -0800 (PST) --i584DEwwEuaJNfQd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 19, 2023 at 08:57:28PM +0530, Anand Moon wrote: > Hi Conor, >=20 > On Sun, 19 Nov 2023 at 19:28, Conor Dooley wrote: > > > > On Sun, Nov 19, 2023 at 08:04:50AM +0530, Anand Moon wrote: > > > Add the binding example for the USB3.1 Genesys Logic GL3523 > > > integrates with USB 3.1 Gen 1 Super Speed and USB 2.0 High-Speed > > > hub. > > > > But no comment in the commit message about the new property for the > > "peer hub". $subject saying "dt-bindings: usb: Add the binding example > > for the Genesys Logic GL3523 hub" is misleading when the meaningful > > parts of the patch are unrelated to the example. > > > > > > > > Signed-off-by: Anand Moon > > > --- > > > V3: fix the dt_binding_check error, added new example for Genesys GL3= 523 > > > v2: added Genesys GL3523 binding > > > v1: none > > > --- > > > .../bindings/usb/genesys,gl850g.yaml | 63 +++++++++++++++++= -- > > > 1 file changed, 59 insertions(+), 4 deletions(-) > > > > > > diff --git a/Documentation/devicetree/bindings/usb/genesys,gl850g.yam= l b/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml > > > index ee08b9c3721f..f8e88477fa11 100644 > > > --- a/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml > > > +++ b/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml > > > @@ -9,9 +9,6 @@ title: Genesys Logic USB hub controller > > > maintainers: > > > - Icenowy Zheng > > > > > > -allOf: > > > - - $ref: usb-device.yaml# > > > - > > > properties: > > > compatible: > > > enum: > > > @@ -27,12 +24,44 @@ properties: > > > > > > vdd-supply: > > > description: > > > - the regulator that provides 3.3V core power to the hub. > > > + phandle to the regulator that provides power to the hub. > > > + > > > + peer-hub: > > > + $ref: /schemas/types.yaml#/definitions/phandle > > > + description: > > > + phandle to the peer hub on the controller. > > > > What is this, why is it needed? Please explain it in your commit > > message. > > > Ok, GL3523 integrates Genesys Logic self-developed USB 3.1 Gen 1 > Super Speed transmitter/receiver physical layer (PHY) and USB 2.0 > High-Speed PHY >=20 > peer-hub is used to cross-connect those phy nodes so that it can help > hub power on/off simultaneously. I said please explain it in your commit message, but on reflection I think that would be insufficient. Extending the description to explain what the peer-hub is would be great too. "peer hub on the controller" doesn't seem to make sense to me either, as the peer hub phandle is to another phy, not to the controller. I think that would probably also be resolved by explaining what the peer hub is in a more detailed manner. If this is purely a genesys thing, the property should grow a genesys, prefix also. Cheers, Conor. --i584DEwwEuaJNfQd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZVt/IwAKCRB4tDGHoIJi 0l7WAP4jO2VytV+gaR4Fr/4ZJpmrfQ2P5ysd6CPf71fn0gDBSgEA0EeG15JAP0T2 UF4SNHfWgFn93keokaU5a5twE8yTlQA= =o5XT -----END PGP SIGNATURE----- --i584DEwwEuaJNfQd--