Skip to content

wifi: iwlwifi: add Device Tree hardware integration information

Avinash Bhatt linux-devicetree linux-wireless lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 3 repliesIn review
  2. v23 patches 9 repliesSuperseded
  3. v11 patch 5 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: net: wireless: Add Intel Wi-Fi 7 BE200 PCIe adapterDocumentation/devicetree/bindings/net/wireless/intel,iwlwifi.yaml MAINTAINERS+249 -03 replies
2/3wifi: iwlwifi: dt: add Device Tree BIOS configuration infrastructuredrivers/net/wireless/intel/iwlwifi/Makefile drivers/net/wireless/intel/iwlwifi/fw/acpi.h drivers/net/wireless/intel/iwlwifi/fw/api/nvm-reg.h +6 more+510 -80 replies
3/3wifi: iwlwifi: dt: use Device Tree as fallback BIOS configuration sourcedrivers/net/wireless/intel/iwlwifi/fw/regulatory.c drivers/net/wireless/intel/iwlwifi/mld/mld.c drivers/net/wireless/intel/iwlwifi/mld/regulatory.c+10 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] wifi: iwlwifi: add Device Tree hardware integration information

Add Device Tree support for Intel Wi-Fi hardware integration information on platforms that do not provide UEFI variables or ACPI methods.

Patch 1/3 adds the DT binding schema for the Intel iwlwifi compatible node. Patches 2/3 and 3/3 add the driver infrastructure and integrate DT as the lowest-priority fallback after UEFI and ACPI; they are included for reference to show how the binding is consumed by the driver and will be merged through the regular iwlwifi upstreaming process, not through the DT tree.

Changes since v2:

Binding (patch 1/3):
- Subject and title updated to describe the BE200 hardware
- Revision header cell removed from all properties; each property is now a scalar uint32 or plain fixed-size array
- intel,wrds: reduced to 49 cells (mode word + 4x12 SAR values)
- intel,uats: reduced to 338 bytes (26x13 country nibble matrix)
- Removed allOf/items const: 0 constraints from all properties
- intel,srd: changed from integer enum to string enum (active-scan/passive-scan/disabled)
- Removed "reserved, must be 0" annotations; bits with no assigned meaning are not documented
- Added allOf: $ref: /schemas/net/wireless/ieee80211.yaml#

Driver (patch 2/3):
- Removed dsm_func_to_prop_name() and all IWL_DT_PROP_* defines; each property function now calls of_property_read_*() directly with the literal property string
- Driver updated to match binding changes (no revision cells, string-based intel,srd, scalar uint32 DSM properties, 338-byte intel,uats)
- Added iwl_dt_init() to validate DT node compatible at probe time;

    all DT reads gated on fwrt->dt_compatible

- fw/dt.h now includes fw/runtime.h directly, making it self-contained

Fallback integration (patch 3/3):
- No changes from v2

Link to v2: https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/
Link to v1: https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/
Link to RFC: https://patchwork.kernel.org/project/devicetree/patch/[email protected]/

Avinash Bhatt (3):
dt-bindings: net: wireless: Add Intel Wi-Fi 7 BE200 PCIe adapter
wifi: iwlwifi: dt: add Device Tree BIOS configuration infrastructure
wifi: iwlwifi: dt: use Device Tree as fallback BIOS configuration source

 .../bindings/net/wireless/intel,iwlwifi.yaml  | 248 +++++++++++++++++
 MAINTAINERS                                   |   1 +
 drivers/net/wireless/intel/iwlwifi/Makefile   |   1 +
 drivers/net/wireless/intel/iwlwifi/fw/acpi.h  |   5 +-
 .../wireless/intel/iwlwifi/fw/api/nvm-reg.h   |   4 +-
 drivers/net/wireless/intel/iwlwifi/fw/dt.c    | 332 +++++++++++++++++++
 drivers/net/wireless/intel/iwlwifi/fw/dt.h    | 161 +++++++++
 drivers/net/wireless/intel/iwlwifi/fw/init.c  |   4 +-
 .../wireless/intel/iwlwifi/fw/regulatory.c    |   3 +++
 .../wireless/intel/iwlwifi/fw/regulatory.h    |   3 +-
 drivers/net/wireless/intel/iwlwifi/fw/runtime.h |  6 +-
 drivers/net/wireless/intel/iwlwifi/mld/mld.c |   3 +++
 .../intel/iwlwifi/mld/regulatory.c            |   5 ++-
 13 files changed, 772 insertions(+), 11 deletions(-)
Signature · 1 line
2.34.1