linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sean Lanigan <sean-k1Xf6wIwYfsQrrorzV6ljw@public.gmane.org>
To: arend.vanspriel-dY08KVG/lbpWk0Htik3J/w@public.gmane.org
Cc: franky.lin-dY08KVG/lbpWk0Htik3J/w@public.gmane.org,
	hante.meuleman-dY08KVG/lbpWk0Htik3J/w@public.gmane.org,
	chi-hsien.lin-+wT8y+m8/X5BDgjK7y7TUQ@public.gmane.org,
	wright.feng-+wT8y+m8/X5BDgjK7y7TUQ@public.gmane.org,
	ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
	ian-zdned+2MO1+9FHfhHBbuYA@public.gmane.org,
	linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	brcm80211-dev-list-+wT8y+m8/X5BDgjK7y7TUQ@public.gmane.org,
	linux-mmc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Sean Lanigan <sean-k1Xf6wIwYfsQrrorzV6ljw@public.gmane.org>
Subject: [PATCH] brcmfmac: Add support for bcm43364 wireless chipset
Date: Fri,  4 May 2018 16:48:23 +1000	[thread overview]
Message-ID: <1525416503-832-1-git-send-email-sean@lano.id.au> (raw)

Add support for the BCM43364 chipset via an SDIO interface, as used in 
e.g. the Murata 1FX module. 

The BCM43364 uses the same firmware as the BCM43430 (which is already 
included), the only difference is the omission of Bluetooth. 

However, the SDIO_ID for the BCM43364 is 02D0:A9A4, giving it a MODALIAS 
of sdio:c00v02D0dA9A4, which doesn't get recognised and hence doesn't 
load the brcmfmac module. Adding the 'A9A4' ID in the appropriate place 
triggers the brcmfmac driver to load, and then correctly use the 
firmware file 'brcmfmac43430-sdio.bin'. 


Signed-off-by: Sean Lanigan <sean-k1Xf6wIwYfsQrrorzV6ljw@public.gmane.org>
---
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c | 1 +
 include/linux/mmc/sdio_ids.h                              | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
index 0b68240..4648a3d 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
@@ -963,6 +963,7 @@ static const struct sdio_device_id brcmf_sdmmc_ids[] = {
 	BRCMF_SDIO_DEVICE(SDIO_DEVICE_ID_BROADCOM_43340),
 	BRCMF_SDIO_DEVICE(SDIO_DEVICE_ID_BROADCOM_43341),
 	BRCMF_SDIO_DEVICE(SDIO_DEVICE_ID_BROADCOM_43362),
+ 	BRCMF_SDIO_DEVICE(SDIO_DEVICE_ID_BROADCOM_43364),
 	BRCMF_SDIO_DEVICE(SDIO_DEVICE_ID_BROADCOM_4335_4339),
 	BRCMF_SDIO_DEVICE(SDIO_DEVICE_ID_BROADCOM_4339),
 	BRCMF_SDIO_DEVICE(SDIO_DEVICE_ID_BROADCOM_43430),
diff --git a/include/linux/mmc/sdio_ids.h b/include/linux/mmc/sdio_ids.h
index cdd66a5..0a7abe8 100644
--- a/include/linux/mmc/sdio_ids.h
+++ b/include/linux/mmc/sdio_ids.h
@@ -35,6 +35,7 @@
 #define SDIO_DEVICE_ID_BROADCOM_4335_4339	0x4335
 #define SDIO_DEVICE_ID_BROADCOM_4339		0x4339
 #define SDIO_DEVICE_ID_BROADCOM_43362		0xa962
+#define SDIO_DEVICE_ID_BROADCOM_43364		0xa9a4
 #define SDIO_DEVICE_ID_BROADCOM_43430		0xa9a6
 #define SDIO_DEVICE_ID_BROADCOM_4345		0x4345
 #define SDIO_DEVICE_ID_BROADCOM_43455		0xa9bf
-- 
2.7.4

             reply	other threads:[~2018-05-04  6:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-04  6:48 Sean Lanigan [this message]
     [not found] ` <1525416503-832-1-git-send-email-sean-k1Xf6wIwYfsQrrorzV6ljw@public.gmane.org>
2018-05-08  7:58   ` [PATCH] brcmfmac: Add support for bcm43364 wireless chipset Ulf Hansson
     [not found]     ` <CAPDyKFr62-+EF_GRbUSa=VOQfYa3c3HHZCR_LsN67k1yVkNNFw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-05-08 12:11       ` Arend van Spriel
     [not found]         ` <5AF193FA.7000700-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2018-05-08 12:51           ` Kalle Valo
2018-05-09 10:25   ` Kalle Valo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1525416503-832-1-git-send-email-sean@lano.id.au \
    --to=sean-k1xf6wiwyfsqrrorzv6ljw@public.gmane.org \
    --cc=arend.vanspriel-dY08KVG/lbpWk0Htik3J/w@public.gmane.org \
    --cc=brcm80211-dev-list-+wT8y+m8/X5BDgjK7y7TUQ@public.gmane.org \
    --cc=chi-hsien.lin-+wT8y+m8/X5BDgjK7y7TUQ@public.gmane.org \
    --cc=franky.lin-dY08KVG/lbpWk0Htik3J/w@public.gmane.org \
    --cc=hante.meuleman-dY08KVG/lbpWk0Htik3J/w@public.gmane.org \
    --cc=ian-zdned+2MO1+9FHfhHBbuYA@public.gmane.org \
    --cc=linux-mmc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=wright.feng-+wT8y+m8/X5BDgjK7y7TUQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).