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 63FBD2A1BA; Sun, 8 Jun 2025 21:52:21 +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=1749419543; cv=none; b=QJsmgs1yaXPh5kTAYCUX64MCItRNL6T8hM+HLiaK8p4rRxYp6d8TyIkEkifx0y9ltdBC/YR0oW6N5n7yRNaxaIbzzh0m23NwvXcrodDNMZUDStTdyVMPZtDK1TW3awTW2n+AKioE5/8jOua+vvwXihK1zDCrrWUfPXYrjSRerCw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749419543; c=relaxed/simple; bh=5cmtpXM42mjrBHj5zxSMEEhpaxOYRy3DT3XllnzWDtY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=YZGpFB2Z7PLs05IXj6OlXmfwhRkutUejZX40gnu0jAxDy4Si0Mxv0JsHYJ2qwCf1SuGQ215WVZW5+9RtASKStlijJm1KOGs1l3gW0Jw9OAAHIYJ7YKYCjB7M9q6T51rTXm6lvRR8wrT1+8iI+UHX7Tw4A8iBD+3tXuModExNek4= 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.98.2) (envelope-from ) id 1uONMs-000000006CU-2z4t; Sun, 08 Jun 2025 21:24:32 +0000 Date: Sun, 8 Jun 2025 23:24:15 +0200 From: Daniel Golle To: Frank Wunderlich Cc: MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andrew Lunn , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Frank Wunderlich , Jia-Wei Chang , Johnson Wang , =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= , Landen Chao , DENG Qingfang , Sean Wang , Lorenzo Bianconi , Felix Fietkau , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH v3 06/13] arm64: dts: mediatek: mt7988: add basic ethernet-nodes Message-ID: References: <20250608211452.72920-1-linux@fw-web.de> <20250608211452.72920-7-linux@fw-web.de> 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: <20250608211452.72920-7-linux@fw-web.de> On Sun, Jun 08, 2025 at 11:14:39PM +0200, Frank Wunderlich wrote: > From: Frank Wunderlich > > Add basic ethernet related nodes. > > Mac1+2 needs pcs (sgmii+usxgmii) to work correctly which will be linked > later when driver is merged. > > Signed-off-by: Daniel Golle > Signed-off-by: Frank Wunderlich > --- > arch/arm64/boot/dts/mediatek/mt7988a.dtsi | 124 +++++++++++++++++++++- > 1 file changed, 121 insertions(+), 3 deletions(-) > > diff --git a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi > index 560ec86dbec0..ee1e01d720fe 100644 > --- a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi > + > + eth: ethernet@15100000 { > + compatible = "mediatek,mt7988-eth"; > + reg = <0 0x15100000 0 0x80000>, > + <0 0x15400000 0 0x200000>; > + interrupts = , > + , > + , > + ; It would be better to use MT7988 with RSS and add the additional interrupts for doing so before introducing support for this SoC without RSS. In this way we would avoid having to deal with keeping the DT support compatible with the old (ie. 4 IRQs) way while also supporting the RSS-way (with a total of 8 IRQs). Alternatively, if we really want to support MT7988 with and without RSS we should use 'interrupt-names' instead of unnamed interrupts imho.