From: Francesco Dolcini <francesco@dolcini.it>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Francesco Dolcini <francesco@dolcini.it>,
Brian Norris <briannorris@chromium.org>,
Ulf Hansson <ulf.hansson@linaro.org>,
linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-mmc@vger.kernel.org
Subject: Re: [PATCH do not merge 4/4] wifi: mwifiex: add iw61x support
Date: Thu, 27 Mar 2025 10:33:17 +0100 [thread overview]
Message-ID: <Z-UbXduYmx2i0kxz@gaggiata.pivistrello.it> (raw)
In-Reply-To: <Z-QHG0fyM8wRy2FH@pengutronix.de>
On Wed, Mar 26, 2025 at 02:54:35PM +0100, Sascha Hauer wrote:
> On Wed, Mar 26, 2025 at 01:23:35PM +0100, Francesco Dolcini wrote:
> > On Wed, Mar 26, 2025 at 01:18:34PM +0100, Sascha Hauer wrote:
> > > This adds iw61x aka SD9177 support to the mwifiex driver. It is named
> > > SD9177 in the downstream driver, I deliberately chose the NXP name in
> > > the driver.
> > >
> > > Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> > > ---
> > > drivers/net/wireless/marvell/mwifiex/sdio.c | 79 +++++++++++++++++++++++++++++
> > > drivers/net/wireless/marvell/mwifiex/sdio.h | 3 ++
> > > include/linux/mmc/sdio_ids.h | 3 ++
> > > 3 files changed, 85 insertions(+)
> > >
> > > diff --git a/drivers/net/wireless/marvell/mwifiex/sdio.c b/drivers/net/wireless/marvell/mwifiex/sdio.c
> > > index cbcb5674b8036..7b4045a40df57 100644
> > > --- a/drivers/net/wireless/marvell/mwifiex/sdio.c
> > > +++ b/drivers/net/wireless/marvell/mwifiex/sdio.c
> >
> > ...
> >
> > > @@ -3212,3 +3289,5 @@ MODULE_FIRMWARE(SD8978_SDIOUART_FW_NAME);
> > > MODULE_FIRMWARE(SD8987_DEFAULT_FW_NAME);
> > > MODULE_FIRMWARE(SD8997_DEFAULT_FW_NAME);
> > > MODULE_FIRMWARE(SD8997_SDIOUART_FW_NAME);
> > > +MODULE_FIRMWARE(IW612_DEFAULT_FW_NAME);
> > > +MODULE_FIRMWARE(IW612_SDIOUART_FW_NAME);
> > > diff --git a/drivers/net/wireless/marvell/mwifiex/sdio.h b/drivers/net/wireless/marvell/mwifiex/sdio.h
> > > index 65d142286c46e..97759456314b0 100644
> > > --- a/drivers/net/wireless/marvell/mwifiex/sdio.h
> > > +++ b/drivers/net/wireless/marvell/mwifiex/sdio.h
> > > @@ -29,6 +29,9 @@
> > > #define SD8987_DEFAULT_FW_NAME "mrvl/sd8987_uapsta.bin"
> > > #define SD8997_DEFAULT_FW_NAME "mrvl/sdsd8997_combo_v4.bin"
> > > #define SD8997_SDIOUART_FW_NAME "mrvl/sdiouart8997_combo_v4.bin"
> > > +#define IW612_DEFAULT_FW_NAME "nxp/sdsd_nw61x.bin"
> > > +#define IW612_SDIOUART_FW_NAME "nxp/sd_w61x.bin"
> >
> > Is there a way to have BT over SDIO with iw61x? I was sure only sd-uart was
> > possible.
>
> The communication to the Bluetooth module indeed is UART only.
>
> I think nxp/sdsd_nw61x.bin contains firmwares for both the WiFi and
> Bluetooth chip. When using this you can use the Bluetooth UART directly
> without uploading a separate Bluetooth firmware.
>
> nxp/sd_w61x.bin only contains the WiFi firmware, so you have to
> upload a separate Bluetooth firmware over the UART interface.
If that the case what you did here is not correct.
The 2 firmware files here are used file depending on the BT host interface used
on the Wi-Fi/BT chip, and this is read from some strapping register. See commit
255ca28a659d ("mwifiex: Select firmware based on strapping").
BTW, this name sdsd_nw61x.bin is confusing, I would have expected this to be
something like sduart_nw61x.bin.
Francesco
next prev parent reply other threads:[~2025-03-27 9:33 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-26 12:18 [PATCH do not merge 0/4] wifi: mwifiex: add iw61x support Sascha Hauer
2025-03-26 12:18 ` [PATCH do not merge 1/4] wifi: mwifiex: release firmware at remove time Sascha Hauer
2025-03-26 12:18 ` [PATCH do not merge 2/4] wifi: mwifiex: handle VDLL Sascha Hauer
2025-04-18 8:12 ` [EXT] " Jeff Chen
2025-03-26 12:18 ` [PATCH do not merge 3/4] wifi: mwifiex: wait longer for SDIO card status Sascha Hauer
2025-03-26 12:18 ` [PATCH do not merge 4/4] wifi: mwifiex: add iw61x support Sascha Hauer
2025-03-26 12:23 ` Francesco Dolcini
2025-03-26 13:54 ` Sascha Hauer
2025-03-27 9:33 ` Francesco Dolcini [this message]
2025-03-28 15:10 ` Sascha Hauer
2025-04-29 8:25 ` Ivan T. Ivanov
2025-03-28 15:05 ` Ernest Van Hoecke
2025-03-31 6:50 ` [PATCH do not merge 0/4] " Francesco Dolcini
2025-04-29 12:59 ` Ivan T. Ivanov
2025-05-05 7:32 ` Francesco Dolcini
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=Z-UbXduYmx2i0kxz@gaggiata.pivistrello.it \
--to=francesco@dolcini.it \
--cc=briannorris@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=ulf.hansson@linaro.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