Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp809582rdf; Tue, 21 Nov 2023 18:21:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IF5WEJfykdSuzRmuajUdMRHVW5bkuPd/fUCKpmfx97AAmuh/If7O2E+vtX76s4Td/cIyKAM X-Received: by 2002:a05:6a20:43ac:b0:189:c852:561e with SMTP id i44-20020a056a2043ac00b00189c852561emr1111385pzl.1.1700619699929; Tue, 21 Nov 2023 18:21:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700619699; cv=none; d=google.com; s=arc-20160816; b=gXGpi7ZOcqCJ2ZzgpPbprW8UzrYZ2BLTRjsMmIJlEfA9UvbWpHlDjF/YjtsKbxf/y4 WwT/SE2NyhzzMF3YCVvkOSn60mOPNNIA0UF17ggGpLqJLnruLVf7zXZJ1kKkg0v+pCNB L8TWToce8mUSjXqR6IIE0H4heppNOGAnbbh5GuMfqcYU0Jha7WC0whNG96EKefbj6B/L A5jB2IBMhM1aD8Ym9aNuiFghRlxJ6iI8LnV6UmRP5nwKjnaq1rAicTQLNdXqrJX7iHZm HixtPhtiQB2bwxGNaX5xZN3NCXBD9sTlwbpihcYuwllHUiEq8068yCiIaM7+6zbs+Zvr 4Ntw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=jeGm3fxGNWvBQCvQzvUQ2JuG11fQHIZo42Sf8MQg8+w=; fh=KFCG/ezaTksXUIoT/1LZoA0kz46s9FT1STQJbCDgcHk=; b=A2sFk0aLacieRB06h59QZl3hqposH1cEPpSPw5PKh9GdRXcBdPEi+yVJKFvPjSBtuz eOLqKGpn9J8RU9BPna5cgaaomtvtsAcU7WAhXJxzMfyCyM4fRtXA/nozulVUpRIKRcZ1 nz7F1uQOksBV7sTCLxPzF5nY7+w1EVZIrTtTWat7PMRwfHe+m9rwvSmpa+g4lA7LnErN G0yR6jnqH8BzMcCYBIzpc9+XH3w+fBR5v55ajEegGs6TEqHwjRy76Vha5+XvPc0FkVBO 6ilP1M06Djn2CwqzrHec8pl5+bqw42TufETpdU8ytnihVmshJ+gN99MUWHjiZresBMcY QY3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=AQBZdBC6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id b2-20020a170902b60200b001ce5b7bd150si10895611pls.607.2023.11.21.18.21.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 18:21:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=AQBZdBC6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 037D1809A741; Tue, 21 Nov 2023 18:21:37 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229775AbjKVCV2 (ORCPT + 99 others); Tue, 21 Nov 2023 21:21:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbjKVCV1 (ORCPT ); Tue, 21 Nov 2023 21:21:27 -0500 Received: from mail-ot1-x334.google.com (mail-ot1-x334.google.com [IPv6:2607:f8b0:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75EA3181; Tue, 21 Nov 2023 18:21:23 -0800 (PST) Received: by mail-ot1-x334.google.com with SMTP id 46e09a7af769-6ce2cf67be2so3333324a34.2; Tue, 21 Nov 2023 18:21:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700619683; x=1701224483; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=jeGm3fxGNWvBQCvQzvUQ2JuG11fQHIZo42Sf8MQg8+w=; b=AQBZdBC68Qv94nZTZ/he7carL4QxdgpBvR4yHjeOwfWiJMJsJ38QRn0SygHdPo7xXY xEUL6+onwt2ndGKO10CxtkGkuQwd3i5T2I7CzT5XEz5sUDmJYTWy8TD6ct5V6r6vmBH8 2LuNXcZlgB2cqz6PW35tAMXn/2ACDNhbLqiSnik66VfWN2YMaEGP55cM7K0xA7Sam8iH suFoPqKQITgCMx5BKtqNAuJ6blpEAixb4Y7XqFCk2TRUms3zALdIL2LNhG/BJnZfuqjm Tfvw72XfMN0THpwELEUAIWFjedRM4mPEzaxU+62GhjhxYoIaN35aiEuNeoWJhyNtAXAN aBPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700619683; x=1701224483; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jeGm3fxGNWvBQCvQzvUQ2JuG11fQHIZo42Sf8MQg8+w=; b=mVWtaBj9kXfsB3lLrUIFtwkaqMbVzb6Zixufg3h2xm6DPjKBEqt+i+bJw8uvMdwMu0 OS0lJSkvZD7444XSb23LYh0ibPTpYo9qIErq0I/ZWkLb8cCiK1L3JnDaU4StyGJmuo9a MiiPeh+6Cj2g1RxyFjNTjB+1nehkUZs6XwqFTpRDJjRsxkZVwEP7pBkPnCH1uy+5+gES 7aFOeRZsRWIRm3C4pblVQDE2sXdPiIDhSqmCnRtz7M/ZSftjmn7Utv7KE4O6wlwGukGv ss1ElOf8K3P3nRPJZulaGlcxXVuUMpiwE8VrjcOGAqEe8MeAezWuPZEsdCd3d4wRBcRo TtLg== X-Gm-Message-State: AOJu0Yw4JWOK3ZtyBwmACC4zNCcr4Cz6sfv+KFDEJINSB85MQeWJTV8a sKA4DNJ+YI3coht8P/89IqnGnbuSd8RpinFLFvBMjkyuAW40uA== X-Received: by 2002:a9d:6d04:0:b0:6c4:a65c:f7bb with SMTP id o4-20020a9d6d04000000b006c4a65cf7bbmr1333897otp.33.1700619682728; Tue, 21 Nov 2023 18:21:22 -0800 (PST) MIME-Version: 1.0 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> <20231121-defendant-hemstitch-a728c39b4e7d@spud> In-Reply-To: <20231121-defendant-hemstitch-a728c39b4e7d@spud> From: Anand Moon Date: Wed, 22 Nov 2023 07:51:07 +0530 Message-ID: Subject: Re: [PATCH v3 1/2] dt-bindings: usb: Add the binding example for the Genesys Logic GL3523 hub To: Conor Dooley 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 Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,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 fry.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 (fry.vger.email [0.0.0.0]); Tue, 21 Nov 2023 18:21:37 -0800 (PST) Hi Conor On Tue, 21 Nov 2023 at 22:30, Conor Dooley wrote: > > 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. > This was the response to your comment, it is a generic property "If this is purely a genesys thing, the property should grow a genesys," Please find the link to the schematic of the board which shares the details of the binding example. USB_HUB_GL3523. https://dn.odroid.com/S922X/ODROID-N2/Schematic/odroid-n2_rev0.6_20210121.pdf > > 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. Yes, I will do that. > > Cheers, > Conor. Thanks -Anand