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 4A670C54ED1 for ; Sat, 28 Jun 2025 09:20:21 +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:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=r/pxDHLdKM59vQwtrSmRPlY+HDheivtQ/80IDfz7MYk=; b=tJmg0KvMlKGrYblLXbhTCyRchr docqqiEhssTqfDIFdg3ezPapW27NsokgE3TPAyTChzR2RShT2H/HHrp09vvjx30Er3bItPReRu5h2 u607mHkT5J2t05ay3V/+36j2WEQbXEkVFwV3DInC/UpqzVzrpR6Gamm+8yv9/NlKbuzFHO39JLk/o ryxkM9BrEm6YWyRLefCPd0TMY12BZKeGXUeJQao4pq+2Q5rmoiXJYKaDqFa7PjwIg7ZgqlctcWDz9 TrLdp0+yoEFe7FjwkDQWkCGln/AZoYWckuu0Us9N4dSMqzxsNUwvL9rVIAsf94LoZU6slqonYusfI Enw6Iq1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uVRjL-0000000GcV0-2cYF; Sat, 28 Jun 2025 09:20:15 +0000 Received: from mxout3.routing.net ([2a03:2900:1:a::8]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uVRaJ-0000000GbDq-0LmE; Sat, 28 Jun 2025 09:10:57 +0000 Received: from mxbulk.masterlogin.de (unknown [192.168.10.85]) by mxout3.routing.net (Postfix) with ESMTP id 33C3D61653; Sat, 28 Jun 2025 09:10:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1751101851; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=r/pxDHLdKM59vQwtrSmRPlY+HDheivtQ/80IDfz7MYk=; b=NlXU94fuD7PZgRpdcwnXLnEy7O21mBgpj6X5gUNpSNwEesWqQ0C+0SLeB9g3e16ZLvgWVf ltW3KitRagMYlYfgOVw5/fouLgDwoMwmr3+G1POIYx7dF9tyWo2r18K1WDI/1uXCcwbDmH UbA767+i1qWtf7alV8ZhRXo0VrATRR8= Received: from frank-u24.. (fttx-pool-217.61.150.139.bambit.de [217.61.150.139]) by mxbulk.masterlogin.de (Postfix) with ESMTPSA id CD4B61226F5; Sat, 28 Jun 2025 09:10:50 +0000 (UTC) From: Frank Wunderlich To: 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 Cc: Frank Wunderlich , Johnson Wang , =?UTF-8?q?Ar=C4=B1n=C3=A7=20=C3=9CNAL?= , 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: [PATCH v6 02/15] dt-bindings: net: mediatek,net: allow irq names Date: Sat, 28 Jun 2025 11:10:26 +0200 Message-ID: <20250628091043.57645-3-linux@fw-web.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250628091043.57645-1-linux@fw-web.de> References: <20250628091043.57645-1-linux@fw-web.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250628_021055_288356_3D4771D8 X-CRM114-Status: UNSURE ( 9.67 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Frank Wunderlich In preparation for MT7988 and RSS/LRO allow the interrupt-names property. Also increase the maximum IRQ count to 8 (4 FE + 4 RSS), but set boundaries for all compatibles same as irq count. Signed-off-by: Frank Wunderlich --- v6: new patch splitted from the mt7988 changes --- Documentation/devicetree/bindings/net/mediatek,net.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/net/mediatek,net.yaml b/Documentation/devicetree/bindings/net/mediatek,net.yaml index 74a139000f60..6672db206b38 100644 --- a/Documentation/devicetree/bindings/net/mediatek,net.yaml +++ b/Documentation/devicetree/bindings/net/mediatek,net.yaml @@ -28,8 +28,7 @@ properties: - ralink,rt5350-eth reg: - items: - - description: Register for accessing the MACs. + maxItems: 1 clocks: minItems: 2 @@ -67,10 +66,6 @@ properties: - const: gmac - const: ppe - sram: - $ref: /schemas/types.yaml#/definitions/phandle - description: phandle to mmio SRAM - mediatek,ethsys: $ref: /schemas/types.yaml#/definitions/phandle description: @@ -423,7 +418,7 @@ allOf: - const: xgp3 patternProperties: - "^mac@[0-2]$": + "^mac@[0-1]$": type: object unevaluatedProperties: false allOf: -- 2.43.0 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 5178BC7EE32 for ; Sat, 28 Jun 2025 09:20:17 +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: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:To:From:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=r/pxDHLdKM59vQwtrSmRPlY+HDheivtQ/80IDfz7MYk=; b=06o0rJwTbhk/3n CSIBAAwyoIDZh3x2jZNrLuLxHk209v6dWFo/MevdDrHRRJ8COmrk6qoIhRxsiImdGIXlfDKuXTTG5 lZ8yKDHAt0bzJtPGIrxmz/lpUfA2uRMPsa3pryjGd2zmCF5UFzgU26bdh88WNBmGhMlazAX6unZct 1vmR1j6jhKlUePR37aSDyzXepnyMOT0zJW9Y7KC26cJo5xIHTkjuov3ndNbrVzIRw/jNKCX2dRwwa yQXOQ70ToOpTQJoFIetKM77wZW4ACVy68zz5vSakINE+GyINg55mLuT0PxWG3xO2v0BoYGiMrd/F2 TKzHcpV/pRsnRz0HL69A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uVRjM-0000000GcVh-130Z; Sat, 28 Jun 2025 09:20:16 +0000 Received: from mxout3.routing.net ([2a03:2900:1:a::8]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uVRaJ-0000000GbDq-0LmE; Sat, 28 Jun 2025 09:10:57 +0000 Received: from mxbulk.masterlogin.de (unknown [192.168.10.85]) by mxout3.routing.net (Postfix) with ESMTP id 33C3D61653; Sat, 28 Jun 2025 09:10:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1751101851; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=r/pxDHLdKM59vQwtrSmRPlY+HDheivtQ/80IDfz7MYk=; b=NlXU94fuD7PZgRpdcwnXLnEy7O21mBgpj6X5gUNpSNwEesWqQ0C+0SLeB9g3e16ZLvgWVf ltW3KitRagMYlYfgOVw5/fouLgDwoMwmr3+G1POIYx7dF9tyWo2r18K1WDI/1uXCcwbDmH UbA767+i1qWtf7alV8ZhRXo0VrATRR8= Received: from frank-u24.. (fttx-pool-217.61.150.139.bambit.de [217.61.150.139]) by mxbulk.masterlogin.de (Postfix) with ESMTPSA id CD4B61226F5; Sat, 28 Jun 2025 09:10:50 +0000 (UTC) From: Frank Wunderlich To: 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 Subject: [PATCH v6 02/15] dt-bindings: net: mediatek,net: allow irq names Date: Sat, 28 Jun 2025 11:10:26 +0200 Message-ID: <20250628091043.57645-3-linux@fw-web.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250628091043.57645-1-linux@fw-web.de> References: <20250628091043.57645-1-linux@fw-web.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250628_021055_288356_3D4771D8 X-CRM114-Status: UNSURE ( 9.67 ) X-CRM114-Notice: Please train this message. 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: devicetree@vger.kernel.org, Landen Chao , =?UTF-8?q?Ar=C4=B1n=C3=A7=20=C3=9CNAL?= , netdev@vger.kernel.org, linux-pm@vger.kernel.org, Sean Wang , Daniel Golle , linux-kernel@vger.kernel.org, DENG Qingfang , Johnson Wang , linux-mediatek@lists.infradead.org, Lorenzo Bianconi , linux-arm-kernel@lists.infradead.org, Felix Fietkau Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org From: Frank Wunderlich In preparation for MT7988 and RSS/LRO allow the interrupt-names property. Also increase the maximum IRQ count to 8 (4 FE + 4 RSS), but set boundaries for all compatibles same as irq count. Signed-off-by: Frank Wunderlich --- v6: new patch splitted from the mt7988 changes --- Documentation/devicetree/bindings/net/mediatek,net.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/net/mediatek,net.yaml b/Documentation/devicetree/bindings/net/mediatek,net.yaml index 74a139000f60..6672db206b38 100644 --- a/Documentation/devicetree/bindings/net/mediatek,net.yaml +++ b/Documentation/devicetree/bindings/net/mediatek,net.yaml @@ -28,8 +28,7 @@ properties: - ralink,rt5350-eth reg: - items: - - description: Register for accessing the MACs. + maxItems: 1 clocks: minItems: 2 @@ -67,10 +66,6 @@ properties: - const: gmac - const: ppe - sram: - $ref: /schemas/types.yaml#/definitions/phandle - description: phandle to mmio SRAM - mediatek,ethsys: $ref: /schemas/types.yaml#/definitions/phandle description: @@ -423,7 +418,7 @@ allOf: - const: xgp3 patternProperties: - "^mac@[0-2]$": + "^mac@[0-1]$": type: object unevaluatedProperties: false allOf: -- 2.43.0