Received: by 2002:a05:7412:bc1a:b0:d7:7d3a:4fe2 with SMTP id ki26csp374392rdb; Sat, 19 Aug 2023 05:26:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFe3Oz9CuDDL6y5iAukuZFsYrxsIKrlwQ0No8SOqTdVKrUWcXfggJYyiWXWdetFgqsBNyhv X-Received: by 2002:a05:6a00:2d0c:b0:676:2a5c:7bc5 with SMTP id fa12-20020a056a002d0c00b006762a5c7bc5mr2361168pfb.1.1692448016146; Sat, 19 Aug 2023 05:26:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692448016; cv=none; d=google.com; s=arc-20160816; b=aHMa+uqTovb1OWvH2S1NqLjXElTENwPj0+NBgdexytGUSL91COaYGx7FlGNDcuf/Lm RNb+yPaNG7+XErzR2dlrKPuK/TSEq8+i6tMNcFHiT4tjuZDytX1jNF1WUwsci4jTVLBA M8ngVOvR53LzBAFkgIYG3w4Lb/lOJlNjH5qpmhKq93tjjR4DGX5JwJUcrWC9J57pxHE2 3K+m0lTyArRvJk+YxHZPxaaVlUBBLOZHUqGbSv4O1BXhoALQ7bb9eGKL4vaWQgG3LYig UJcqqmQgFW4p+gGLwevKWE3RrSyYjtqYRTxH4FXnK6BmMc25Jq04V2hkbhoOPnr+YDWR bocg== 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=MFdnMFVMGNt3jh33ikED056Xg7Yu6pgPsbQ+GuXqtv0=; fh=UEVvRAFK6gmZxZNnJDUC7AmNk/iU78fiWA23OmiDi44=; b=nWyWhRPNFcXRP9jO5IGdgY27otkkaHzJ85yTbDzF8uJVqprVbRDi4dMa70ohTtyXba xSmCQXhhSQkAdPWWPDUq++MoAXXvQ6F0Ok/FqUtYdD8p7lBGTs4WdFYXMDI73VOMoX1S jF0R/vUhWtzhVDUuk64NP84zdf5SqJbN78ZK+a62K9OzuXWPwNKv+EJgx+Hv/0TJTfN9 lCG9Je1qpVuyhu/OVZXXWEPWnfSS2SVR5a0lReCLiAebwItvOjJiFPXYe1mcouAMe9Dr nApTXAKesvInbxqesW6w3salMviYDpVPQQOGaM2BIAWDLA1xm/IqA+FVKGihOLxkBeOp adzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MXMO8lhn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id j63-20020a638042000000b005694a1170a6si3208716pgd.511.2023.08.19.05.26.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Aug 2023 05:26:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MXMO8lhn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C7D6F83196; Sat, 19 Aug 2023 01:37:22 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353880AbjHQRKG (ORCPT + 99 others); Thu, 17 Aug 2023 13:10:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353910AbjHQRJz (ORCPT ); Thu, 17 Aug 2023 13:09:55 -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 96BE830C5; Thu, 17 Aug 2023 10:09:53 -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 76685675BC; Thu, 17 Aug 2023 17:09:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2026DC433C8; Thu, 17 Aug 2023 17:09:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692292192; bh=aRyV6xNSnXzwR4k61lnQ+ZQcy3oDuCpZ9xSwfK+jJGg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MXMO8lhnQylzgU03Kg2syfvcIqhkAKyMBJjNJJKg+Fkmvz6kLvT2YV1raUGLF1LM3 sZLun519nVvQF43RtwIpvoGSWB1wRTTVyUfnSfp9u4t+uUmA1AcjVrm9pQ3hRGymBx bkPgxdHuiyhTMMaYqxPXZIqQ+sbxE7I0Z6JZlUpyBzeXkjnBLG6pisBaRyWydMIBQt tvG3d5Q2Q3rmjQfIYoex/ARMrtWSE5y6BGUs+hQULZv6O5WoIc37MwOKmgP1vLHI9Y 64Ncu6uyvd5vhmL2l3hdA7soXhpFkppM3YuAn5FSV0wr13ZAnMdsAwWciqvf6XQ+uq CPAcCxyy75LEg== 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 v5 6/9] dt-bindings: net: snps,dwmac: add safety irq support Date: Fri, 18 Aug 2023 00:57:46 +0800 Message-Id: <20230817165749.672-7-jszhang@kernel.org> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230817165749.672-1-jszhang@kernel.org> References: <20230817165749.672-1-jszhang@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 --- .../devicetree/bindings/net/snps,dwmac.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index ddf9522a5dc2..ee9174f77d97 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -103,17 +103,26 @@ properties: interrupts: minItems: 1 + maxItems: 5 + additionalItems: true items: - 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 + maxItems: 5 + additionalItems: true 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 -- 2.40.1