From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EE027CD4851 for ; Fri, 15 May 2026 09:12:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=qVLuPSwVempVOh4OjB6BMpRx1NMTNlQPkqfhkemv5r0=; b=ey2E4eoRAs2VZ0UiK0OnY7RSp0 EsjGkuiT6vM8/19Bh8rD1vudPlbXmkA4UduermK6nQcdniYx4tXydm9N990YO9219If/Hx5tOqv88 5ER+l4oPm+YL5j7RtX2q6b17eBcBQvReHmdKV5Q3gr1uBk6ZhrHwANYr/T12lPIy7rT925GMnnSOY VV0n9KS+23J6p4Sd+TwZ2seN7zOkI56vyUvbaZKIEz4rBpaey4I0vxXSvHE7VZQ+eEw3hGsSXqBnb lGRewHRa9fZOXcgcWBVvE6dOBeg87OWIFF1lNHsrMJbdUTsfV+5FfmFfsk/Lrs/dHeXwuRTdtL2dT xx6+iu+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wNoaV-00000007r1r-31b1; Fri, 15 May 2026 09:12:07 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wNoaT-00000007r1H-21eC; Fri, 15 May 2026 09:12:07 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 30E0542A9B; Fri, 15 May 2026 09:12:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B8D50C2BCB0; Fri, 15 May 2026 09:12:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1778836324; bh=ezInJyFm/d7b/zaAGKXD/lqLjaLONJlsN86X11bWh9I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dLeGmsfC42LmUDWjMf22yS8ryXFBK3vitMGaWOkpBa7G1omlyYY2fM7uSiv9gkZQi z1gjt0dJl6Q9G+PdpJby27SceI9nJRtTw07Q0jbkHqik1WyMPysHoRkkbvElLPvaC+ wQU3yCrKOYSBeev1ZVhMP545xJVWernWYlLBboa4xapfiDpM+AYe2DHwcCYZsbYHMX UGmDx7bj3Xvyt53FNtS2jkYjVUMVd+CnVjxc+5lmS4hEWhE7nh/i9+2WtBYFlSDJM8 DNMrNPmSQqy18YShS05KIHUQ9f0kMdxTBeZTDQeH4zsVv6uQkHqpx5/D89qtE9LKFA eR/FYsG1SKqlQ== Date: Fri, 15 May 2026 11:12:00 +0200 From: Lorenzo Bianconi To: Rob Herring Cc: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Krzysztof Kozlowski , Conor Dooley , Christian Marangi , Benjamin Larsson , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, netdev@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH net-next v6 01/12] dt-bindings: net: airoha: Add EN7581 ethernet-ports properties Message-ID: References: <20260511-airoha-eth-multi-serdes-v6-0-c899462c4f75@kernel.org> <20260511-airoha-eth-multi-serdes-v6-1-c899462c4f75@kernel.org> <20260514140130.GA257001-robh@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0BJ5H8Z2afeCFdbr" Content-Disposition: inline In-Reply-To: <20260514140130.GA257001-robh@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260515_021205_601152_D15FF53A X-CRM114-Status: GOOD ( 23.37 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org --0BJ5H8Z2afeCFdbr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > On Mon, May 11, 2026 at 12:49:27PM +0200, Lorenzo Bianconi wrote: > > EN7581 and AN7583 SoCs support connecting multiple external SerDes to G= DM3 > > or GDM4 ports via a hw arbiter that manages the traffic in a TDM manner. > > As a result multiple net_devices can connect to the same GDM{3,4} port > > and there is a theoretical "1:n" relation between GDM ports and > > net_devices. > > Introduce the ethernet-port property in order to model a given net_devi= ce > > that is connected via the external arbiter to the GDM{3,4} port (that > > is represented by the ethernet property. Please note GDM1 or GDM2 does = not > > support the connection with the external arbiter and are represented > > by ethernet property. > >=20 > > Signed-off-by: Lorenzo Bianconi > > --- > > .../devicetree/bindings/net/airoha,en7581-eth.yaml | 64 ++++++++++++++= +++++++- > > 1 file changed, 63 insertions(+), 1 deletion(-) > >=20 > > diff --git a/Documentation/devicetree/bindings/net/airoha,en7581-eth.ya= ml b/Documentation/devicetree/bindings/net/airoha,en7581-eth.yaml > > index fbe2ddcdd909..642f300c0945 100644 > > --- a/Documentation/devicetree/bindings/net/airoha,en7581-eth.yaml > > +++ b/Documentation/devicetree/bindings/net/airoha,en7581-eth.yaml > > @@ -130,6 +130,50 @@ patternProperties: > > maximum: 4 > > description: GMAC port identifier > > =20 > > + '#address-cells': > > + const: 1 >=20 > blank line ack, I will fix it in v7. >=20 > > + '#size-cells': > > + const: 0 > > + > > + allOf: > > + - if: > > + properties: > > + reg: > > + contains: > > + items: > > + - enum: > > + - 3 > > + - 4 > > + then: > > + properties: > > + '#address-cells': > > + const: 1 > > + '#size-cells': > > + const: 0 >=20 > Why do you have these twice? Drop this one. ack, I will fix it in v7. >=20 > > + > > + patternProperties: > > + "^ethernet-port@[0-5]$": > > + type: object > > + unevaluatedProperties: false > > + $ref: ethernet-controller.yaml# > > + description: External ethernet port ID available on the = GDM port > > + > > + properties: > > + compatible: > > + const: airoha,eth-port > > + > > + reg: > > + maxItems: 1 >=20 > Instead, 'maximum: 5'. ack, I will fix it in v7. >=20 > > + description: External ethernet port identifier > > + > > + required: > > + - reg > > + - compatible > > + > > + required: > > + - "#address-cells" > > + - "#size-cells" > > + > > required: > > - reg > > - compatible > > @@ -191,9 +235,27 @@ examples: > > #address-cells =3D <1>; > > #size-cells =3D <0>; > > =20 > > - mac: ethernet@1 { > > + mac1: ethernet@1 { >=20 > Just drop unused labels. ack, I will fix it in v7. Regards, Lorenzo >=20 > > compatible =3D "airoha,eth-mac"; > > reg =3D <1>; > > }; > > + > > + mac4: ethernet@4 { > > + compatible =3D "airoha,eth-mac"; > > + reg =3D <4>; > > + > > + #address-cells =3D <1>; > > + #size-cells =3D <0>; > > + > > + ethernet-port@0 { > > + compatible =3D "airoha,eth-port"; > > + reg =3D <0>; > > + }; > > + > > + ethernet-port@1 { > > + compatible =3D "airoha,eth-port"; > > + reg =3D <1>; > > + }; > > + }; > > }; > > }; > >=20 > > --=20 > > 2.54.0 > >=20 --0BJ5H8Z2afeCFdbr Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQTquNwa3Txd3rGGn7Y6cBh0uS2trAUCagbjYAAKCRA6cBh0uS2t rOXiAP44pwN0k6371R9brljGliJaHzd+jLmOlP+Fz+duEXskIwEAx58Rf002P7nU Tst7hPK0DwlRxEsE9KgSF4NcFS/08A8= =EZ9T -----END PGP SIGNATURE----- --0BJ5H8Z2afeCFdbr--