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,
tsung-hsien.hsieh@nxp.com, s.hauer@pengutronix.de,
Jeff Chen <jeff.chen_1@nxp.com>
Subject: [PATCH v8 20/22] wifi: nxpwifi: add NXP vendor and IW61x device IDs to sdio_ids.h
Date: Fri, 5 Dec 2025 14:55:43 +0800 [thread overview]
Message-ID: <20251205065545.3325032-21-jeff.chen_1@nxp.com> (raw)
In-Reply-To: <20251205065545.3325032-1-jeff.chen_1@nxp.com>
Register NXP's SDIO vendor ID (0x0471) and IW61x device ID (0x0205)
in the global SDIO ID list. This allows the nxpwifi SDIO driver to
match and bind to supported NXP Wi-Fi chips via the SDIO bus.
Signed-off-by: Jeff Chen <jeff.chen_1@nxp.com>
---
.../bindings/net/wireless/nxp,iw61x.yaml | 85 +++++++++++++++++++
include/linux/mmc/sdio_ids.h | 3 +
2 files changed, 88 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/wireless/nxp,iw61x.yaml
diff --git a/Documentation/devicetree/bindings/net/wireless/nxp,iw61x.yaml b/Documentation/devicetree/bindings/net/wireless/nxp,iw61x.yaml
new file mode 100644
index 000000000000..358714796868
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/wireless/nxp,iw61x.yaml
@@ -0,0 +1,85 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/net/wireless/nxp,iw61x.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: NXP IW61x SDIO devices
+
+maintainers:
+ - Jeff Chen <jeff.chen_1@nxp.com>
+
+description:
+ This node provides properties for describing the NXP SDIO wireless device.
+ The node is expected to be specified as a child node to the SDIO controller that
+ connects the device to the system.
+
+properties:
+ compatible:
+ enum:
+ - nxp,iw612
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ wakeup-source: true
+
+ nxp,caldata-txpwrlimit-2g:
+ $ref: /schemas/types.yaml#/definitions/uint8-array
+ description: Calibration data for the 2GHz band.
+ maxItems: 566
+
+ nxp,caldata-txpwrlimit-5g-sub0:
+ $ref: /schemas/types.yaml#/definitions/uint8-array
+ description: Calibration data for sub-band 0 in the 5GHz band.
+ maxItems: 502
+
+ nxp,caldata-txpwrlimit-5g-sub1:
+ $ref: /schemas/types.yaml#/definitions/uint8-array
+ description: Calibration data for sub-band 1 in the 5GHz band.
+ maxItems: 688
+
+ nxp,caldata-txpwrlimit-5g-sub2:
+ $ref: /schemas/types.yaml#/definitions/uint8-array
+ description: Calibration data for sub-band 2 in the 5GHz band.
+ maxItems: 750
+
+ nxp,caldata-txpwrlimit-5g-sub3:
+ $ref: /schemas/types.yaml#/definitions/uint8-array
+ description: Calibration data for sub-band 3 in the 5GHz band.
+ maxItems: 502
+
+ nxp,wakeup-pin:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description:
+ Provides the pin number for the wakeup pin from the device's point of
+ view. The wakeup pin is used for the device to wake the host system
+ from sleep. This property is only necessary if the wakeup pin is
+ wired in a non-standard way, such that the default pin assignments
+ are invalid.
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/irq.h>
+
+ mmc {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ wifi@1 {
+ compatible = "nxp,iw612";
+ reg = <1>;
+ interrupt-parent = <&pio>;
+ interrupts = <38 IRQ_TYPE_LEVEL_LOW>;
+ nxp,wakeup-pin = <3>;
+ };
+ };
diff --git a/include/linux/mmc/sdio_ids.h b/include/linux/mmc/sdio_ids.h
index 673cbdf43453..39ac2b612e4a 100644
--- a/include/linux/mmc/sdio_ids.h
+++ b/include/linux/mmc/sdio_ids.h
@@ -116,6 +116,9 @@
#define SDIO_VENDOR_ID_MICROCHIP_WILC 0x0296
#define SDIO_DEVICE_ID_MICROCHIP_WILC1000 0x5347
+#define SDIO_VENDOR_ID_NXP 0x0471
+#define SDIO_DEVICE_ID_NXP_IW61X 0x0205
+
#define SDIO_VENDOR_ID_REALTEK 0x024c
#define SDIO_DEVICE_ID_REALTEK_RTW8723BS 0xb723
#define SDIO_DEVICE_ID_REALTEK_RTW8821BS 0xb821
--
2.34.1
next prev parent reply other threads:[~2025-12-05 6:58 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-05 6:55 [PATCH v8 00/22] wifi: nxpwifi: create nxpwifi to support Jeff Chen
2025-12-05 6:55 ` [PATCH v8 01/22] wifi: nxpwifi: Add 802.11n support for client and AP modes Jeff Chen
2025-12-05 6:55 ` [PATCH v8 02/22] wifi: nxpwifi: add initial support for 802.11ac Jeff Chen
2025-12-05 6:55 ` [PATCH v8 03/22] wifi: nxpwifi: add initial support for 802.11ax Jeff Chen
2025-12-05 6:55 ` [PATCH v8 04/22] wifi: nxpwifi: add support for 802.11h (DFS and TPC) Jeff Chen
2025-12-05 6:55 ` [PATCH v8 05/22] wifi: nxpwifi: add support for WMM Jeff Chen
2025-12-05 6:55 ` [PATCH v8 06/22] wifi: nxpwifi: add scan support Jeff Chen
2025-12-05 6:55 ` [PATCH v8 07/22] wifi: nxpwifi: add join and association support Jeff Chen
2025-12-05 6:55 ` [PATCH v8 08/22] wifi: nxpwifi: add channel/frequency/power (cfp) support Jeff Chen
2025-12-05 6:55 ` [PATCH v8 09/22] wifi: nxpwifi: add configuration support Jeff Chen
2025-12-05 6:55 ` [PATCH v8 10/22] wifi: nxpwifi: implement cfg80211 ops for STA and AP modes Jeff Chen
2025-12-05 6:55 ` [PATCH v8 11/22] wifi: nxpwifi: add firmware command and TLV definitions Jeff Chen
2025-12-05 6:55 ` [PATCH v8 12/22] wifi: nxpwifi: introduce command and event handling infrastructure Jeff Chen
2025-12-05 7:11 ` Sascha Hauer
2025-12-05 8:40 ` Jeff Chen
2025-12-05 6:55 ` [PATCH v8 13/22] wifi: nxpwifi: add data path support for STA and AP modes Jeff Chen
2025-12-05 6:55 ` [PATCH v8 14/22] wifi: nxpwifi: add debugfs support for diagnostics and testing Jeff Chen
2025-12-05 6:55 ` [PATCH v8 15/22] wifi: nxpwifi: add ethtool support for Wake-on-LAN Jeff Chen
2025-12-05 6:55 ` [PATCH v8 16/22] wifi: nxpwifi: add utility and IE handling support Jeff Chen
2025-12-05 6:55 ` [PATCH v8 17/22] wifi: nxpwifi: add driver initialization and shutdown support Jeff Chen
2025-12-05 6:55 ` [PATCH v8 18/22] wifi: nxpwifi: add core driver implementation Jeff Chen
2025-12-05 6:55 ` [PATCH v8 19/22] wifi: nxpwifi: add initial SDIO bus driver support Jeff Chen
2025-12-05 7:51 ` Krzysztof Kozlowski
2025-12-05 6:55 ` Jeff Chen [this message]
2025-12-05 7:46 ` [PATCH v8 20/22] wifi: nxpwifi: add NXP vendor and IW61x device IDs to sdio_ids.h Krzysztof Kozlowski
2025-12-05 6:55 ` [PATCH v8 21/22] wifi: nxpwifi: add Kconfig and Makefile for kernel integration Jeff Chen
2025-12-05 6:55 ` [PATCH v8 22/22] wifi: nxpwifi: add MAINTAINERS entry for nxpwifi driver Jeff Chen
2025-12-16 14:52 ` [v8,00/22] wifi: nxpwifi: create nxpwifi to support Romit Chatterjee
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=20251205065545.3325032-21-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=tsung-hsien.hsieh@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®