Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp481410pxb; Wed, 20 Jan 2021 11:45:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJywWukWE9fEPwsQdnEbyIeqUCEPhn53IQ5phb3PRvfHb32i7pqizWA3LzvaAoitBYKv4UZZ X-Received: by 2002:a17:906:c9d8:: with SMTP id hk24mr6761189ejb.468.1611171937267; Wed, 20 Jan 2021 11:45:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611171937; cv=none; d=google.com; s=arc-20160816; b=o5dwt9rFfB6LP3Qg9YDyghpGnbMWbaAbaVOjiGnf9U947NnhG9/EEgzkgx1gQx6hGT kzjijpOReW0DFxujKb+qUENFW6kGfz4d+sSL5L9Ig1jVvnQNXYJsO7XnM8NZtmgqAhCp vyGibbcw9ChQiqVylSF7uQHPe+No1pfqpvCTUV+n5yBxbmZWIKbzQoAZsU2ULprAZE3m 8lYaOnlnCvtKqbhc4jBbI8RG9IkgL5mwk2eUuX1VJ5hqxDcMbbfPggkpXevTExryVlLE o504V0RAXOhVPYdwJ1cNEms1rz/XUb+B/AMGzyO846dYlsY2r2QYcFlLpYdJoptJCBV/ lIBg== 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=lXSvxmhRJNhXf984up4d6sJQBb+htsAMGrDFgqbpg3o=; b=bdAdHx4c//KXywvNX2NkanqPOlNfPzfIKDrH55So6ixZWH2UsmQ4tYeQ9biY5i3Pr/ EWx0S0dTKWnr9xCfAjXkvIet1j8UmTRRxd8QGZTuzOCR25JE+w6EG3ds3geeSMRWC7+1 MZpGTA/lI7qMLi161YIoi/i3zUoXDwR3C76n5voz6rRYDow+TetBoozKM7X2gA38lWuL PZvT95NwKLZzxGPOVprysOa6mmduFRD4P8imsKxAWE3qDTHgV3FjJwaOEFQ8TYTZ2a2h 9bsZ1E5lwv850bM3sz7w2ibNXgS9O6aoudIZH22NrmKM76Qqs6YHgJuzdob4PASMly1M /RRQ== 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 m1si975080eje.652.2021.01.20.11.45.13; Wed, 20 Jan 2021 11:45:37 -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 S2388349AbhATTnR (ORCPT + 99 others); Wed, 20 Jan 2021 14:43:17 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:43147 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2392520AbhATTe7 (ORCPT ); Wed, 20 Jan 2021 14:34:59 -0500 X-UUID: b7845ee9602c468d815d598442a05ba7-20210121 X-UUID: b7845ee9602c468d815d598442a05ba7-20210121 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] 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 1208428267; Thu, 21 Jan 2021 03:33:55 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 21 Jan 2021 03:33:55 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 21 Jan 2021 03:33:55 +0800 From: To: , CC: , , , , , , , , , , Lorenzo Bianconi Subject: [PATCH -next v6 10/15] mt76: mt7921: add module support Date: Thu, 21 Jan 2021 03:33:46 +0800 Message-ID: <3b0bbd318d1507dc747a37cef57ef2207ec72cc0.1611060302.git.objelf@gmail.com> 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 31015d2a8e7d..5f42ce3267cb 100644 --- a/drivers/net/wireless/mediatek/mt76/Kconfig +++ b/drivers/net/wireless/mediatek/mt76/Kconfig @@ -29,3 +29,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 e53584db0756..1d72093b61a3 100644 --- a/drivers/net/wireless/mediatek/mt76/Makefile +++ b/drivers/net/wireless/mediatek/mt76/Makefile @@ -31,3 +31,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