Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp530977rdf; Tue, 21 Nov 2023 09:01:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IEKrWG6tMsKIAQaMBEkVUVyHLQ1M9bhq1REYt+rU1X3FNn7fX2RWTkVDHTMZVfLqhuuLTt3 X-Received: by 2002:a17:903:22cf:b0:1cf:696b:1a7f with SMTP id y15-20020a17090322cf00b001cf696b1a7fmr5243079plg.0.1700586100197; Tue, 21 Nov 2023 09:01:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700586100; cv=none; d=google.com; s=arc-20160816; b=gAS1mhhcvCD/R1GnKMmKIy++cse2Oh2XrU3W57osfgNVtFeIItRVDrG+Se4Pp/wgtM Jpb3pG6lELAfmXNd97gaEc8V9+fzZJzuGme+Hzf3ZFN2WIzySMmIYkwdDabQ3dBBSRsK mYKnVNnNTdV+lInwoxs3jSbm8wNTWNrsRYsJJOQLBU4cXGYFOudJ8fnXSPeRxg1NYJ34 k60QmA17cFwEyAPPdPmtEdqWE3gC8KEljjxqHB+7OVl10ey94mUVnAJqvY4T7clqzt8I R7slKtuokj80aA3a4tuVrfC102uoke9gfwZOpMNVUYmEssuvXlXNVH+AaSve4c4UXiA2 JTUA== 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=He9jxwfMKrmbM7nbD6o6zrprxk1zIR9DWzBEhyXkRp4=; fh=EuaAg/95ilJnTWRIZueiTXpk5kG8OHwXTYRMbMdC2SM=; b=E89JKfyB01tKv2k/uam8iPyb7dB1EnqtZ6i7GhDVLh4FpCKFjzkhZ5R8kzE8G38Grh QkYiBkT+c8ELmjZU3nnaunXxdmYj8cJjl23f6AJCuJoKLTgNxzNT+TIjN4vXRAepEdL4 WyrA7sDEqkOxkA0NRYWNVd/mr4YrNX0ZK2Bp45RZfuWRlUO6Psl7NVpa6y0ja7LspqGK 2qzmQftuOaYdARiync1IGcZXMq1ZdqRddPyvxhm6vhJn4EyZwkdRtjAXFYSzmoZlF0R5 39khfDAAR3gMN6ZSZdPqwALiiFjwN2fxoW/c8e3/lLqYXO+v4rnp2PfzGsXUTttLUwzY TDwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LmtlI5Q9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id i8-20020a17090332c800b001cc6afede42si11059721plr.354.2023.11.21.09.01.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 09:01:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LmtlI5Q9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id 615508083B3B; Tue, 21 Nov 2023 09:00:28 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230399AbjKURAH (ORCPT + 99 others); Tue, 21 Nov 2023 12:00:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229566AbjKURAF (ORCPT ); Tue, 21 Nov 2023 12:00:05 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D56E113 for ; Tue, 21 Nov 2023 09:00:02 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 043EAC433C8; Tue, 21 Nov 2023 16:59:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700586001; bh=OrMmN4aABkmc7mVV4jQIdj8KovDI4fIKhccVEgfoejk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LmtlI5Q9xMShTeJ6ggtOMtfC+xVWvdAv5jkPVtKZ24GmwLMdZfDckSX2BPuH9JRuW UU+DkoQakzyrWIPDwgkqzGKVkE8A7BprdWXO/86zIa8kOFCacGzlmb3tvYgs41JqIU iL0OCH19efzNE5ZzX1E7u4AKp7/YrIu6i16tM6/PfNrrD1ETJ2B2HOv/eYnKZM43Pm r4gGpSjvUGLfxJ8qN5FZ1LuCMax4rAMphf+O5+aIEqStVmTeW/HoGSx4tGIbmMMjne qwJtnh2sTJdsYdhVZhrbnB0LOn2NRJq3yAyMRgT6KsagSEQZ6uBZDmX+RRDecp7oZS AB6bAaow1qHyA== Date: Tue, 21 Nov 2023 16:59:57 +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: <20231121-defendant-hemstitch-a728c39b4e7d@spud> References: <20231119023454.1591-1-linux.amoon@gmail.com> <20231119023454.1591-2-linux.amoon@gmail.com> <20231119-phrasing-reverse-bbc1fde515d5@spud> <20231120-grinch-upbeat-05f7a32a99fa@spud> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FOgsZlX/pgPygzA3" 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 agentk.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 (agentk.vger.email [0.0.0.0]); Tue, 21 Nov 2023 09:00:28 -0800 (PST) --FOgsZlX/pgPygzA3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Nov 21, 2023 at 09:36:37AM +0530, Anand Moon wrote: > On Mon, 20 Nov 2023 at 21:15, Conor Dooley wrote: > > On Sun, Nov 19, 2023 at 08:57:28PM +0530, Anand Moon wrote: > > > 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. > > > > > > > > > + 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 > > > > > > 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. > > > No, some USB Hub have combined phy for USB 3.x and USB 2.0 and have common > reset-gpios and power supply, peer-hub node helps connect the USB controller and > bring up the USB hub. I don't know what this is a response to. > I was waiting for more feedback on these changes. > Once it's ok I will update with proper the commit message in v4. And the property description too, so that a reader can understand how to implement it. Cheers, Conor. --FOgsZlX/pgPygzA3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZVziDQAKCRB4tDGHoIJi 0uLyAP0XacgZ4YIqCPBG2yQQt0anbyYpcMvqyLcwj+XJbNqzogD/fU7dUFH+dWnN K1As/KVRhQar29x35Q7tsbiDGctVfQI= =ozYs -----END PGP SIGNATURE----- --FOgsZlX/pgPygzA3--