Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1646077pxb; Sat, 23 Jan 2021 00:41:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJxxcH4N1Xx0V7VYaQATqcCVZJFd8nVSHnDoPyPIu6PCcjAopulegLaXIIx2UVbVmFP5QU57 X-Received: by 2002:a17:907:10c8:: with SMTP id rv8mr5365450ejb.228.1611391279784; Sat, 23 Jan 2021 00:41:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611391279; cv=none; d=google.com; s=arc-20160816; b=Dh9StJ7c9d66Qrwc01zRZZjz180TACeUcjKBvvL/G7NiEGfhxTROCy8yTKZWr4KZOg 1djwFsQBgAjkWX0b32W5b92T/xwGEnVtmx/P4EJsxG9MIlBo9Xl6soezQd1OSPm8Iyhy x1q5lka/xkQ0ayeve2sADRDmAsQBYdYfUe5Y+Pb/R5u78GVPZMLCM6i8TClx9p0bJA0X 7Z56gpXEcIrzd181W+t2JLJSJsoUNR4kPpmz6lmxInEaDawoQc1QJ5wkba0yWj0ZxymQ 8i0u1GuInkAbC6DSRem1nwXEkK7gySm0lsKiqbT9z119kPgkrBusAeTzVhmR9BrR2ylD YIAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=C2pbJXmuQ9yXztdcVAHnYFlbMl3JdjscddlTwnCSS/E=; b=PwIq3rp6GNsXeb3a/Vej+kZGgvNjbNS3AX9nQo2llsDUOlfmgwc9itS6E+/XX826r3 mqQ5fx95ZHlrAPZ1rUtEw0DcPtuocj3pUxpwa53F8T6hegZOHHRIDfnjxUOx1iMbZWLB aq4rWPeiG/oiLZKtmrvhgYTUpKyRnJ7EaAV1dswNKbwzl84iHchc7Wd14yPcQ08XcExZ WSvg16fquYo6yqdAUEwaPcAwmSr4ryPEZqsHnHNGlGTLEsKysQxSs/t296AhwaOMxc/m HIXqSDczJt8l3j4ewfYVxxaX+Y04hTH0Wi2g3eWrbWpDOzOQxjswXc2apXetdUXiDRcW FNcw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h24si4235125ejt.638.2021.01.23.00.40.57; Sat, 23 Jan 2021 00:41:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726032AbhAWIhs (ORCPT + 99 others); Sat, 23 Jan 2021 03:37:48 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:50200 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726977AbhAWIho (ORCPT ); Sat, 23 Jan 2021 03:37:44 -0500 X-UUID: 8dafe448eba6478eb315d3cd7d68c9a0-20210123 X-UUID: 8dafe448eba6478eb315d3cd7d68c9a0-20210123 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 2104211634; Sat, 23 Jan 2021 16:35:19 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 23 Jan 2021 16:35:15 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 23 Jan 2021 16:35:15 +0800 From: To: , CC: , , , , , , , , , , Lorenzo Bianconi Subject: [PATCH -next v7 08/22] mt76: mt7921: add module support Date: Sat, 23 Jan 2021 16:34:59 +0800 Message-ID: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Sean Wang Add mt7921 as the pci driver module. The purpose of the patch is to check about if the following patches are able to compile properly. Co-developed-by: Lorenzo Bianconi Signed-off-by: Lorenzo Bianconi Co-developed-by: Soul Huang Signed-off-by: Soul Huang Signed-off-by: Sean Wang --- drivers/net/wireless/mediatek/mt76/Kconfig | 1 + drivers/net/wireless/mediatek/mt76/Makefile | 1 + drivers/net/wireless/mediatek/mt76/mt7921/Kconfig | 10 ++++++++++ drivers/net/wireless/mediatek/mt76/mt7921/Makefile | 5 +++++ 4 files changed, 17 insertions(+) create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/Kconfig create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/Makefile diff --git a/drivers/net/wireless/mediatek/mt76/Kconfig b/drivers/net/wireless/mediatek/mt76/Kconfig index 74f99f08d0b5..9ff43f1fc50d 100644 --- a/drivers/net/wireless/mediatek/mt76/Kconfig +++ b/drivers/net/wireless/mediatek/mt76/Kconfig @@ -33,3 +33,4 @@ source "drivers/net/wireless/mediatek/mt76/mt76x2/Kconfig" source "drivers/net/wireless/mediatek/mt76/mt7603/Kconfig" source "drivers/net/wireless/mediatek/mt76/mt7615/Kconfig" source "drivers/net/wireless/mediatek/mt76/mt7915/Kconfig" +source "drivers/net/wireless/mediatek/mt76/mt7921/Kconfig" diff --git a/drivers/net/wireless/mediatek/mt76/Makefile b/drivers/net/wireless/mediatek/mt76/Makefile index eac419c64788..94efe3c29053 100644 --- a/drivers/net/wireless/mediatek/mt76/Makefile +++ b/drivers/net/wireless/mediatek/mt76/Makefile @@ -34,3 +34,4 @@ obj-$(CONFIG_MT76x2_COMMON) += mt76x2/ obj-$(CONFIG_MT7603E) += mt7603/ obj-$(CONFIG_MT7615_COMMON) += mt7615/ obj-$(CONFIG_MT7915E) += mt7915/ +obj-$(CONFIG_MT7921E) += mt7921/ diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/Kconfig b/drivers/net/wireless/mediatek/mt76/mt7921/Kconfig new file mode 100644 index 000000000000..24932d2e8dee --- /dev/null +++ b/drivers/net/wireless/mediatek/mt76/mt7921/Kconfig @@ -0,0 +1,10 @@ +# SPDX-License-Identifier: ISC +config MT7921E + tristate "MediaTek MT7921E (PCIe) support" + select MT76_CORE + depends on MAC80211 + depends on PCI + help + This adds support for MT7921E 802.11ax 2x2:2SS wireless devices. + + To compile this driver as a module, choose M here. diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/Makefile b/drivers/net/wireless/mediatek/mt76/mt7921/Makefile new file mode 100644 index 000000000000..09d1446ad933 --- /dev/null +++ b/drivers/net/wireless/mediatek/mt76/mt7921/Makefile @@ -0,0 +1,5 @@ +#SPDX-License-Identifier: ISC + +obj-$(CONFIG_MT7921E) += mt7921e.o + +mt7921e-y := pci.o mac.o mcu.o dma.o eeprom.o main.o init.o debugfs.o -- 2.25.1