Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1791255pxb; Wed, 9 Feb 2022 04:42:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJzVWHyUxQDn2NiBjEB6kxaOKToSgTbT3WHIBZXpFgomNWVoTICbwKy9VHv/nJ9cmFWBpSKX X-Received: by 2002:a63:6a06:: with SMTP id f6mr1734610pgc.576.1644410561149; Wed, 09 Feb 2022 04:42:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644410561; cv=none; d=google.com; s=arc-20160816; b=SBmY9ogDYeI3tGj0ynyswOlbT5LlMXN0UcZQUr8B8aXHlC29qRDLzoVV5LJfmFe+s4 RUoHdGcFPxYKZaI3kgGa0vlkBrc5/OOjLldGGE9hzkotig7QQbwMb9HwzR6rsxXj3+i+ azJ46WDY9HfO0iCfrGEczKPD4sde42cDXYiBWI6cPTvZR3ZNA7vGBudGbBeTq+x9D9yC w0jfH5pBt8REy/FHiZ+uUw1hTX6mAp9x9ZRLVdg2kNXTgAq1yVa45YS6IDqq9bfG9lTr cjU1A6LtIn1PYUYqh5tSGv7sSThYX93E0M/TGCkEe+CFlJfCw1F34qoIx5B/hWXbfn2V Mm8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=sr5pRFb3ABBexhcmTp9Q5lmZ0HEHxzmDeA0LPQf7Z1I=; b=GIob1CCMyYJbO2rbmIyk5zknZkK9SL7ruvBWsveOBJHk42GE1jkVv2ovu00K2dFeCp Hdd74wbCyNrQZQ78SK0hDzRH9w4lfZvBhVmYpqvfY1tnqfr8jmLnRRXrj0oETPUNrIXu qNrF9zrW2ol1CklhNn4cl/4mGdnginfAu4FeqHjKbhH+0U4BpyMaRu+J2mw1dAy2aR/t /IMI2Y32Xd896ieuppMt8bmh7D7SCM3YCzei5R91y3RQiAQcV5m/c9TFWsIQ6vbuSCsQ F+glTrLFBZVJmMyLyqKnUZgfxvSO9lvpYnG+sUZuJFN0WjxcJJ1jaJk0KK0/eCsl4vto w4NA== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id c16si640939pgw.49.2022.02.09.04.42.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 04:42:41 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7502BE14A95B; Wed, 9 Feb 2022 02:26:33 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233241AbiBIGQf (ORCPT + 73 others); Wed, 9 Feb 2022 01:16:35 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:35734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243494AbiBIGME (ORCPT ); Wed, 9 Feb 2022 01:12:04 -0500 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A730BC08EDC7 for ; Tue, 8 Feb 2022 22:12:06 -0800 (PST) X-UUID: da93700e5ee143a794b88f1d5ab52253-20220209 X-UUID: da93700e5ee143a794b88f1d5ab52253-20220209 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1216009190; Wed, 09 Feb 2022 14:12:03 +0800 Received: from MTKMBS34N1.mediatek.inc (172.27.4.172) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 9 Feb 2022 14:12:01 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS34N1.mediatek.inc (172.27.4.172) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 9 Feb 2022 14:11:59 +0800 Received: from mcddlt001.gcn.mediatek.inc (10.19.240.15) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 9 Feb 2022 14:11:59 +0800 From: Bo Jiao To: Felix Fietkau CC: linux-wireless , Ryder Lee , Xing Song , Sujuan Chen , Shayne Chen , "Evelyn Tsai" , linux-mediatek , Bo Jiao Subject: [PATCH v4 0/3] add mt7986 support Date: Wed, 9 Feb 2022 14:11:54 +0800 Message-ID: X-Mailer: git-send-email 2.17.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Bo Jiao This adds support for MT7986 SoC which integrated multi-band 4x4 WiFi 6/6E. Detailed link: https://www.mediatek.com/products/mediatek-filogic-830 Bo Jiao (2): mt76: mt7915: add support for MT7986 mt76: mt7915: introduce band_idx in mt7915_phy Peter Chiu (1): dt-bindings: net: wireless: mt76: document bindings for MT7986 .../bindings/net/wireless/mediatek,mt76.yaml | 33 +- .../net/wireless/mediatek/mt76/mt76_connac.h | 5 + .../wireless/mediatek/mt76/mt76_connac_mcu.c | 6 +- .../net/wireless/mediatek/mt76/mt7915/Kconfig | 10 + .../wireless/mediatek/mt76/mt7915/Makefile | 1 + .../wireless/mediatek/mt76/mt7915/debugfs.c | 8 +- .../net/wireless/mediatek/mt76/mt7915/dma.c | 28 +- .../wireless/mediatek/mt76/mt7915/eeprom.c | 85 +- .../wireless/mediatek/mt76/mt7915/eeprom.h | 13 + .../net/wireless/mediatek/mt76/mt7915/init.c | 54 +- .../net/wireless/mediatek/mt76/mt7915/mac.c | 209 +-- .../net/wireless/mediatek/mt76/mt7915/main.c | 21 +- .../net/wireless/mediatek/mt76/mt7915/mcu.c | 81 +- .../net/wireless/mediatek/mt76/mt7915/mmio.c | 125 +- .../wireless/mediatek/mt76/mt7915/mt7915.h | 44 + .../net/wireless/mediatek/mt76/mt7915/regs.h | 277 +++- .../net/wireless/mediatek/mt76/mt7915/soc.c | 1201 +++++++++++++++++ .../wireless/mediatek/mt76/mt7915/testmode.c | 35 +- drivers/net/wireless/mediatek/mt76/testmode.c | 5 +- 19 files changed, 2003 insertions(+), 238 deletions(-) create mode 100644 drivers/net/wireless/mediatek/mt76/mt7915/soc.c -- 2.18.0