From patchwork Fri Feb 21 10:28:12 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13985252 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 BF07BC021AA for ; Fri, 21 Feb 2025 10:57:50 +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=EotvCmIg76eD5bu40Jq0Nke6pVYu8L5NVdcYEJafa9E=; b=W7ZIzIrz0vhnK8uF/Czf18zYXK dTm/6ePOyvzQ2kJE6cTrEgBfLHCsqCC117Q5dbN7HQTwmIooy7dT77gMYDnl3tI+psbK9hx0x2Wse /kedMVEAwWd0WvffAbwW6Ycz6YMv8CoyZUs+GYhSK767zx2UrYlizi5smh/Qzbu/PQbXe8SaswRJH 7m8jFOvOTbvwdMsDNmjEEcmmVGoQvOgZsL8QUmr2gsCBE5uIAsqngzBnO4kzqPjUW/d2AP4abrq3i 58b/5Q4QFrulijs9M1FNtGYeIkX82yiF4me0nRu6369j7ETxq/IdYHE0RKWr5WFeYNoXNoBkqxFcH 2mwW3khg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tlQiz-00000005G80-0PYL; Fri, 21 Feb 2025 10:57:41 +0000 Received: from tor.source.kernel.org ([2600:3c04::f03c:95ff:fe5e:7468]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tlQHA-00000005BIb-1zyu; Fri, 21 Feb 2025 10:28:56 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id BCC4961190; Fri, 21 Feb 2025 10:28:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3A6BAC4CED6; Fri, 21 Feb 2025 10:28:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1740133735; bh=JZDiAKKeX0eSnGFkmKTsrRKkLXrlYR1V8xaHJKtSw9k=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=YgbCUShdt8jY/kZz93EPc9er2EqD021hkF5x//AiE8CbTYpyW0aCa8ykNgJW4wq5D y3+wvBniGvCKNgW7nJb/uum6Mkbu9jpR0JOtKxfzFhlwQu2zTNFro6ZOL3joKjl1zu ppqM72keTtlZSbojRUXm8NncyhcRl0Hobcd8gXTqOIOE/Dt2gkH59hkJktzT/BX38l 6uY2TSk1fzVLdJrfagc7zjNw+sY0SAw3XaAN8J+nXTzdYT5ezIc2zZ5DSuun7CigtA pPq+jCBZkxcThdv+ne8DjtD75hiv50xzSiAC6CQZeJ8K/vJXQqucldKo7pELYfACth Ay5FiX0cM2u8Q== From: Lorenzo Bianconi Date: Fri, 21 Feb 2025 11:28:12 +0100 Subject: [PATCH net-next v6 11/15] dt-bindings: net: airoha: Add airoha,npu phandle property MIME-Version: 1.0 Message-Id: <20250221-airoha-en7581-flowtable-offload-v6-11-d593af0e9487@kernel.org> References: <20250221-airoha-en7581-flowtable-offload-v6-0-d593af0e9487@kernel.org> In-Reply-To: <20250221-airoha-en7581-flowtable-offload-v6-0-d593af0e9487@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, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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. Reviewed-by: Krzysztof Kozlowski 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>;