[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4d4661f9-6820-453a-856f-bf5dedd8fb0b@genexis.eu>
Date: Sat, 17 Jan 2026 20:27:21 +0100
From: Benjamin Larsson <benjamin.larsson@...exis.eu>
To: Lorenzo Bianconi <lorenzo@...nel.org>, Andrew Lunn <andrew@...n.ch>
Cc: Christian Marangi <ansuelsmth@...il.com>,
Krzysztof Kozlowski <krzk@...nel.org>, Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, netdev@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org
Subject: Re: [PATCH net-next v2 1/2] dt-bindings: net: airoha: npu: Add
EN7581-7996 support
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
Powered by blists - more mailing lists