From patchwork Sun Feb 9 12:09:05 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13966832 X-Patchwork-Delegate: kuba@kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 318E21DF273; Sun, 9 Feb 2025 12:09:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739102993; cv=none; b=Zjb2e0pvKtjv/tIbNeb2BM8Ztf1o+RYOCqSs76OWVhH5WkBvvklTpoULccCINvpUwUaukeYK9OS43jsHyFRHb6NiJUhkfoaFUBcr1czinI7Sou0th1Kx8B3R9X57hBszfnFLixPqOoBBoQ1568/81xU+MzMfFn1D2jWtm6l7+II= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739102993; c=relaxed/simple; bh=bGoyXY6We520lNEfDX0QPxA2F1231s68QjfLe3Ly2HY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=J1Pr68s7fpJy5B6ZEu8JpFE2EFjTVNVnlAj+gCbF3AVCUHD7PlPxrHhkgK5l+wifQNpDzjDNhU1fE6iOxdSGNlmEiGsj9D/2mhrDZ88FByF5RH4qWF2nQsRrzUtwAchNsURdbfezsssYaYrljSjlEsc/pmVB07StxB/Y7heifmE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=d74gv283; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="d74gv283" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84588C4CEE2; Sun, 9 Feb 2025 12:09:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1739102993; bh=bGoyXY6We520lNEfDX0QPxA2F1231s68QjfLe3Ly2HY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=d74gv283ED0FtwDRBoPT1/WJ9+QspchMTPL6wCkTAVVnwKn6eiIytv/cv/pqZ9G7W Y4Ks5f70cVPgpO2/JggI6KQuNC5UQhzwlFUOifDe+wrqS8c5ZrSzfpNl1PkdImMha6 Ailrzp7FR3hUPy+M1T7v3lcxSUur+Vg1i3QDW+6uX9Vp6vcxAi9Asa5A1uygDd4LaQ TmAMnNoVeLBNd0qX3NOCB2InqsgZO6Tk2C21QHNnlA1t+isVB4jewrS4QTl2bhSQTe ao5qVtLZaGlfRHIX+tqBJdpP/PTDBxViBOEN2KqcCu9LlPwavitalLyJjUo+EgSWFI EmFSQz+ltXH5A== From: Lorenzo Bianconi Date: Sun, 09 Feb 2025 13:09:05 +0100 Subject: [PATCH net-next v3 12/16] dt-bindings: net: airoha: Add airoha,npu phandle property Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250209-airoha-en7581-flowtable-offload-v3-12-dba60e755563@kernel.org> References: <20250209-airoha-en7581-flowtable-offload-v3-0-dba60e755563@kernel.org> In-Reply-To: <20250209-airoha-en7581-flowtable-offload-v3-0-dba60e755563@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-Patchwork-Delegate: kuba@kernel.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 Reviewed-by: Krzysztof Kozlowski --- 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>;