From patchwork Wed Aug 16 15:29:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jisheng Zhang X-Patchwork-Id: 135958 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b82d:0:b0:3f2:4152:657d with SMTP id z13csp999811vqi; Thu, 17 Aug 2023 14:55:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEmAwU8QhK3ruhW/wNJXJMejM+yWkTP0gEl9pGawVVmOj3cvB7pIg1JqJwbQ3AKmsvBw3AP X-Received: by 2002:a17:902:6b86:b0:1bd:b7ad:a584 with SMTP id p6-20020a1709026b8600b001bdb7ada584mr611529plk.44.1692309342151; Thu, 17 Aug 2023 14:55:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692309342; cv=none; d=google.com; s=arc-20160816; b=YbnhHAhXEo3LvpH1tn4CMWAZ2esrzUZoj3L4BIBHxFi7NOzLLg32LytbVhluJpFp8v JsQ/zQpdGVif0u2I1AkLksADm5qYjt+x/Wc+9e1Gsx0K6nKYFgUqwfHCZqnU1bndQZco rHGbg5v1ocAOhjoY5JVN+B78SuDHPqrSxDhS35F295eEPYygqwg16dp/fOQw/jc4qEWS qdxRaetmRkU9QAvAHA8WkfPxu/hSTiHsLkfrIGGOY/ftMYPW1HGrtfq3JK1LV1MqhMhp aYzN/W/fP3MEc3DCuSWbC7x1W0gRHw3skD2cu+IGeo5Sjb8NbEUHOELhAE7fAlGXxxLy X/Iw== 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=KzW0wn23f8/M6eEDsNbepPb1IrT27TKzzrJPMnB+Hcs=; fh=UEVvRAFK6gmZxZNnJDUC7AmNk/iU78fiWA23OmiDi44=; b=NK0lro/A15ceH2ecFER97bxXnDJhKwgQvo4BJRuy3Jx9xPJhO6mcnj285mCbU0oD50 UaCerCWhNh5ZV6BQDyw+FhBce8zoPz52NY+3cZp3yfSV4cUyl6WNLJ//0S94csOGQ4FZ 8DBoV5oopwxnR+fn702ps7BsCfwn5VY5htWXymGte/ENE94rqGOGD1M2b1vjXYjpwzwr lJusUI2JXMb2TydN3+DsRaEhMq9XFlZba3bpv32knZbyBxHa5JvTtHCc0os5wByNjj2i TZN0JdBJyR2zCzauARU1ny4NDFkV3HCMFFjWPx39NRjUVwBbnWl/fyRoHh+9C056ZV4P GALw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=us4YEJrI; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x64-20020a638643000000b0055391572218si240459pgd.26.2023.08.17.14.55.28; Thu, 17 Aug 2023 14:55:42 -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=us4YEJrI; 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 S1344220AbjHPPmM (ORCPT + 99 others); Wed, 16 Aug 2023 11:42:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344246AbjHPPlk (ORCPT ); Wed, 16 Aug 2023 11:41:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BA3C26A6; Wed, 16 Aug 2023 08:41:39 -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 19ACE64BBE; Wed, 16 Aug 2023 15:41:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3590C433C9; Wed, 16 Aug 2023 15:41:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692200498; bh=W7ECQIQKfvKMVwcR9VbSxLGQ7/jrBCtA74xsM15z9nY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=us4YEJrIjLgKQxbwGjwCLfE6bE3pafzZjx4+B1IVzGtfxbATVImmtgqswUEx7AX0s nBevXHzge5vCXJOGA2h/yJR7uiWdyIxu1iiqE0OA04Dfm29ViYnQcnFMYOTEVCkw5h 4iERHf0xu2KiQGHt6LCFqt5ngziHzveSCCCNIjmKYA0cLmWf+UTxoY0uhj2ObRYLZ0 PK2KYD426Fczi8sfmCgrTZ0kTvoua4ijGULP5KMQHI57jJP4FsEqCsEvwtdkl/Pm3f IQ+FIn8cJuYd6MC3DRtQnbye3Blvp/dE7PsloZ/xSgDj0rqRRfjXoeoLvGgr3mOWLJ MboC8CXUc7GJg== 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 v4 6/9] dt-bindings: net: snps,dwmac: add safety irq support Date: Wed, 16 Aug 2023 23:29:23 +0800 Message-Id: <20230816152926.4093-7-jszhang@kernel.org> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230816152926.4093-1-jszhang@kernel.org> References: <20230816152926.4093-1-jszhang@kernel.org> MIME-Version: 1.0 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1774514960594133368 X-GMAIL-MSGID: 1774514960594133368 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 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index ddf9522a5dc2..b8d01bba6e1a 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -107,13 +107,18 @@ 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 items: - const: macirq - - enum: [eth_wake_irq, eth_lpi] - - const: eth_lpi + - enum: + - eth_wake_irq + - eth_lpi + - sfty_ce + - sfty_ue clocks: minItems: 1