From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7ADED1EEA59 for ; Wed, 26 Mar 2025 13:54:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742997282; cv=none; b=FmV47D+P0dh4lEYI/DA2aDhMEGlU+MHI+docO8aLGWRY2tKpMHKHmlGWv6zxzK9Qc9zyS6IAcNeJFqB6d4r9Do/51gcMkGoowmaxJcNdQD+PEghsEPLB5jYHrzlWO411OMTqP38L6IVixjEUaiVDEVNKWN936PrdwoRV0R+8S5g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742997282; c=relaxed/simple; bh=XqZfNq4vUs7MBSj3IE9xcGtCTyMerYFvIkA2GevqDdI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HVx8JFXhuS44o6Z7ndBx0e9b9j6gagXCO0x/12GdJI7LSPTwlonvpxg2MVXRr3StDGMX/aYMArvPd3Haa9GN6/43DsW8EKiIhvEQP769zzEMoBUrW4YM1a4sh4zTsIBMoO2qtAnmYYc9u5PaH9DHIbkl0Pns1BSvpTp7v9jKEdU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1txRDH-0002DX-Uk; Wed, 26 Mar 2025 14:54:35 +0100 Received: from pty.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::c5]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1txRDH-001l3U-0i; Wed, 26 Mar 2025 14:54:35 +0100 Received: from sha by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1txRDH-0007il-1j; Wed, 26 Mar 2025 14:54:35 +0100 Date: Wed, 26 Mar 2025 14:54:35 +0100 From: Sascha Hauer To: Francesco Dolcini Cc: Brian Norris , Ulf Hansson , 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 Message-ID: References: <20250326-mwifiex-iw61x-v1-0-ff875ed35efc@pengutronix.de> <20250326-mwifiex-iw61x-v1-4-ff875ed35efc@pengutronix.de> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: sha@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-wireless@vger.kernel.org Hi Francesco, 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 > > --- > > 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. Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |