Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3422802rwo; Mon, 24 Jul 2023 10:44:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlHxCHZlU6SzbAswzwsATbj6y57L2n3b4yAwuhut157M4M0awbF4zIHq/sJOMfFG1Je1TkzZ X-Received: by 2002:aa7:c44b:0:b0:522:40dd:74f3 with SMTP id n11-20020aa7c44b000000b0052240dd74f3mr491185edr.39.1690220672470; Mon, 24 Jul 2023 10:44:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690220672; cv=none; d=google.com; s=arc-20160816; b=gjSVkSWdEkLiuUrqT84dnsh4hUZTmveVO4wICgyKrGYxonukvBXzDqDrh3B0WpubPh 2vEuaKGRmiXxZmoq7pQrRMSGeu+evRcJ8xEHQIRQ1vlhc126N0dmN7fJl8df+0xMz3Ps TSTxgksPX2FOs7kw1dw1ZiXuq27ub2wzQKCm9fGz+CIHBh/3Q2XKfxr0cWv/a3Y3iYL3 8BS8nnBcrW3/YOglHxOdo5OUgUVCl+S6LDhv1ZKxoYzLVFh5W7xX2RMX0+d9XlBuchjF jcP4rzyCAG1nFbAFR3uLzA6kuDkUrCEYp6+FgHLXfAUIGfIzE9GIK6RAxAqmPzkris+7 t1KQ== 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=b4ie+Tydow862aHox5gdCPEhgUWPSOeia5VAiIysx9A=; fh=Ck3BT+C1Y5kU3P5UcxuUAgfMJUS5qohYoJGkIssTlX4=; b=eOiO+nGQVszaBris+mCXgf9qxiNWqz/Qq8KoQv+OnERX4fzW4kxBu35mjIA+rK/63i dwYVt7EKjsG1meeCjSHTeBthzpf1WYtl5I3dfO48WsUh2cicyo3QcF04a+uQUVNXZNE9 VQSBL8BLrOwZO6eNYFQs5BD149ZONOmul7zSHCQYc1MP5teng8GDvN4VhyGh6we3yrQT k00oDy2HtdzFeyirnyN5bq3iu0z8mfsJmTI6sERxlNgdF2YGErpbORSVvMUve1Qw05LZ xTkXWdckGFuKV7GjoBNAiUYnrWf+r7uQ1OpmRlvWtPtYZM3lNskGAlt73MPmfPAWeqA/ aEiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AI2qiCY2; 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 q9-20020aa7da89000000b005223f8d2a2csi313914eds.441.2023.07.24.10.44.08; Mon, 24 Jul 2023 10:44:32 -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=AI2qiCY2; 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 S231671AbjGXR22 (ORCPT + 99 others); Mon, 24 Jul 2023 13:28:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231653AbjGXR21 (ORCPT ); Mon, 24 Jul 2023 13:28:27 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C44EE76; Mon, 24 Jul 2023 10:28:26 -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 EEDF3612BB; Mon, 24 Jul 2023 17:28:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 52345C433C8; Mon, 24 Jul 2023 17:28:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690219705; bh=twLkaxMgs6piq0ZeQkavdqOEjTHt1kteFtzNVLOvJ9Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AI2qiCY24Q0v7zAFtd+xpAyXL5i/UaDHKwIzIK3qeZoo8R/2X9J1RlT9KdArYfCzi JTTq7RkzfWDF62FujThw6oJk+v54LH6rGVQCIKx9uPAapbra2cfBmjhs0jue/3hvbx bHO+IBkp5pWV5fH1o2Rw16kakYO59StayV0tdEdxqu2dobSjFuiN5LanDgtRlLfzG0 uBKmBpYJ6cb7vKmSEIc+ezcSfGVUoUo8DtXiqKbNmexpCxv8VMxv1zbL1LRQhExPx7 ZaSL6WyFUgubnjy6G5X9Eufaukl712lrNotSMybmN9Q5tgykeyuSqF6nyWrfBsNuSU /NXWOBotY6vtA== Date: Mon, 24 Jul 2023 18:28:20 +0100 From: Conor Dooley To: Jisheng Zhang Cc: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , 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 09/10] dt-bindings: net: snps,dwmac: add per channel irq support Message-ID: <20230724-slick-shush-5338b16a558c@spud> References: <20230723161029.1345-1-jszhang@kernel.org> <20230723161029.1345-10-jszhang@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yzmqMJ1ISurXR8jS" Content-Disposition: inline In-Reply-To: <20230723161029.1345-10-jszhang@kernel.org> 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 --yzmqMJ1ISurXR8jS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey Jisheng, On Mon, Jul 24, 2023 at 12:10:28AM +0800, Jisheng Zhang wrote: > The IP supports per channel interrupt, add support for this usage case. >=20 > Signed-off-by: Jisheng Zhang Silly question perhaps, but the commit message and description for this property imply that this is an optional feature that software may choose to make use of, but will function without. Is that the case? > --- > .../devicetree/bindings/net/snps,dwmac.yaml | 23 +++++++++++++++++++ > 1 file changed, 23 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Docu= mentation/devicetree/bindings/net/snps,dwmac.yaml > index bb80ca205d26..525210c2c06c 100644 > --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml > +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml > @@ -101,6 +101,11 @@ properties: > minItems: 1 > maxItems: 2 > =20 > + snps,per-channel-interrupt: > + $ref: /schemas/types.yaml#/definitions/flag > + description: > + Indicates that Rx and Tx complete will generate a unique interrupt= for each channel > + > interrupts: > minItems: 1 > items: > @@ -109,6 +114,8 @@ properties: > - description: The interrupt that occurs when Rx exits the LPI sta= te > - description: The interrupt that occurs when Safety Feature Corre= ctible Errors happen > - description: The interrupt that occurs when Safety Feature Uncor= rectible Errors happen > + - description: All of the rx per-channel interrupts > + - description: All of the tx per-channel interrupts > =20 > interrupt-names: > minItems: 1 > @@ -118,6 +125,22 @@ properties: > - const: eth_lpi > - const: sfty_ce_irq > - const: sfty_ue_irq > + - const: rx0 > + - const: rx1 > + - const: rx2 > + - const: rx3 > + - const: rx4 > + - const: rx5 > + - const: rx6 > + - const: rx7 > + - const: tx0 > + - const: tx1 > + - const: tx2 > + - const: tx3 > + - const: tx4 > + - const: tx5 > + - const: tx6 > + - const: tx7 > =20 > clocks: > minItems: 1 > --=20 > 2.40.1 >=20 --yzmqMJ1ISurXR8jS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZL60swAKCRB4tDGHoIJi 0kp0AP9cl/Kkn46dTmz0i/arZps5F7oU5toWGL4Tz+RgllbJmAD/UV4ChCqmubDi srI+nEMnjcExH4WbPf9u5fMGWCZ75AM= =cJ/j -----END PGP SIGNATURE----- --yzmqMJ1ISurXR8jS--