From patchwork Tue Apr 7 09:46:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 216086 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.3 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79F61C2BB55 for ; Tue, 7 Apr 2020 09:46:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3F64E2074B for ; Tue, 7 Apr 2020 09:46:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586252800; bh=vmMFAZvzCoaDq5CXouqdXRp0C/IF3TkazDI9UnOjsII=; h=From:To:Cc:Subject:Date:List-ID:From; b=RWsMiDJGudNpgTrr+T94emfocOCFtyTTpVqJC1AUYn7g8BLanQJB26IVg3mbBIM6w qCdITJj6ytm3Svcd8af0Ut+6DF5DMuAfT4XAYMV5TCw2NFXQs9GDvTWyuAydCDL/LX ZAdFr30lylZ0cyn2vzrWifQ9PePMUWIQ8Y0Giz1I= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728121AbgDGJqi (ORCPT ); Tue, 7 Apr 2020 05:46:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:49434 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726767AbgDGJqi (ORCPT ); Tue, 7 Apr 2020 05:46:38 -0400 Received: from lore-desk-wlan.redhat.com (unknown [151.48.151.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 43C8E206F7; Tue, 7 Apr 2020 09:46:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586252797; bh=vmMFAZvzCoaDq5CXouqdXRp0C/IF3TkazDI9UnOjsII=; h=From:To:Cc:Subject:Date:From; b=Thhl4BqxmYUIcDweoSj5pgyo3PfGD/T2dthjJXCwTM303+cafT/mhwIjwZ4pSY7rX lNfLZ776liWq6n8TW6wAlf+WMWND4tAv5D3i3qtpQexyLQbwgjm7cXOn4OcORyijdQ dBitnGvwH7Ga+AAZ4pKYhLpjbPGuKi5SR29Vkexo= From: Lorenzo Bianconi To: nbd@nbd.name Cc: linux-wireless@vger.kernel.org, lorenzo.bianconi@redhat.com, sean.wang@mediatek.com, ryder.lee@mediatek.com, linux-mediatek@lists.infradead.org Subject: [PATCH 0/2] introduce usb support to mt7615 driver Date: Tue, 7 Apr 2020 11:46:27 +0200 Message-Id: X-Mailer: git-send-email 2.25.2 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Introduce support for mt7663u 802.11ac 2x2:2 chipset to mt7615 driver. Create mt7615-common module as container for mmio and usb shared code Lorenzo Bianconi (2): mt76: mt7615: move core shared code in mt7615-common module mt76: mt7615: introduce mt7663u support drivers/net/wireless/mediatek/mt76/Makefile | 2 +- drivers/net/wireless/mediatek/mt76/mt76.h | 1 + .../net/wireless/mediatek/mt76/mt7615/Kconfig | 18 +- .../wireless/mediatek/mt76/mt7615/Makefile | 10 +- .../wireless/mediatek/mt76/mt7615/debugfs.c | 1 + .../net/wireless/mediatek/mt76/mt7615/dma.c | 39 -- .../wireless/mediatek/mt76/mt7615/eeprom.c | 1 + .../net/wireless/mediatek/mt76/mt7615/init.c | 176 +------- .../net/wireless/mediatek/mt76/mt7615/mac.c | 244 ++++------ .../net/wireless/mediatek/mt76/mt7615/mac.h | 5 +- .../net/wireless/mediatek/mt76/mt7615/main.c | 181 ++++---- .../net/wireless/mediatek/mt76/mt7615/mcu.c | 18 +- .../net/wireless/mediatek/mt76/mt7615/mcu.h | 5 + .../net/wireless/mediatek/mt76/mt7615/mmio.c | 30 ++ .../wireless/mediatek/mt76/mt7615/mt7615.h | 67 ++- .../wireless/mediatek/mt76/mt7615/pci_init.c | 171 +++++++ .../wireless/mediatek/mt76/mt7615/pci_mac.c | 179 ++++++++ .../net/wireless/mediatek/mt76/mt7615/regs.h | 26 ++ .../net/wireless/mediatek/mt76/mt7615/usb.c | 418 ++++++++++++++++++ .../wireless/mediatek/mt76/mt7615/usb_init.c | 144 ++++++ .../wireless/mediatek/mt76/mt7615/usb_mcu.c | 93 ++++ 21 files changed, 1367 insertions(+), 462 deletions(-) create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/pci_init.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/pci_mac.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/usb.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/usb_init.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/usb_mcu.c