From patchwork Mon Sep 12 09:52:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Russell King \(Oracle\)" X-Patchwork-Id: 605072 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 53401ECAAD5 for ; Mon, 12 Sep 2022 09:52:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229630AbiILJwW (ORCPT ); Mon, 12 Sep 2022 05:52:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbiILJwU (ORCPT ); Mon, 12 Sep 2022 05:52:20 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C69082229E; Mon, 12 Sep 2022 02:52:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:Content-Type:MIME-Version: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=i7scest9/GRb/SJTIXxI6p7sk+zo39k5Ettiz2gvQT0=; b=tRz4vOR8lAGwAn6YrCx+p6EKSw snonH391ow5yXmrkOBmGvfgdClNw4V5uJ5tywGTSBm3IVVBU2Z/1FsNfS2HhT6U5mhGydyO30vCij zsw438CFRgu2T9drmOt2gnRCME4fBwRo989z9W8rTRcIyLSSQ4m9vkTV6Eplu0wcJSLTpS6hBu56u ii5wo8Zgio3aZ5A7M4kwnAnMnq6dRozl3+6pHPEzUq1IxgNVeB4tn7aE5eFcGk4LoQotp/lnfaM+s l2AtwF5zjBQ9mE4zmpe0j7bHl9Cnngi21ZZWTKvkugRGlXeYeb1Vl1ZnaUxY6fwZc8f2TBh9qHfAJ HW1Pw7/Q==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:34252) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oXg6o-0001Qx-Bb; Mon, 12 Sep 2022 10:52:06 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1oXg6j-00080m-W7; Mon, 12 Sep 2022 10:52:02 +0100 Date: Mon, 12 Sep 2022 10:52:01 +0100 From: "Russell King (Oracle)" To: Arend van Spriel , Franky Lin , Hante Meuleman Cc: Alyssa Rosenzweig , asahi@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com, "David S. Miller" , devicetree@vger.kernel.org, Eric Dumazet , Hector Martin , Jakub Kicinski , Kalle Valo , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, Paolo Abeni , =?utf-8?b?UmFmYcWC?= =?utf-8?b?IE1pxYJlY2tp?= , Rob Herring , SHA-cyfmac-dev-list@infineon.com, Sven Peter , van Spriel Subject: [PATCH wireless-next v2 0/12] Add support for bcm4378 on Apple platforms Message-ID: MIME-Version: 1.0 Content-Disposition: inline Sender: Russell King (Oracle) Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi, This series adds support for bcm4378 found on Apple platforms, and has been tested on the Apple Mac Mini. It is a re-posting of a subset of Hector's previous 38 patch series, and it is believed that the comments from that review were addressed. (I'm just the middle man; please don't complain if something has been missed.) v2: - sending for wireless-next - fixed up %ld -> %zd for size_t - added reviewed-bys arch/arm64/boot/dts/apple/t8103-j274.dts | 4 + arch/arm64/boot/dts/apple/t8103-j293.dts | 4 + arch/arm64/boot/dts/apple/t8103-j313.dts | 4 + arch/arm64/boot/dts/apple/t8103-j456.dts | 4 + arch/arm64/boot/dts/apple/t8103-j457.dts | 4 + arch/arm64/boot/dts/apple/t8103-jxxx.dtsi | 2 + .../net/wireless/broadcom/brcm80211/brcmfmac/bus.h | 19 +- .../wireless/broadcom/brcm80211/brcmfmac/chip.c | 2 + .../wireless/broadcom/brcm80211/brcmfmac/common.c | 12 +- .../wireless/broadcom/brcm80211/brcmfmac/common.h | 1 + .../broadcom/brcm80211/brcmfmac/firmware.c | 115 ++++-- .../broadcom/brcm80211/brcmfmac/firmware.h | 4 +- .../wireless/broadcom/brcm80211/brcmfmac/msgbuf.h | 4 +- .../net/wireless/broadcom/brcm80211/brcmfmac/of.c | 12 +- .../wireless/broadcom/brcm80211/brcmfmac/pcie.c | 431 +++++++++++++++++++-- .../wireless/broadcom/brcm80211/brcmfmac/sdio.c | 38 +- .../wireless/broadcom/brcm80211/brcmfmac/sdio.h | 2 + .../net/wireless/broadcom/brcm80211/brcmfmac/usb.c | 23 +- .../broadcom/brcm80211/include/brcm_hw_ids.h | 2 + include/linux/bcma/bcma_driver_chipcommon.h | 1 + 21 files changed, 610 insertions(+), 117 deletions(-) Reviewed-by: Alvin Šipraga