From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 800B12E54A9; Tue, 17 Jun 2025 15:14:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750173241; cv=none; b=doUDiv6qBudSHHGN4/idXrVH37XtKFzIpp+oA/CIUT+fq+AZOT6vhO/ql1k65T8+3eedzptpeVzoWkJq3QRGmSjDnGmaqLlnbwKQAq9JXZGNyb+UnR8kYJ3NP5+RjZmXIT2vVuWdLDy//TI3SmXmd1u1v8zHkMGyi9TZEnW9sI8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750173241; c=relaxed/simple; bh=VzacSK8CHt4963WLrZki0L0yVFovLxHcIRT7RHBkl5g=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rGe6CBaLr6Kvn71rrNUnkK3K1k0QggwnqstIUfgn0Y+8G0SUojVK5+HR95IE2wxx91ee4GhG6UZclp2lK4wuwuIRljEqSM836tQWwIf/ylYuKBAEq2qwAS4mOCDxwEc7faJ7+4Zjxe9jyyLvSS8nq3jtvsxTzkbvY58xEWqYWh4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=h56s71rz; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="h56s71rz" 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 Cc: MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Georgi Djakov , 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 , Daniel Golle , 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 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> 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: <20250616095828.160900-2-linux@fw-web.de> 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 >