Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3269112rwb; Mon, 7 Aug 2023 10:38:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEHJ6wVSofUsElCgV7Zp94t34kGpSN2wrn2SxyDqLpkQ/ae5X8MO7FhWgysS5WZlrLnmr9/ X-Received: by 2002:a17:903:2351:b0:1bb:a85c:23cc with SMTP id c17-20020a170903235100b001bba85c23ccmr12190144plh.15.1691429924304; Mon, 07 Aug 2023 10:38:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691429924; cv=none; d=google.com; s=arc-20160816; b=aHWT15rrA8grbOHkt0+ddbK+6RCC3S8h0cl9+G40h/sXazr2q5z9UOBpSK05oU31U/ 4Yvv2ld0CFJUVTPLFWTLnyfRlByA/PMafYcKI/N9HPEAOD7La1NXDHV8FzK0zjMA96Jw ryqvNfiHDE7M8JQj44ycbejAOtzRCuokcwP+NZSpUVowQd4S+0m5abeuoJYP4w9+ZRyt bJa5GYHNMIGzb+OnuxdtdDsVkda1nu9ENjqi4EPaoe3r1i6/+c4bVxCDcJCftz0aSdn2 n6AHsKCiJBEz0hYUwMo/fqyZaTOGIwBOLtbAR4v8YTBJW8c6wpf9XVv+YqnZpTVskoME /HSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=gdS17M0v9eehqKoNk2gtbDm377o/x71bYrEewgeel14=; fh=UEVvRAFK6gmZxZNnJDUC7AmNk/iU78fiWA23OmiDi44=; b=UcWIdADml8U9M8Bw8QRzeiFv5HYFbvZ7zzcnOXdCjEMkKis1qtMshp0imeJaQ3HGLt TgtdJMgQ/jKipKjTJN306D7CDcbFYZyixCQ9C5t9Rm3PbHm2l68UnIJGEulQ0HgDtt1r DWTfn9Xf7GYx5a1d1QwRjrrS8eCZELBI62UJui3lYoVXFagCtrNxuhI6MnCtkwpQ0KZr 04DA9FKjxuaTaIv4YzluDZGHImJE0GQ1xL/CgR3H8wCbQQ6v08SzP6EXqzMd1kvvqFHM 0QeUUqmpO/d/xgs1XjfFxjDhsj0F7fXbwH7om9+7cTgL+l+A2tmX8pmzadH8I8bUltS/ QVzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="MqZc/lNm"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t4-20020a170902e1c400b001aaed82c2afsi5903347pla.171.2023.08.07.10.38.31; Mon, 07 Aug 2023 10:38:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="MqZc/lNm"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232030AbjHGQyr (ORCPT + 99 others); Mon, 7 Aug 2023 12:54:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232004AbjHGQyi (ORCPT ); Mon, 7 Aug 2023 12:54:38 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 534CE1FC8; Mon, 7 Aug 2023 09:54:12 -0700 (PDT) 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 8984D61FBE; 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 -- 2.40.1