From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CF9B9D38FE8 for ; Wed, 14 Jan 2026 16:29:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Subject:Cc:To:From:Date:Message-ID:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=wOGask9npR+YlnkUj5CzN/Pzieo1MzhAPrMcaH9JsNk=; b=pZULHR9Rc2P+CUBelvFV2sRAT2 3vYEX8PcKCKiT5kbHTTyN/pfGc0jONUhN25V5HZznKJX7BKr9XcckRm5sRTmwvj346oxiHIh2q0Cx MI6LaG1eOr6iXftN9KNGFuJoRxaRkW9H3h3U0+MqqDDHHWUx+dJ4p9+y1Q+qo/s1wMk5enwK1oSlT wcFz8UxQB6hxAKFdxunj/rUDZX/+Vf+8UxP+eHCBAJIHL1Ed285GdwyE53KSZ19Cr5tDRH+F4ic+u ZiZ+ZNGbvE7sLZbRQOOQXfrBog2y6quo9cqwafes3sZPQXHeXKEWUwLie86WTrw3VjedeMwqI5Rf5 ab/nCWNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vg3kX-00000009vbj-3fHt; Wed, 14 Jan 2026 16:29:37 +0000 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vg3kT-00000009vYe-2HnX for linux-mediatek@lists.infradead.org; Wed, 14 Jan 2026 16:29:35 +0000 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-477a219dbcaso102165e9.3 for ; Wed, 14 Jan 2026 08:29:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768408171; x=1769012971; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:subject:cc :to:from:date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=wOGask9npR+YlnkUj5CzN/Pzieo1MzhAPrMcaH9JsNk=; b=X+8LkvPSguzTaoMwIe1vCq89RzpIJ5HbrO/6SUZnwIs73Bo87PzhH4oYwfaluCOqCp MfDEk9AjHwniLm/gujP6pKmcuDsY1a6qIe7fV2EYxpGqbzw86c6VXFTLw7H6KFqJdCs4 Zt8p5jcvg015ktaJx2sJfxWyfEtni9WDLJnWNPkk7UqkqEbzpUVbYJLHYzwAUWvyz1Nq 3XUMqE/+vwDSqW0Ski/aZDEOMDyNINQ/jAjBZuYPGBqmnZ9vBIy5fiAaxuONj138xRUn OhS08Tg3sdfb9HadG8x5eoXq9ELOuZaU4qlF0xPzjJ1k90Q6SaYhTbzYF19BJjj17jeE it5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768408171; x=1769012971; h=in-reply-to:content-disposition:mime-version:references:subject:cc :to:from:date:message-id:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wOGask9npR+YlnkUj5CzN/Pzieo1MzhAPrMcaH9JsNk=; b=cFkiJoyxz19+3Cdr30t7rPF4aDmuiefKUW/G9zAhi52mUcmnj6akvnUivqxPR7otwy 2tCwX4n7nGXTzmxDzF6wU7PnwkZ/HIZjMUlmU/1SHlMT07PbvHAPQxIWkEGDqF17z/mj yZX/zYt8O18EizFUOVnR9jSmWRa+2Ucqg13SqAgerYtHZjTZxw4assVWNYjZR13u4ij/ aoMyBAVaLfGATIYVmcXUMX1DPZmKsgJeBeHzdrKjU1k18JGKM0j1nV1GBdZIKrbBuTjc h3HbM+IuZ5vKN5hxyaa0ZLBpBZZJSP2ixPZFihg0jmSbn4fK88Lu5kYrG4cJuQti9+QI RxDg== X-Forwarded-Encrypted: i=1; AJvYcCX3T+i0ZATQmQMqiHSjsGdPu4T3yhlrP18hRdOtu0WqIL0Q7Xh6HyiF9rj5iAQztu11INMhJIIDIMLQmNdwlQ==@lists.infradead.org X-Gm-Message-State: AOJu0YwBP0esH3vAQK5rgPWRdDyVDEnPI1TefM6buiOwhO6dOD2eAkHg f8Da01VAoqDQkqBdGmw0UVNwFYqc7EsJNANRiTCgWbcHGDzI6yuHLFvV X-Gm-Gg: AY/fxX5gH6XY3IlLFV2BhSGFQPe4i7WZysocb+wK3bBMjsHhy+08Rq7KziqO3oPJVHC G4kZ/mpd5hS9V9WZU7DaT6YNGxa81RKVkdQvgr8INfa+9UPa7d2HBytVIGpb0uVtjxhsO0FOMCE 4sN0kHIJ9A1BRKGjwRY5zWRZOGmm5xU+4LXMfhLHE0tubYaH9+gzJgmHrVcUyzcjOuPrsJU+13q Vaqnp8ozYzYyfdZyVupZ2lpyDdZALMgE5hZC+VbTA4s7zKkh27+gt4F/qVRBN1MdI+csTH0/M4E E+pc9USoylzHNNiSDKi4kii6x58Ww1wdiYUMVs91MzKvZLuRHl7a9GKVkRfQcE6tKLaQP20EdZu uibjXDFxnjRCia1JyzgsiS6F9UPbslK+QC+jHAh+ucHZcbX4fQ5PYRU+tEfLq5bYZQFs1uRC6Zh 6JcIaYCp7A1mE7WWEd8BFmwH6HabKPL4bbKiUcVGk= X-Received: by 2002:a05:6000:310b:b0:430:fe22:5f1c with SMTP id ffacd0b85a97d-4342d5dd3d4mr3043280f8f.59.1768408171137; Wed, 14 Jan 2026 08:29:31 -0800 (PST) Received: from Ansuel-XPS. (93-34-88-81.ip49.fastwebnet.it. [93.34.88.81]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-434af6b2988sm147835f8f.28.2026.01.14.08.29.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jan 2026 08:29:30 -0800 (PST) Message-ID: <6967c46a.5d0a0220.1ba90b.393c@mx.google.com> X-Google-Original-Message-ID: Date: Wed, 14 Jan 2026 17:29:28 +0100 From: Christian Marangi To: Andrew Lunn Cc: Krzysztof Kozlowski , Lorenzo Bianconi , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH net-next v2 1/2] dt-bindings: net: airoha: npu: Add EN7581-7996 support References: <20260113-airoha-npu-firmware-name-v2-0-28cb3d230206@kernel.org> <20260113-airoha-npu-firmware-name-v2-1-28cb3d230206@kernel.org> <20260114-heretic-optimal-seahorse-bb094d@quoll> <75f9d8c9-20a9-4b7e-a41c-8a17c8288550@kernel.org> <69676b6c.050a0220.5afb9.88e4@mx.google.com> <69677256.5d0a0220.2dc5a5.fad0@mx.google.com> <76bbffa8-e830-4d02-a676-b494616568a2@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <76bbffa8-e830-4d02-a676-b494616568a2@lunn.ch> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260114_082933_603109_74D15B65 X-CRM114-Status: GOOD ( 18.68 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org On Wed, Jan 14, 2026 at 04:56:02PM +0100, Andrew Lunn wrote: > > > Yes. What you plug into PCI is not a part of this hardware, so cannot be > > > part of the compatible. > > > > > > > Thanks for the quick response. Just to make sure Lorenzo doesn't get > > confused, I guess a v3 would be sending v1 again (firmware-names > > implementation series) with the review tag and we should be done with > > this. > > Since this is a PCI device, you can ask it what it is, and then load > the correct firmware based on the PCI vendor:product. You don't need > to describe the hardware in DT because it is enumerable. > Hi Andrew, I think it's problematic to create a bind between the NPU and PCIe. Do you have any hint on how it's possible to read the PCI device attached? I'm not aware of any API that can be used to enumerate what pcie devices is present on the device? Considering how tightly integrated things are in this SoC I still feel firmware-names is the most effective solution for this. The WiFi offload is mostly optional and sadly due to Airoha limitation, it's not possible to have separate blob for the single feature/support. -- Ansuel