From: Jeff Chen <jeff.chen_1@nxp.com>
To: linux-wireless@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, briannorris@chromium.org,
johannes@sipsolutions.net, francesco@dolcini.it,
wyatt.hsu@nxp.com, s.hauer@pengutronix.de,
ulf.hansson@linaro.org, Jeff Chen <jeff.chen_1@nxp.com>
Subject: [PATCH v12 22/22] mmc: core: add NXP IW61x base ID and block size quirk
Date: Sat, 6 Jun 2026 00:13:35 +0800 [thread overview]
Message-ID: <20260605161335.2415583-23-jeff.chen_1@nxp.com> (raw)
In-Reply-To: <20260605161335.2415583-1-jeff.chen_1@nxp.com>
The NXP IW61x series SDIO chipset identifies itself with a base card ID
(0x0204) during the initial MMC bus scan, while the specific WLAN
function reports a different ID (0x0205).
To ensure that the MMC_QUIRK_BLKSZ_FOR_BYTE_MODE quirk is correctly
inherited by all SDIO functions (including Wi-Fi), it must be attached
to the base card ID at the core level.
Add the SDIO_DEVICE_ID_NXP_IW61X_BASE definition and apply the required
fixup in the SDIO quirk table.
Signed-off-by: Jeff Chen <jeff.chen_1@nxp.com>
---
drivers/mmc/core/quirks.h | 3 +++
include/linux/mmc/sdio_ids.h | 1 +
2 files changed, 4 insertions(+)
diff --git a/drivers/mmc/core/quirks.h b/drivers/mmc/core/quirks.h
index 940549d3b95d..ae3ece89d0aa 100644
--- a/drivers/mmc/core/quirks.h
+++ b/drivers/mmc/core/quirks.h
@@ -208,6 +208,9 @@ static const struct mmc_fixup __maybe_unused sdio_fixup_methods[] = {
SDIO_FIXUP(SDIO_VENDOR_ID_MARVELL, SDIO_DEVICE_ID_MARVELL_8887_F0,
add_limit_rate_quirk, 150000000),
+ SDIO_FIXUP(SDIO_VENDOR_ID_NXP, SDIO_DEVICE_ID_NXP_IW61X_BASE,
+ add_quirk, MMC_QUIRK_BLKSZ_FOR_BYTE_MODE),
+
END_FIXUP
};
diff --git a/include/linux/mmc/sdio_ids.h b/include/linux/mmc/sdio_ids.h
index 0685dd717e85..7dac5428afe0 100644
--- a/include/linux/mmc/sdio_ids.h
+++ b/include/linux/mmc/sdio_ids.h
@@ -118,6 +118,7 @@
#define SDIO_DEVICE_ID_MICROCHIP_WILC1000 0x5347
#define SDIO_VENDOR_ID_NXP 0x0471
+#define SDIO_DEVICE_ID_NXP_IW61X_BASE 0x0204
#define SDIO_DEVICE_ID_NXP_IW61X 0x0205
#define SDIO_VENDOR_ID_REALTEK 0x024c
--
2.34.1
next prev parent reply other threads:[~2026-06-05 16:15 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-05 16:13 [PATCH v12 00/22] wifi: nxpwifi: create nxpwifi to support Jeff Chen
2026-06-05 16:13 ` [PATCH v12 01/22] wifi: nxpwifi: add 802.11n support for STA and AP modes Jeff Chen
2026-06-05 16:13 ` [PATCH v12 02/22] wifi: nxpwifi: add initial 802.11ac " Jeff Chen
2026-06-05 16:13 ` [PATCH v12 03/22] wifi: nxpwifi: add initial 802.11ax " Jeff Chen
2026-06-05 16:13 ` [PATCH v12 04/22] wifi: nxpwifi: add 802.11h (DFS/TPC) support Jeff Chen
2026-06-05 16:13 ` [PATCH v12 05/22] wifi: nxpwifi: add WMM support Jeff Chen
2026-06-05 16:13 ` [PATCH v12 06/22] wifi: nxpwifi: add scan support Jeff Chen
2026-06-05 16:13 ` [PATCH v12 07/22] wifi: nxpwifi: add join and association support Jeff Chen
2026-06-05 16:13 ` [PATCH v12 08/22] wifi: nxpwifi: add channel/frequency/power (cfp) support Jeff Chen
2026-06-05 16:13 ` [PATCH v12 09/22] wifi: nxpwifi: add configuration support Jeff Chen
2026-06-05 16:13 ` [PATCH v12 10/22] wifi: nxpwifi: implement cfg80211 ops for STA and AP modes Jeff Chen
2026-06-10 16:10 ` Rafael Beims
2026-06-11 9:43 ` Jeff Chen
2026-06-05 16:13 ` [PATCH v12 11/22] wifi: nxpwifi: add firmware command and TLV definitions Jeff Chen
2026-06-05 16:13 ` [PATCH v12 12/22] wifi: nxpwifi: add command and event handling infrastructure Jeff Chen
2026-06-05 16:13 ` [PATCH v12 13/22] wifi: nxpwifi: add data path support for STA and AP modes Jeff Chen
2026-06-05 16:13 ` [PATCH v12 14/22] wifi: nxpwifi: add debugfs support for diagnostics and testing Jeff Chen
2026-06-05 16:13 ` [PATCH v12 15/22] wifi: nxpwifi: add ethtool support for Wake-on-LAN Jeff Chen
2026-06-05 16:13 ` [PATCH v12 16/22] wifi: nxpwifi: add utility functions and element handling support Jeff Chen
2026-06-05 16:13 ` [PATCH v12 17/22] wifi: nxpwifi: add driver initialization and shutdown support Jeff Chen
2026-06-05 16:13 ` [PATCH v12 18/22] wifi: nxpwifi: add core driver implementation Jeff Chen
2026-06-05 16:13 ` [PATCH v12 19/22] wifi: nxpwifi: add initial SDIO bus driver support Jeff Chen
2026-06-05 16:13 ` [PATCH v12 20/22] wifi: nxpwifi: add Kconfig and Makefile for kernel integration Jeff Chen
2026-06-05 16:13 ` [PATCH v12 21/22] wifi: nxpwifi: add MAINTAINERS entry for nxpwifi driver Jeff Chen
2026-06-05 16:13 ` Jeff Chen [this message]
2026-06-08 6:39 ` [PATCH v12 00/22] wifi: nxpwifi: create nxpwifi to support Johannes Berg
2026-06-08 7:19 ` Jeff Chen
2026-06-08 7:20 ` Johannes Berg
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=20260605161335.2415583-23-jeff.chen_1@nxp.com \
--to=jeff.chen_1@nxp.com \
--cc=briannorris@chromium.org \
--cc=francesco@dolcini.it \
--cc=johannes@sipsolutions.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=ulf.hansson@linaro.org \
--cc=wyatt.hsu@nxp.com \
/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
all inboxes | Powered by JetHome®