Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3807803rwo; Mon, 24 Jul 2023 17:36:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlH9k+xVSDI/F1yVFan2pDnJ5cLLsF13kU6v5mQSzMLUwoLzGfS5sMmoYGQBLtlcYTA8stLu X-Received: by 2002:a9d:6758:0:b0:6b9:5810:84d2 with SMTP id w24-20020a9d6758000000b006b9581084d2mr8497606otm.6.1690245407302; Mon, 24 Jul 2023 17:36:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690245407; cv=none; d=google.com; s=arc-20160816; b=zPeOcqbWnZeAb7tLWCJOxxjxb0i3oRBLhRK/m8myD3owClDeW1AmjPgR98hOUvcYUp glRWPRyYnBc3l37zbKAd8QkGL4ZH4VKXk0OfKl1eVFAsNAgGe6nKSUo1JkfVNa8MdnhL lk1yiy4sSWkslv5HJFBn01Jc4jBIcVhW/a+nsFvq73OdbDYZCwkKDDEzTqaxDMnSF6ok K+sW/HnSijRbB6vAFGgIPtHwg7nHRxWxSgiJFnr9t8rWMDxqeECoLpIfAlan5wKCpZ5J pf0bxf0mOSfScEDmdEbUkq29EN67Q9cTB+9jpzEZJCyGczcHf445k1GyFs8E0inBO8D8 bKoA== 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=C8sDi20T0pjQbQA5+LniF/eL04tIQ9lGy2vYd+TZOPY=; fh=zc9xis3fS3wwCbiKIDz15PK4kQ5aXjiMkLNlCLaP8xk=; b=FCY4GUoAn6RepLPUsh0pk58+IknsL8HAHly3lIFyusvW7I4W2B74K26yVdwKd+bDg7 r7Pch8PQMBSVUbHHhGMCGCohdqX4L9KTYHXMTt+JbUljFTPG5tfuMsgm55j/rMzmRNex Tj0ORc/lZnp7fkC930KIL8chZnWtWIEaIjVfEOQn7FHo4SJ4v4rDA5LH5ogjTszzn2bk sDzE/flBtTBmMaZP9z+3IFj2w8ZJCHBcqlt23/ksXCLtaMBZ9tqDyhnessZwVsAvPIa6 07yL0pPeGWed8A0ur5NmcVVuMTLfiOYXjZlYPAf0Vu7oFqh2eF3wl6+8/pMROrpW2iFg mZiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AVl0guQB; 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 l70-20020a639149000000b0055c3f915b0asi10722686pge.733.2023.07.24.17.36.35; Mon, 24 Jul 2023 17:36:47 -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=AVl0guQB; 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 S230131AbjGXX0a (ORCPT + 99 others); Mon, 24 Jul 2023 19:26:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbjGXX02 (ORCPT ); Mon, 24 Jul 2023 19:26:28 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35E65E7B; Mon, 24 Jul 2023 16:26:28 -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 BD3F761463; Mon, 24 Jul 2023 23:26:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60DCFC433C8; Mon, 24 Jul 2023 23:26:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690241187; bh=4KSq1+MwOBFiXF30dhtmS7Fj1Uen43j4cbGhaxzDkQ4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AVl0guQBTKgPU625eTtTiJ730ZEWk7Y7+8PLfxgxYRhJk9+ktGWz3b306R3LK8Heg L5g6xPDWJyM0EB7e0GlDoGR9kmlt5H3dE6q81sx4C7Ju1thz0PdaKdYfwP7xOLXA6Y RGrBj5+Iz8N0rNN8SyvwvWDsgnsKdBLI5s8XmcCnvDXmuHh+9udH0VRpm+28ZFoZYG baB2Vv3XExVU2KQUsO9vFNMpwiiNzyQrXJRP6uuSukARjfty/1k1YEjsuc6BpVsh6p dnArt6BOWuU3gl6Glu2BW0Nm+nHiHAZhldyqu+m5InAVFou0GdIXNqethlH29s389V onJqHwhLpZzSw== Received: (nullmailer pid 1114814 invoked by uid 1000); Mon, 24 Jul 2023 23:26:24 -0000 Date: Mon, 24 Jul 2023 17:26:24 -0600 From: Rob Herring To: Conor Dooley Cc: Jisheng Zhang , "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: <20230724232624.GA1112850-robh@kernel.org> References: <20230723161029.1345-1-jszhang@kernel.org> <20230723161029.1345-8-jszhang@kernel.org> <20230724-cleat-tricolor-e455afa60b14@spud> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230724-cleat-tricolor-e455afa60b14@spud> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 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'. > > Acked-by: Conor Dooley > > Thanks, > Conor.