From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-170.mta0.migadu.com (out-170.mta0.migadu.com [91.218.175.170]) (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 398F922616C; Sat, 28 Jun 2025 09:03:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751101426; cv=none; b=WNKB/v1bqydVeJF78q+7pbj1bJ9qiFVZuwurcfcicHdHvMbn5t4F+xjk38dS+xf9ePtMBfo7imjYMrkq+yLrIpdQMN7zeK7bMK8wMp/mKh3uCNVZYsb7kBFU1aFYzAAE/ML1obgLwXv3+epsD8BSxfkg5fwlkNkk1imsYuDtD2g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751101426; c=relaxed/simple; bh=nkVcV3wUNVe/zcsTpVmUYTSaAg8gW0lc9PLvnuMVIIM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=HXevNBDcpfQQHVhvvNkzGYNWJ5eyF1GKgqEhSxrpu4YCjL8IRz5FwLP/Ll0zMIB/jTMnC0pY+ALEy2yuQbatd488N0nW/t+0mMEBAVCInAdfyYqb2ARTlKMsTDAO1oJEOvjbeu9SX5np7WMeCWkM9Xx58NfXWUvQyVoLdDt1Boc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=uiKRNm9q; arc=none smtp.client-ip=91.218.175.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="uiKRNm9q" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1751101421; 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=uiKRNm9qcS9nl7TbUPDs9XyqHBP69P8tY6XgbwKXzAUcPGRByiDW8nx7bXlciNWa5y9ezr WcLoIo8Uki7XCiPD39P4KrMxBrLxf/sXRstzT4ASxIH7tMp8XKoUGvol+Q2KW26wgJV7oO 0AOmwxC/N0AIsR0Us1hSjEcwDwzjp6k= 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:03:13 +0200 Message-ID: <20250628090330.57264-3-frank.wunderlich@linux.dev> In-Reply-To: <20250628090330.57264-1-frank.wunderlich@linux.dev> References: <20250628090330.57264-1-frank.wunderlich@linux.dev> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT 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