Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp385785rdb; Thu, 30 Nov 2023 07:23:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IHSkQ3wleNgROr2M67oonyBE+Q0ui3wCvYixpER10vhMbgsqMgUhlhO8ObRpNgm2deFHul8 X-Received: by 2002:a05:6a00:2999:b0:6cd:edef:4b01 with SMTP id cj25-20020a056a00299900b006cdedef4b01mr1633020pfb.32.1701357786908; Thu, 30 Nov 2023 07:23:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701357786; cv=none; d=google.com; s=arc-20160816; b=JwuNBJ4A5WgxYsShBxGfbnHlurogTAQGO6acK/TfE2DVRuf/eGJGpur/Kzf6W2I3Bi LxDAmBtouoiXot+3S9U2I1LSd54n92R3lVRHTQhdfPJdvcZlQ8K7kHsU4H3TkOjrvJ4q 8hvVkij0tmuR9ff3e/P2mdo1JEgQXUOBfoxTL6BgbkGPoKxbSVYjbagF4h+opeJ5tplw NjhXv0H7bpTU3ebVNIzdzpa64h1vyM2m975+LW4Z6dOrroS0WS1oNWVfv580tXQ7HjIu b3nV4UUmL6iDzmUWDiQ+C32D+pwqqZZCZ8WtYZbk1LQVWJUr3al39dBpHLTbiLkyDiJ6 3dfg== 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=akeka3rUy0tBVoldxPocWKRNSh2W7VUfDEERM0a3ax4=; fh=u70xp9BeiCEvY1rXFByid2g5eDz85oXjXJO9t6pAboY=; b=qSJg9Hg59AEJuk+pyVtQqtv1ydc+ijfwMpOFWue8BNd1XynxEJce8VtD/aP8BuGWCp aD/xVTwfe0aOuUW4NrdmUPjMAkBO+EaN4SbgyIEjJIyfo0d6GhJcnQ/czVZQVlJYBmN8 s46qMO6UH49AOTyVrVxE3exldJYMfVyXG+E/SiXD9xu2PBsi6SMGTrOqXJKAQTgaS1Gd PMekzYkbwPv8SQXDeMVJt/4k7RftscPrCdn2TOvF5UOjn9S2L+++tp/1jRvheGqUd07D hsfLq+NmFFucw3QkqWa7Rj6xDysQ5F5h5uV/SzaDvh/tY2GObSD4mV4bf3iWy+cDgcdP tOgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tH71F1PZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id x20-20020a63fe54000000b005bdfd3a269fsi1451795pgj.581.2023.11.30.07.23.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 07:23:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tH71F1PZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 6448D82C4022; Thu, 30 Nov 2023 07:23:03 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346242AbjK3PWr (ORCPT + 99 others); Thu, 30 Nov 2023 10:22:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346234AbjK3PWq (ORCPT ); Thu, 30 Nov 2023 10:22:46 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D28B10E4 for ; Thu, 30 Nov 2023 07:22:52 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F112BC433C7; Thu, 30 Nov 2023 15:22:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701357772; bh=qkL/traqZYRhreQwWlBq0Fih3eZKxWuxg+IAiO0LgOA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tH71F1PZXOL00uhIYMA+WMCwxITIiKNZ1KskmSoUJiUJMWY9VD5QKEueflTsxdnUl ZOhThyCyJ2adRZEs4xRiqwKRnxNwoFrwS+1GPoDJeAfYymcLiY1GXV29krH5jWdd7A /hiPxou8A0xW2GEQ1iSGg71JZBiuUFSdD3oMLA/yeog3qDSF3mSCHFCgFrSVpxIzAS mTuz523ozWSwy7Vuz9ZVNlNdK4MgR+TmbqTxCHf6dG0oeWuLmCdI+64yICbkm1d5gO KfO1YcygcRcO8WznF1NyEDB+XRMUarOT0cFaOFpRs75+bdO7CQ+FHknqgfkHkzYGSy P9P1+kO32rHaQ== Date: Thu, 30 Nov 2023 15:22:47 +0000 From: Conor Dooley To: Anand Moon Cc: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Icenowy Zheng , Neil Armstrong , linux-amlogic@lists.infradead.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 1/2] dt-bindings: usb: Add the binding example for the Genesys Logic GL3523 hub Message-ID: <20231130-snub-backshift-2f69754cf58f@spud> References: <20231130053130.21966-1-linux.amoon@gmail.com> <20231130053130.21966-2-linux.amoon@gmail.com> <20231130-twig-stoning-58235b3195c8@spud> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="RlRi2l6ZtvVLk88M" Content-Disposition: inline In-Reply-To: <20231130-twig-stoning-58235b3195c8@spud> 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 pete.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 (pete.vger.email [0.0.0.0]); Thu, 30 Nov 2023 07:23:03 -0800 (PST) --RlRi2l6ZtvVLk88M Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 30, 2023 at 03:16:33PM +0000, Conor Dooley wrote: > On Thu, Nov 30, 2023 at 11:01:26AM +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. > >=20 > > For onboard hub controllers that support USB 3.x and USB 2.0 hubs > > with shared resets and power supplies, this property is used to identify > > the hubs with which these are shared. > >=20 >=20 > > [Conor Dooley: upgrade peer-hub description] >=20 > This should not be in the commit message. Otherwise, > Reviewed-by: Conor Dooley >=20 > Cheers, > Conor. >=20 > > Signed-off-by: Anand Moon > > --- > > v5: upgrade peer-hub description : Conor Dooley > > [0] https://www.genesyslogic.com.tw/en/product_view.php?show=3D67 [Bloc= k Diagram] > > v4: Fix the description of peer-hub and update the commit message. > > Schematics of the Odroid N2+ > > https://dn.odroid.com/S922X/ODROID-N2/Schematic/odroid-n2_rev0.6_202101= 21.pdf > > V3: fix the dt_binding_check error, added new example for Genesys GL3523 > > v2: added Genesys GL3523 binding > > v1: none > > --- > > .../bindings/usb/genesys,gl850g.yaml | 65 +++++++++++++++++-- > > 1 file changed, 61 insertions(+), 4 deletions(-) > >=20 > > diff --git a/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml = b/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml > > index ee08b9c3721f..499192ea4074 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 > > =20 > > -allOf: > > - - $ref: usb-device.yaml# > > - > > properties: > > compatible: > > enum: > > @@ -27,12 +24,46 @@ properties: > > =20 > > vdd-supply: > > description: > > - the regulator that provides 3.3V core power to the hub. > > + phandle to the regulator that provides power to the hub. Wait, why is this text changing? I don't see it mentioned anywhere why this is no longer specifically 3.3v Thanks, Conor. > > + > > + peer-hub: > > + $ref: /schemas/types.yaml#/definitions/phandle > > + description: > > + For onboard hub controllers that support USB 3.x and USB 2.0 hubs > > + with shared resets and power supplies, this property is used to = identify > > + the hubs with which these are shared. > > =20 > > required: > > - compatible > > - reg > > =20 > > +allOf: > > + - $ref: usb-device.yaml# > > + - if: > > + properties: > > + compatible: > > + contains: > > + enum: > > + - usb5e3,608 > > + then: > > + properties: > > + peer-hub: false > > + vdd-supply: false > > + reset-gpios: true > > + > > + - if: > > + properties: > > + compatible: > > + contains: > > + enum: > > + - usb5e3,610 > > + - usb5e3,620 > > + then: > > + properties: > > + peer-hub: true > > + vdd-supply: true > > + reset-gpios: true > > + > > additionalProperties: false > > =20 > > examples: > > @@ -49,3 +80,29 @@ examples: > > reset-gpios =3D <&pio 7 2 GPIO_ACTIVE_LOW>; > > }; > > }; > > + > > + - | > > + #include > > + usb { > > + dr_mode =3D "host"; > > + #address-cells =3D <1>; > > + #size-cells =3D <0>; > > + > > + /* 2.0 hub on port 1 */ > > + hub_2_0: hub@1 { > > + compatible =3D "usb5e3,610"; > > + reg =3D <1>; > > + peer-hub =3D <&hub_3_0>; > > + reset-gpios =3D <&gpio 20 GPIO_ACTIVE_LOW>; > > + vdd-supply =3D <&vcc_5v>; > > + }; > > + > > + /* 3.1 hub on port 4 */ > > + hub_3_0: hub@2 { > > + compatible =3D "usb5e3,620"; > > + reg =3D <2>; > > + peer-hub =3D <&hub_2_0>; > > + reset-gpios =3D <&gpio 20 GPIO_ACTIVE_LOW>; > > + vdd-supply =3D <&vcc_5v>; > > + }; > > + }; > > --=20 > > 2.42.0 > >=20 --RlRi2l6ZtvVLk88M Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZWioxwAKCRB4tDGHoIJi 0kyvAP4mrFsSqjulILny2yGh8/2PbF9zjOgQLnavgZb2aA1pOwEAlbokM8AGRXLE vImZQShoC/U9RPHihysDgZlZ1qae1Aw= =xGZx -----END PGP SIGNATURE----- --RlRi2l6ZtvVLk88M--