Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6455142rwl; Mon, 9 Jan 2023 08:32:20 -0800 (PST) X-Google-Smtp-Source: AMrXdXsWegVpyQNf/YY11FEdsLUYvwD4Hn8kGduzJawYqb7ih3Y5Mk2+FZe6Le3tR2hnqH+QWFo1 X-Received: by 2002:a05:6a20:3a84:b0:b5:cc98:153c with SMTP id d4-20020a056a203a8400b000b5cc98153cmr5185427pzh.24.1673281940733; Mon, 09 Jan 2023 08:32:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673281940; cv=none; d=google.com; s=arc-20160816; b=XStI77vAslxxwoHHrRTn+lMUws4VjQMM43rbDdauzW7OB/oD1pjMC7cyE4mgogOK/i NANkId+uWiul/4VER6PMGbF8NJlwlPqmQ2IkkP5rpSbNQagDqUlKD4Z9KIj0BTyHB4DL EI7ZfF5aZcVFHNC3uCP6A9c9bYmJWJcXBpVy4sKP/TirYAxsIY7FYef1+gQSAEMjUtxq xyD1S74POYluhhp25Ir98m5GwJ4Tak9k7rwCuyfbYwleLRaBKfKaJuKD8Mamrq8B2GTg yDuEChDHC4n7StSBgt4iaqON4EsboMJWVN3M3/IbEDw983Cjg569Rj7xn+E2/zDgyZ7/ vObw== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=JL+xfPFDnGNKkrm/hubQpHGy0imJ1B9l3Ypqp6ZRadw=; b=HZCp/JyRWGJ3fX96RBPzt4LoN2sZP3Xwvcda8AZvbp0S2GKd92VCw2cSLAVfzdU8j/ jlSRlA0UeYQ1T4c7ET7M9o9yYrFuoSNt8Hnjxm/6L0Z1ly3qEYmO/6PeLECj8Lb96f1O DDYq7OBArb9fWpi8kf8/F6HgeactGTt4b3z8Hup9fiOVND60CL0INCVnOf9YZe66peeR Tyv5QUmLdluBQTLtqF8iCkPbsGCv27duBe4yhnXvGELjWDYukQtTwF+7uSw6P1f4yU7u uEkKVw+rQb1yZy1E0hHLqwDXAYp/rkQjTNf6MbFhdajuEQbYqcmjvZq7mzF6+dta0qwE 9abg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=IzBN2Aa5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o25-20020a635a19000000b0045131d08c18si10178809pgb.244.2023.01.09.08.32.13; Mon, 09 Jan 2023 08:32:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=IzBN2Aa5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234441AbjAIQ3Z (ORCPT + 53 others); Mon, 9 Jan 2023 11:29:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233757AbjAIQ3J (ORCPT ); Mon, 9 Jan 2023 11:29:09 -0500 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDF22E0BD for ; Mon, 9 Jan 2023 08:29:07 -0800 (PST) Received: by mail-io1-xd33.google.com with SMTP id y205so229422iof.0 for ; Mon, 09 Jan 2023 08:29:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=JL+xfPFDnGNKkrm/hubQpHGy0imJ1B9l3Ypqp6ZRadw=; b=IzBN2Aa5JriGDuRbHEouaLt6DAEoETbGfA0b26eDZIMGVAO7Q8ZA0Y42bRuk626b6k 3P30J5kbreBZUXD6pyaRq5CLFosWwww7N1ba5hw9jWS3ntfm5c9pFKWxc2l6KJXsvKzL FZ5USJVCVyy6gHw4XeC1kpMV1jLSGhvR/yF60= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JL+xfPFDnGNKkrm/hubQpHGy0imJ1B9l3Ypqp6ZRadw=; b=Unskk/QmWecubGWWAJeCi0P4lPxmPxlKEoA9eBKnH4p94JE6GHH3BeZ3XJVDhyQ06s 6DL+6JwUKdP75dr/DNRgQBB+CvmyGcMsGr0Ggv7b9Dm/+k4UdW8k4ft7omvB12pndpCa ERoOoSz4Y6a3us0v2eSGNWy6w/qIDDJ3vxZIlQPgKUU5KCdSXFmuo4gbJMIFp6BxXeD2 z6m+YWu8yp6dIupiEj9AnpmGPUod04kWxq7Y6yeaJqxd2zHhmlZZ7sb1PrmzCV4EpkDC IvEzRK7yHgUwUis3rXfr+Ldil7Kgm1Dz5jhW07hi+/Cwr8kwMGmlX8gW52337MbX6HLG +9sA== X-Gm-Message-State: AFqh2kppRHywhh78K68SIk58iKRLoCfb+dQH9NAUUqZo5+sIDPzV7ihg 6GvD3fm5MS5mlwlSEeSinG0xlg== X-Received: by 2002:a05:6602:2e91:b0:6df:df5b:f86 with SMTP id m17-20020a0566022e9100b006dfdf5b0f86mr65662694iow.8.1673281747269; Mon, 09 Jan 2023 08:29:07 -0800 (PST) Received: from localhost (30.23.70.34.bc.googleusercontent.com. [34.70.23.30]) by smtp.gmail.com with UTF8SMTPSA id r8-20020a92ac08000000b0030c68d38255sm2748135ilh.38.2023.01.09.08.29.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Jan 2023 08:29:06 -0800 (PST) Date: Mon, 9 Jan 2023 16:29:06 +0000 From: Matthias Kaehlcke To: Anand Moon Cc: Icenowy Zheng , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , linux-amlogic@lists.infradead.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 01/11] dt-bindings: usb: Add device id for Genesys Logic hub controller Message-ID: References: <20221228100321.15949-1-linux.amoon@gmail.com> <20221228100321.15949-2-linux.amoon@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 07, 2023 at 08:31:23PM +0530, Anand Moon wrote: > Hi Matthias, > > Thanks for the review comments > > On Thu, 5 Jan 2023 at 04:25, Matthias Kaehlcke wrote: > > > > On Wed, Dec 28, 2022 at 03:59:17PM +0530, Anand Moon wrote: > > > Hi Icenowy, > > > > > > Thanks for the review comments > > > > > > On Wed, 28 Dec 2022 at 15:38, Icenowy Zheng wrote: > > > > > > > > 在 2022-12-28星期三的 10:03 +0000,Anand Moon写道: > > > > > Add usb hub device id for Genesys Logic, Inc. GL852G-OHG Hub USB 2.0 > > > > > root hub and Genesys Logic, Inc. GL3523-QFN76 USB 3.1 root hub. > > > > nit: QFN 76 is one of the package options of the GL3523, I expect this > > binding to be applicable as well for other GL3523 variants, so I'd suggest > > to drop the suffix. Not sure what 'OHG' stands for, the Genesys website > > only lists a GL852G hub with different package types (none of them 'OHG'), > > so I'd say drop the suffix unless it is known that 'OHG' variant uses > > a different product id than other GL852G variants > > > > Yes, I will be sure to do this reference, I just picked these from the > board schematics. > > > > > > > > > > > Signed-off-by: Anand Moon > > > > > --- > > > > > Documentation/devicetree/bindings/usb/genesys,gl850g.yaml | 2 ++ > > > > > 1 file changed, 2 insertions(+) > > > > > > > > > > diff --git > > > > > a/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml > > > > > b/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml > > > > > index a9f831448cca..db009f3ef438 100644 > > > > > --- a/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml > > > > > +++ b/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml > > > > > @@ -16,6 +16,8 @@ properties: > > > > > compatible: > > > > > enum: > > > > > - usb5e3,608 > > > > > + - genesys,usb5e3,610 > > > > > + - genesys,usb5e3,620 > > > > > > > > I don't think genesys, is needed here because usb5e3 means USB VID > > > > 0x05e3, which is already linked to Genesys Logic. > > > > > > > > > > Ok, I added this as genesys, is it part of the manufacturer or vendor name > > > which is most commonly used for adding vendor-specific compatible strings. > > > > That doesn't follow the generic USB binding, please drop 'genesys,'. > > > > Yes, I will drop this in the next version. > > > > > In addition, the control logic of these two hubs are needed to be > > > > verified. > > > > > > We were using gpio-hog to reset the USB hub, so now switch to USB onboard hub > > > > > > > > > > > And what's the status of the companion hub of the USB3 hub? Is it > > > > really a USB3-only hub, or is its USB2 part just equal to another USB3 > > > > hub? > > > > > > > usb5e3,610 is USB 2.0 port hub present on Odroid C1 and Odroid C2 board > > > > > > usb5e3,620 is USB 3.1 port hub present on Odroid N2. > > > > Like Icenowy I would expect the GL3523 to provide also a 2.0 hub. > > > > What is the output of 'lsusb' on the Odroid N2? > > alarm@odroid-n2:~$ lsusb -tv > /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M > ID 1d6b:0003 Linux Foundation 3.0 root hub > |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M > ID 05e3:0620 Genesys Logic, Inc. GL3523 Hub > /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/2p, 480M > ID 1d6b:0002 Linux Foundation 2.0 root hub > |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M > ID 05e3:0610 Genesys Logic, Inc. Hub Thanks. So it looks like 0x0610 is the product id of the USB 2.0 portion of the GL3523. From this patch it seems the GL852G uses the same product id?