Thread (8 messages) 8 messages, 3 authors, 2026-01-13

Re: [PATCH net-next 2/2] net: airoha: npu: Add the capability to read firmware names from dts

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2026-01-13 08:12:02
Also in: linux-arm-kernel, linux-devicetree, linux-mediatek

On Mon, Jan 12, 2026 at 02:35:57PM +0100, Lorenzo Bianconi wrote:
quoted
static const struct of_device_id of_airoha_npu_match[] = {
        { .compatible = "airoha,en7581-npu", .data = &en7581_npu_soc_data },
        { .compatible = "airoha,an7583-npu", .data = &an7583_npu_soc_data },
        { /* sentinel */ }
};

Why cannot this scheme be extended with another compatible?
yes, that is another possibility I was thinking of but then I found
"firwmare-name" property was quite a common approach.
"firmware-name" is for cases when the firmware is per board, not per
SoC.

Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help