From patchwork Wed Dec 7 16:19:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 631859 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E1FD4C352A1 for ; Wed, 7 Dec 2022 16:20:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230017AbiLGQUG (ORCPT ); Wed, 7 Dec 2022 11:20:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229709AbiLGQUF (ORCPT ); Wed, 7 Dec 2022 11:20:05 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 296F863B94 for ; Wed, 7 Dec 2022 08:20:05 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C79C0B8037A for ; Wed, 7 Dec 2022 16:20:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37D24C433C1; Wed, 7 Dec 2022 16:20:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670430002; bh=EY9icodmuRyxgj/Io4K67F5YkKz8d66LK5A1OX0yYik=; h=From:To:Cc:Subject:Date:From; b=RIHNek1mez2s4/gfXt685SNsH3QePwuFdOErjo/pxOC8kzxGcKuy8/ZSd0aN/aDqa f1UQYotfglQ2YgWBBbNvN8Ne/NLISUg3zqSYe+rtw7y/LIKzxBs0X2g4FQcc0Z4qOe HydP7x/hYBm+1ZEEoL0l19rvMlPRzyZ/c5eq0knNAZi9qsuRjlhINRTWpljhM2Y/fU VPmv5z50MSp9oqm1K4H0sICVzY8+bLoyPU58fT/kyMl6lfcnKWCyhV6QDSL+OamcWE kI+cXgsyczya4+hNuwJpPjceB2Xv34A6QQfFW9lb7ohoaiIuLXcpkO6dCFYrN9nVBG 4nVYNlkzuMzIw== From: Lorenzo Bianconi To: nbd@nbd.name Cc: lorenzo.bianconi@redhat.com, linux-wireless@vger.kernel.org, ryder.lee@mediatek.com, frank-w@public-files.de Subject: [PATCH 0/4] mt76: add per-phy led support Date: Wed, 7 Dec 2022 17:19:41 +0100 Message-Id: X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org This series introduces per-phy led capability in order to support multiple leds connected to a device in dbdc mode (e.g. MT7986 SoC or MT7615) Lorenzo Bianconi (4): wifi: mt76: move leds field in leds struct wifi: mt76: move leds struct in mt76_phy wifi: mt76: mt7915: enable per-phy led support wifi: mt76: mt7615: enable per-phy led support drivers/net/wireless/mediatek/mt76/debugfs.c | 2 +- drivers/net/wireless/mediatek/mt76/mac80211.c | 56 +++++--- drivers/net/wireless/mediatek/mt76/mt76.h | 12 +- .../net/wireless/mediatek/mt76/mt7603/init.c | 34 ++--- .../net/wireless/mediatek/mt76/mt7615/init.c | 85 ++++++++++++ .../net/wireless/mediatek/mt76/mt7615/mmio.c | 16 --- .../wireless/mediatek/mt76/mt7615/mt7615.h | 6 + .../wireless/mediatek/mt76/mt7615/pci_init.c | 62 +-------- .../net/wireless/mediatek/mt76/mt7615/regs.h | 1 + .../net/wireless/mediatek/mt76/mt76x02_util.c | 35 +++-- .../net/wireless/mediatek/mt76/mt7915/init.c | 124 +++++++++++++----- .../net/wireless/mediatek/mt76/mt7915/regs.h | 12 +- .../net/wireless/mediatek/mt76/mt7996/init.c | 14 +- 13 files changed, 282 insertions(+), 177 deletions(-)