From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C91FE253932; Sat, 21 Mar 2026 19:58:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.142.180.65 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774123100; cv=none; b=TllsTSGH3gETJd4fDc9oKq9XTfuAMmltmUzrVJ+1W6amwr1pAn2TW77U/42FAKUKWvr335oKTkTxrgK7fpEh7jE3FggNkcHpDRu/OPveLsYT/Tidh1xF6DVYItVIT1bcCuWe/i5g6yFxV1OcRxVWkHXY7IhmdZn3GXK4nt/qhLg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774123100; c=relaxed/simple; bh=a7AXLFxq4/Tc+kA0yTxLBTleu4PLSeVGFcwMoHNJTTo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=B4jHGBIkNhLeJ55KXlg+s+MxwDfpnulXg3xI6T8mEbizLL38PFDSM91cjcLv6gCWVhVJFi9dVwwE35q7ZrmdQqqGm50uds5Ibu99fuIetvjGFmzfcDmcJMOGyZoEAEGZvqwaKfjHxwTCMxWy+iaJWO6Hs+vanN0qJss+p+MQFbQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org; spf=pass smtp.mailfrom=makrotopia.org; arc=none smtp.client-ip=185.142.180.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=makrotopia.org Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.99) (envelope-from ) id 1w42Se-000000000nk-2rWU; Sat, 21 Mar 2026 19:58:16 +0000 Date: Sat, 21 Mar 2026 19:58:13 +0000 From: Daniel Golle To: Joris Vaisvila Cc: netdev@vger.kernel.org, horms@kernel.org, pabeni@redhat.com, kuba@kernel.org, edumazet@google.com, davem@davemloft.net, olteanv@gmail.com, Andrew Lunn , devicetree@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley Subject: Re: [RFC v3 1/4] dt-bindings: net: dsa: add MT7628 ESW Message-ID: References: <20260321194340.2140783-1-joey@tinyisr.com> <20260321194340.2140783-2-joey@tinyisr.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260321194340.2140783-2-joey@tinyisr.com> On Sat, Mar 21, 2026 at 09:43:37PM +0200, Joris Vaisvila wrote: > Add bindings for MT7628 SoC's Embedded Switch. > > Signed-off-by: Joris Vaisvila > [...] > diff --git a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7628-esw.yaml b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7628-esw.yaml > new file mode 100644 > index 000000000000..5955c07a1be7 > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7628-esw.yaml > [...] > + > + mdio: > + $ref: /schemas/net/mdio.yaml# Why would anyone define the MDIO bus or PHYs therein? - PHY addresses match port addresses - Only C22 operations are used - No reasonable way to connect any external PHYs => relying on ds->user_mii_bus, or even just defining phy_read and phy_read ops in struct dsa_switch_ops should be sufficient? Unless you need the PHYs in DT, eg. to define PHY LEDs... But that can then come later once you actually add support for that. (netdev maintainer folks: correct me if I'm wrong) > [...] > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + label = "swp0"; Do not add labels in binding example, remove them from all ports.