From patchwork Tue Nov 28 03:57:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chiu X-Patchwork-Id: 748046 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="qyQxmlqG" Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 704099D; Mon, 27 Nov 2023 19:57:32 -0800 (PST) X-UUID: 3df51cae8da211eea33bb35ae8d461a2-20231128 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=w0zhHTFWA03x1O2f6LVHcIebtJwTLXkrPBnvPfMfwzE=; b=qyQxmlqGylU2osV2eA6wtV8gzbzWqj4P+xxrSOMQMoEWazGMR1cdDJsqeHs+3CVvt6TKwQ66/eClsLFJYQJQsPJtMD7RBJmjCK5KGdck9g/ox2ccL6A9Yto5trgLwdDPo0UH0aycgt1+KN6XwBIfWN5Vf1hLoA7N1ZEDDDj27Xk=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.34, REQID:503b0d0a-46f5-4a19-9b4f-51ee8082b2eb, IP:0, U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:abefa75, CLOUDID:d507e395-10ce-4e4b-85c2-c9b5229ff92b, B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1,SPR:NO, DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: 3df51cae8da211eea33bb35ae8d461a2-20231128 Received: from mtkmbs13n1.mediatek.inc [(172.21.101.193)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1451637348; Tue, 28 Nov 2023 11:57:25 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by mtkmbs13n1.mediatek.inc (172.21.101.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Tue, 28 Nov 2023 11:57:24 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Tue, 28 Nov 2023 11:57:24 +0800 From: Peter Chiu To: Felix Fietkau , Rob Herring CC: Lorenzo Bianconi , Ryder Lee , Evelyn Tsai , Shayne Chen , Sam Shih , , , , Peter Chiu Subject: [PATCH] dt-bindings: net: wireless: mt76: add interrupts description for MT7986 Date: Tue, 28 Nov 2023 11:57:23 +0800 Message-ID: <20231128035723.5217-1-chui-hao.chiu@mediatek.com> X-Mailer: git-send-email 2.18.0 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MTK: N The mt7986 can support four interrupts to distribute the interrupts to different CPUs. Signed-off-by: Peter Chiu --- .../bindings/net/wireless/mediatek,mt76.yaml | 24 +++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml b/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml index 252207adbc54..20f5f2ead265 100644 --- a/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml +++ b/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml @@ -19,9 +19,6 @@ description: | Alternatively, it can specify the wireless part of the MT7628/MT7688 or MT7622/MT7986 SoC. -allOf: - - $ref: ieee80211.yaml# - properties: compatible: enum: @@ -38,7 +35,8 @@ properties: MT7986 should contain 3 regions consys, dcm, and sku, in this order. interrupts: - maxItems: 1 + minItems: 1 + maxItems: 4 power-domains: maxItems: 1 @@ -219,6 +217,24 @@ required: unevaluatedProperties: false +allOf: + - $ref: ieee80211.yaml# + - if: + properties: + compatible: + contains: + enum: + - mediatek,mt7986-wmac + then: + properties: + interrupts: + minItems: 1 + items: + - description: major interrupt for rings + - description: addditional interrupt for ring 19 + - description: addditional interrupt for ring 4 + - description: addditional interrupt for ring 5 + examples: - | pcie0 {