From patchwork Mon Aug 7 16:41:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jisheng Zhang X-Patchwork-Id: 13344601 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 DB247C00528 for ; Mon, 7 Aug 2023 16:54:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=X824vFexoRYA0qpdNumZuhSxWOdk9Nq4lWn5jOtCdbo=; b=ftr1rb4AYbMpzb UBqx8pH+bpcbz43pDI1/fXOS4wuVYdeckh4SAvrgb9Wx2t0Dv3lkCDryHTsnYs8LILNhrd7hSnCNv c4Fr4W9n02jE27ZDOhlApM2okF5PKfY0TKiqp0zszYIygf0jhQoCPtnIyHb/dideXfuKv75Nlss6s Ni0nNN5vrroqd6X5ePia2xdd9/cA3VQWpr5uAysw5h7AfT+6xZo8yX3VskitI1GOCiYFZ+vxyudwJ rHJHLMWmspGPNGzE8M7IpouADoHCMtJwMm132UY92WU69rUlCthAHlJztJDkopYJ3jNWR65wWAbMS 4R+02B7UyPVKZIeDa1TA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qT3Uc-000Eon-1E; Mon, 07 Aug 2023 16:54:06 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qT3UW-000EkN-21 for linux-arm-kernel@lists.infradead.org; Mon, 07 Aug 2023 16:54:01 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2C18D61FA8; Mon, 7 Aug 2023 16:54:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D94CC07616; Mon, 7 Aug 2023 16:53:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691427240; bh=DbCsnFuIRCDw4RClbgLWL7mrfxpciKVOySkovPw9qFo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MqZc/lNm3p5A0/axSHPM+HKodX/2okxj2yUncPg8/EuidVFfhDFrPQXfyH4p2TbqL Sss7KEJd7Kshoa771W7BJ4/pvsFSUUsjfebuEHNP6B5a2q4+sZkGjpeRMwKVdym6XK rybcVtLL6zDgSQHTm+9ngtp+lgZNJv0ety3ISoCYcWUNWJaD/CFQF1imyrH9kY7xfy OpWCyW3bYYlhti8Jb5DEkVLC3H2m8AURoMGaLxbt3FoAVsksJvGC0Q4CoAh+oIU0G5 SLzEWFACPwGQAp1QWkk2ZC5eqA28r6loGcSxYCYIYNHiGu2yAEqOJZYEOziKlF26Wo VBcZ/LnCfvb1g== From: Jisheng Zhang To: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH net-next v2 07/10] dt-bindings: net: snps,dwmac: add safety irq support Date: Tue, 8 Aug 2023 00:41:48 +0800 Message-Id: <20230807164151.1130-8-jszhang@kernel.org> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230807164151.1130-1-jszhang@kernel.org> References: <20230807164151.1130-1-jszhang@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230807_095400_704032_348599AE X-CRM114-Status: UNSURE ( 9.64 ) X-CRM114-Notice: Please train this message. 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 The snps dwmac IP support safety features, and those Safety Feature Correctible Error and Uncorrectible Error irqs may be separate irqs. Signed-off-by: Jisheng Zhang --- Documentation/devicetree/bindings/net/snps,dwmac.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index ddf9522a5dc2..5d81042f5634 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -107,6 +107,8 @@ properties: - description: Combined signal for various interrupt events - description: The interrupt to manage the remote wake-up packet detection - description: The interrupt that occurs when Rx exits the LPI state + - description: The interrupt that occurs when Safety Feature Correctible Errors happen + - description: The interrupt that occurs when Safety Feature Uncorrectible Errors happen interrupt-names: minItems: 1 @@ -114,6 +116,8 @@ properties: - const: macirq - enum: [eth_wake_irq, eth_lpi] - const: eth_lpi + - const: sfty_ce + - const: sfty_ue clocks: minItems: 1