From patchwork Fri Feb 7 16:26:26 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13965478 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 4EC5EC02194 for ; Fri, 7 Feb 2025 16:47:00 +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:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=YZHdp5Nr9tpYEZfm6hk3g26pMU4twGreOws503+v7ZY=; b=IClylr13yMiI7TN3eR9QBc60+Y o0L+bzkImxhgQoUT+kiISLazbm/FZtJOReJR63SiTKryIPz9TvZLR/6pIC784T8A1P8ihcR0FhMqt CdCZ5hW6FpGkN63cjd7VfnZ4nTVSFM4w0zcrnz5yVdxMGPHfVEw11NR9rVRgV0O4ZiFvz4hvGbE8z gMPJNHN9ucJEkJCouRLwrZpu/pnOeacrV0kqXTc+b3Y6n8/qjOtl//b+kVIFTRzFSc9wWTrlO8XcZ 9TF/fnEwO1YRJWQg7ZAjn2XR8Ctm3edQU5Oa12gCE/d8aRZMv394Ixfz8gyRH/PWDmHHmsu+vWd1N Rfggp7PA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tgRVL-0000000ALdx-1ILs; Fri, 07 Feb 2025 16:46:59 +0000 Received: from nyc.source.kernel.org ([147.75.193.91]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tgRCG-0000000AHTj-3PBr; Fri, 07 Feb 2025 16:27:17 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 35385A426EC; Fri, 7 Feb 2025 16:25:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 62BE5C4CED1; Fri, 7 Feb 2025 16:27:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1738945635; bh=bGoyXY6We520lNEfDX0QPxA2F1231s68QjfLe3Ly2HY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=XdxQvQ20Kw9ANVzxvjBOpy7vbWvm9FmIF+97NFRRH/jyGIw7EeQHS+2wTwT5zgWBG OTJV2L+ay43MTPUosaH/O90mVcWkJf5tz4MmSvVTEv+1paFUjS2THb2upLLxqx3Gij eK/AHRE0xfrFwryIGeS1H4ZdeEBCKV0ecpC3Qpny1Ke2NdHIbXoo6yOJeK2tn5sD4O /bdbzSjEes9SrKOP8e1IrVUQsos4he+jsVZC+CF3xQi+IDwpm31s4EBfRlNqLzin06 pFm+k/ATShTMw2RGs0o3Z4W1CytijjcwWB2sDJm4Oq9jImSNanjAyUYMbvjno+eZBq 4mmStQOW9PRbw== From: Lorenzo Bianconi Date: Fri, 07 Feb 2025 17:26:26 +0100 Subject: [PATCH net-next v2 11/15] dt-bindings: net: airoha: Add airoha,npu phandle property MIME-Version: 1.0 Message-Id: <20250207-airoha-en7581-flowtable-offload-v2-11-3a2239692a67@kernel.org> References: <20250207-airoha-en7581-flowtable-offload-v2-0-3a2239692a67@kernel.org> In-Reply-To: <20250207-airoha-en7581-flowtable-offload-v2-0-3a2239692a67@kernel.org> To: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Felix Fietkau , Sean Wang , Matthias Brugger , AngeloGioacchino Del Regno , Philipp Zabel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Bianconi , "Chester A. Unal" , Daniel Golle , DENG Qingfang , Andrew Lunn , Vladimir Oltean Cc: netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, upstream@airoha.com X-Mailer: b4 0.14.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250207_082716_919421_8F26E4AB X-CRM114-Status: UNSURE ( 9.38 ) X-CRM114-Notice: Please train this message. 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 Introduce the airoha,npu property for the NPU node available on EN7581 SoC. The airoha Network Processor Unit (NPU) is used to offload network traffic forwarded between Packet Switch Engine (PSE) ports. Signed-off-by: Lorenzo Bianconi --- Documentation/devicetree/bindings/net/airoha,en7581-eth.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/net/airoha,en7581-eth.yaml b/Documentation/devicetree/bindings/net/airoha,en7581-eth.yaml index c578637c5826db4bf470a4d01ac6f3133976ae1a..0fdd1126541774acacc783d98e4c089b2d2b85e2 100644 --- a/Documentation/devicetree/bindings/net/airoha,en7581-eth.yaml +++ b/Documentation/devicetree/bindings/net/airoha,en7581-eth.yaml @@ -63,6 +63,14 @@ properties: "#size-cells": const: 0 + airoha,npu: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle to the node used to configure the NPU module. + The Airoha Network Processor Unit (NPU) provides a configuration + interface to implement hardware flow offloading programming Packet + Processor Engine (PPE) flow table. + patternProperties: "^ethernet@[1-4]$": type: object @@ -132,6 +140,8 @@ examples: , ; + airoha,npu = <&npu>; + #address-cells = <1>; #size-cells = <0>;