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 CAA0DC71136 for ; Tue, 17 Jun 2025 17:11:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To: Content-Type:MIME-Version:References:Message-ID:Subject: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=9s2dyGPNLxaRzqeYJTVLCMecCVoqT9XB6FQqbhLwfD0=; b=VSdCTUgjXOAmTQzkwxjEZy3M4v T9vMuzcjGyNJfbd9AIhGA+fb5/NGKS2l8zANWeUECY0IFT6yMaUe4geKLHv0jloZyQgQI4noQ3xIq +Psnf4WS38xhtucS9p68nFR5ypeTCJNX23gLqr1QpdI89dSTp7Ej/nwpNH10GXqyUruAUQuiHFQmq BW6eRaAchtrFhNF74+BTbXccbEcmvPVsB1PwE19wCmQt+rMMm8kimcXTj4H9NVKyV3c/YnNnC1Ggj VI8sdEi0QD+Kl+B85O6rn7aZjOXM6jUxJjfdY/SLCjWIK44TU08RlsGcghCBzzXQRbQA3JMxSkRJS oFiIIzmA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uRZqI-00000007ygj-1R4C; Tue, 17 Jun 2025 17:11:26 +0000 Received: from nyc.source.kernel.org ([2604:1380:45d1:ec00::3]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uRY0f-00000007iJB-1A2d; Tue, 17 Jun 2025 15:14:02 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 57987A51498; Tue, 17 Jun 2025 15:14:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A8F4EC4CEE7; Tue, 17 Jun 2025 15:13:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1750173240; bh=VzacSK8CHt4963WLrZki0L0yVFovLxHcIRT7RHBkl5g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=h56s71rzs/udGDVL1EShezKp0igc+0Rne8OItAUMPt/V+imFOpByZva5b6rNSPCPz x10s7tra/R4mERRgf1U6LZdeQuS0OjGghdedHAzChpkjI4cmakcBFle+SkXx+xKxO3 fQEQ6CsdJ0QtyeRFsfnzAkg34fORkchNKKRSmoBWH6E1VgFnVavZK75gAUYGoE0sms KN0t3zoB/6qZ2Qm+4xkeFhn8DBLPh4Y5NLk0NUNI2c5YktuwVjsmUFIaAoxRA9pFKF WMuWczHQy+H+fLL+0dnlFXqnt0zphLrMZa092gk7WuVwIhvxN7cNTHhHH/0/fPX3Xd jtgAQcoYn0Yhg== Date: Tue, 17 Jun 2025 10:13:54 -0500 From: Rob Herring To: Frank Wunderlich Subject: Re: [PATCH v4 01/13] dt-bindings: net: mediatek,net: update for mt7988 Message-ID: <20250617151354.GA2392458-robh@kernel.org> References: <20250616095828.160900-1-linux@fw-web.de> <20250616095828.160900-2-linux@fw-web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250616095828.160900-2-linux@fw-web.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250617_081401_444987_92ABCD69 X-CRM114-Status: GOOD ( 19.05 ) 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: , Cc: Andrew Lunn , Landen Chao , linux-kernel@vger.kernel.org, Eric Dumazet , linux-pm@vger.kernel.org, Chanwoo Choi , MyungJoo Ham , Johnson Wang , Jakub Kicinski , Paolo Abeni , Lorenzo Bianconi , devicetree@vger.kernel.org, Conor Dooley , Sean Wang , DENG Qingfang , linux-mediatek@lists.infradead.org, Matthias Brugger , Jia-Wei Chang , linux-arm-kernel@lists.infradead.org, AngeloGioacchino Del Regno , =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= , netdev@vger.kernel.org, Daniel Golle , Kyungmin Park , Georgi Djakov , Krzysztof Kozlowski , Vladimir Oltean , "David S. Miller" , Felix Fietkau Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org On Mon, Jun 16, 2025 at 11:58:11AM +0200, Frank Wunderlich wrote: > From: Frank Wunderlich > > Update binding for mt7988 which has 3 gmac and 2 reg items. > > With RSS-IRQs the interrupt max-items is now 6. Add interrupt-names > to make them accessible by name. > > Signed-off-by: Frank Wunderlich > --- > v4: > - increase max interrupts to 8 because of RSS/LRO interrupts But the schema says 6? > - dropped Robs RB due to this change > - allow interrupt names > - add interrupt-names without reserved IRQs on mt7988 > this requires mtk driver patch: > https://patchwork.kernel.org/project/netdevbpf/patch/20250616080738.117993-2-linux@fw-web.de/ > > v2: > - change reg to list of items > --- > .../devicetree/bindings/net/mediatek,net.yaml | 28 ++++++++++++++++--- > 1 file changed, 24 insertions(+), 4 deletions(-) > > diff --git a/Documentation/devicetree/bindings/net/mediatek,net.yaml b/Documentation/devicetree/bindings/net/mediatek,net.yaml > index 9e02fd80af83..f8025f73b1cb 100644 > --- a/Documentation/devicetree/bindings/net/mediatek,net.yaml > +++ b/Documentation/devicetree/bindings/net/mediatek,net.yaml > @@ -28,7 +28,10 @@ properties: > - ralink,rt5350-eth > > reg: > - maxItems: 1 > + items: > + - description: Register for accessing the MACs. > + - description: SoC internal SRAM used for DMA operations. > + minItems: 1 > > clocks: > minItems: 2 > @@ -40,7 +43,11 @@ properties: > > interrupts: > minItems: 1 > - maxItems: 4 > + maxItems: 6 > + > + interrupt-names: > + minItems: 1 > + maxItems: 6 > > power-domains: > maxItems: 1 > @@ -348,7 +355,17 @@ allOf: > then: > properties: > interrupts: > - minItems: 4 > + minItems: 2 > + > + interrupt-names: > + minItems: 2 > + items: > + - const: tx > + - const: rx > + - const: rx-ring0 > + - const: rx-ring1 > + - const: rx-ring2 > + - const: rx-ring3 > > clocks: > minItems: 24 > @@ -381,8 +398,11 @@ allOf: > - const: xgp2 > - const: xgp3 > > + reg: > + minItems: 2 > + > patternProperties: > - "^mac@[0-1]$": > + "^mac@[0-2]$": > type: object > unevaluatedProperties: false > allOf: > -- > 2.43.0 >