Thread (26 messages) 26 messages, 5 authors, 2026-01-19

Re: [PATCH net-next v2 1/2] dt-bindings: net: airoha: npu: Add EN7581-7996 support

From: Benjamin Larsson <hidden>
Date: 2026-01-17 19:27:28
Also in: linux-arm-kernel, linux-devicetree, linux-mediatek

On 17/01/2026 18:53, Lorenzo Bianconi wrote:
Airoha folks reported the NPU hw can't provide the PCIe Vendor/Device ID info
of the connected WiFi chip.
I guess we have the following options here:
- Rely on the firmware-name property as proposed in v1
- Access the PCIe bus from the NPU driver during probe in order to enumerate
   the PCIe devices and verify WiFi chip PCIe Vendor/Device ID
- During mt76 probe trigger the NPU fw reload if required. This approach would
   require adding a new callback in airoha_npu ops struct (please note I have
   not tested this approach and I not sure this is really doable).

What do you think? Which one do you prefer?

Regards,
Lorenzo
Please note that there might be nothing connected to the pcie bus thus 
nothing to enumerate and the mt76-driver might not be present. (Lots of 
fiber termination only products use this configuration).

For those cases I would prefer the v1 proposal.

MvH

Benjamin Larsson
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help