Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4659194rwo; Tue, 25 Jul 2023 09:06:14 -0700 (PDT) X-Google-Smtp-Source: APBJJlEBsqqN976SpNmKyTgZVocwn9pjsBwg5OQyx8zVqr7J1jHYuycPFZaIcOReTUNG80INpQqW X-Received: by 2002:a05:6358:7f15:b0:137:881b:fc73 with SMTP id p21-20020a0563587f1500b00137881bfc73mr4424236rwn.2.1690301174372; Tue, 25 Jul 2023 09:06:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690301174; cv=none; d=google.com; s=arc-20160816; b=LvADsl4nZsGzgJwv2YqVbsJygH9sInlXYu1u6u3qFSh09qwc6eB73l8TaM590RnnyA X+ripepFjDM907BCeoakzFK50oMC67nh3OIan9hBLNR6yvBPgPC8X66rhNchiOWq3I6A 98tZWFqMwFlXG3fIwAEomI16DLTYvfsmyt2JefUwmEIdQvms5ZKtfpP9WO4ADoEZGvot /6UV/C/G+IKW+B2XCzAbEexUA1T+pVm+sNcKbAtDh+keppTfwZ7/HegmrjEFUVZMtjN4 UvulU74HzOBopzgEn+vKw8crQx+g8hSur+cu+Id9Aos2GvBkGC4gU5sKNFKLWVYceXpk KOVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=v/uyEYNRDLOCKFxJRPk9V3ncVHwa70COt8XKxQ/FX0M=; fh=rlp5kfIe4zDapKpaXGCxPhXTpCbo79ynVBjVDqnuiww=; b=hpgpeD1WsnpavqgbR4RaVT+VRCvmw+E4vQRn0ZUZAz+ZpZgU47y6RW43BZr12KW2LK +5VPwe8OQBUeM+ndvRNeoPDGr72awpBdx46cTUXmBre6tgpUo949dbJJcb7La5IBlKcg Ir9IIbvGp8idR7cd0gwL+Wdpi4nBQIRZJnX6ZXA+k+2tHTQwF8uHfJ3LQH4m2Y3Ipm1c a/glhT7KAUudd33lODh9CRNunx/MoTm/BXFv9jtnbNSmgKuMQANTv1RgraULR7jEhJke +Xlwh0pTheDHSvHp6KPEk0BIeckoSFri9uOEFhGzhMReaU/JAD+ZdBWrEqL9TqfhAUbs qMgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gPq8eVoF; 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 s196-20020a6377cd000000b0054f71faf5aasi11923792pgc.581.2023.07.25.09.05.53; Tue, 25 Jul 2023 09:06:14 -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=gPq8eVoF; 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 S233260AbjGYPY0 (ORCPT + 99 others); Tue, 25 Jul 2023 11:24:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232763AbjGYPYV (ORCPT ); Tue, 25 Jul 2023 11:24:21 -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 E44371BD8; Tue, 25 Jul 2023 08:24:16 -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 78244617B9; Tue, 25 Jul 2023 15:24:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1BF6FC433C8; Tue, 25 Jul 2023 15:24:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690298655; bh=+MfVjB/wjdps2ovrI3oDMNYk7WQRpUGIc0K5gkQDUIs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gPq8eVoFZT6gk5cJ4o3gDvI8uBvnJ6TORQWk/GOfQzPjuE9rZvceL+zOQYNP7fUh2 fNDsDS/AaOFWe1KSsuQQcW39LJyqTn240qTgogqgJNy6jkTj/jdc1o+gVHiOwqkANA oDc6Eabr7/YJw5+lNZA4pDAO/S/bI4VYTouqQBJ2d209+JwGdpicCKYueCP2ykjzMK zPTnnFqMHLVkXymEQNIu/9MjJCK09GEpowCDOMtrIxDAYGpqqz+hp6rwa7VoK0Ycul 7ZImFTWJ3mCi329bhEx2C9ALC9ntpS47htqEfnmNa3U4GjX1v9rq0JEA7QGb4e//9T E44CiymAS7qMw== Date: Tue, 25 Jul 2023 23:12:38 +0800 From: Jisheng Zhang To: Rob Herring Cc: Conor Dooley , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Krzysztof Kozlowski , Conor Dooley , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , 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: Re: [PATCH net-next 07/10] dt-bindings: net: snps,dwmac: add safety irq support Message-ID: References: <20230723161029.1345-1-jszhang@kernel.org> <20230723161029.1345-8-jszhang@kernel.org> <20230724-cleat-tricolor-e455afa60b14@spud> <20230724232624.GA1112850-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230724232624.GA1112850-robh@kernel.org> 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,T_SCC_BODY_TEXT_LINE 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 On Mon, Jul 24, 2023 at 05:26:24PM -0600, Rob Herring wrote: > On Mon, Jul 24, 2023 at 06:23:13PM +0100, Conor Dooley wrote: > > On Mon, Jul 24, 2023 at 12:10:26AM +0800, Jisheng Zhang wrote: > > > 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..bb80ca205d26 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_irq > > > + - const: sfty_ue_irq > > > > Putting _irq in an interrupt name seems rather redundant to me although, > > clearly not the first time for it here. > > It's already inconsistent, so don't follow that pattern. Drop '_irq'. Thanks for the suggestion, will wait a bit to get more feedbacks before sending out v2. > > > > > Acked-by: Conor Dooley > > > > Thanks, > > Conor. > >