From patchwork Wed Aug 9 16:50:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jisheng Zhang X-Patchwork-Id: 133401 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp2987501vqr; Wed, 9 Aug 2023 11:15:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHR/zPPJwjRzH1Gkr1YLm76jyNl88VImZf6JSKf3BR2wa2T6/g+T8Pr6vbNTxUbnS4TYZj4 X-Received: by 2002:a05:6402:559:b0:522:79e8:e51b with SMTP id i25-20020a056402055900b0052279e8e51bmr2477240edx.32.1691604917020; Wed, 09 Aug 2023 11:15:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691604917; cv=none; d=google.com; s=arc-20160816; b=WfDphEf4ZNMdTda8EGmJ4csBw3jo/IZTd969RjuZf0/UEotvqUGzpSylPz8tXGqnja 0E0UrZPLHbtl2XsTBqOrjEy5IszVBBhCM1eBV464qtSvUkwFMDQhwa+UIVsMpNqEXVVt gtwYxl32isCbXhlRoc+RSR+pC+bHo7ip9F6hojOrI8PyTJJhJAVQlow3nIC/hkL9imAz k2vFz5A4rBuedxCRHZePs52DEWiZKJ9UUzU+yD+eAlJLkwNXF10duGFJDeOxmkqROyNW tnQzgh3jpHC3bOWOL7KvzfmEH+OwG1OpMIlwT17GG+2G+FY0H4aUE37GUfa73xFvqOVa pxyw== 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=lx3YPFMG6cD5nC15S2MqB+hAxpLVld9+BhVprFyhf2M=; fh=UEVvRAFK6gmZxZNnJDUC7AmNk/iU78fiWA23OmiDi44=; b=tAuwwAQZEOROflZHXWQ65uBc1tehZSWu6YMaqbVV8qKvuCEyyqbRqZup7AUv3C49PM 6EjLg1GxkEyShVp9budURd3HgBn3DR8LDJNj7ihBRm+CwSB2redmgBOTS9zDDuB3149Z 8OhCzZdhM5bl/B94x2xUQHS7xwmM5fsDXKMGQzpiYO4DRkKj1jE11hztqLzFQv0KAcN/ 1+DjebI0mY0riMViFGRTChXVDu5wy9Xdgy32tV6zI44mfdgwHVt3kZ7aC/aPUJucB/P7 nbLLpMNLd76DrA5GckcH2TR1zxD53t6GGdRxIYyCL0EKm6A6wpdMl6TDDI5Qm3+QQZ0v +1lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=niUMi23c; 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 c24-20020aa7d618000000b005234b034770si2622399edr.534.2023.08.09.11.14.52; Wed, 09 Aug 2023 11:15:17 -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=niUMi23c; 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 S232788AbjHIRCj (ORCPT + 99 others); Wed, 9 Aug 2023 13:02:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232773AbjHIRCZ (ORCPT ); Wed, 9 Aug 2023 13:02:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1523B268E; Wed, 9 Aug 2023 10:02:17 -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 A9FC1641D9; Wed, 9 Aug 2023 17:02:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 656F6C433C8; Wed, 9 Aug 2023 17:02:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691600536; bh=+gV2OwgbEESWlTBw1vccjy1Lziej65rySDz1k5zLKn4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=niUMi23cuW63S1k46u9PkZlkcaUSZok42j5k2gcuTvEtlUpzFZt2xQz+it9W81a2e 5J1x8dqycYRIOpb/XWG1KMiG45wbJqJGNVUIMEng6vKmrNoDV9EuxkdTy25t+CvSdk hzaAJT9UH7CpGMUZd696Suf2pySmDe9uNYjkdO8IqVopyMiXMNWJIH7M1yH7j3ZRtw vdoQ2TCpoGAaddKyP9fcWxQ/5oxCEqFz7GI4+Jk1tltCNwTLodTaPleSec9DNZYx2m egZCVPR2nEyN6kKnphiKNIzaG7rn4Ko26Ac0U0U6n/T5REhgGkn9khLyg+ziPFw6hB j7PJ+1A6XR16g== 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 v3 09/10] dt-bindings: net: snps,dwmac: add per channel irq support Date: Thu, 10 Aug 2023 00:50:06 +0800 Message-Id: <20230809165007.1439-10-jszhang@kernel.org> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230809165007.1439-1-jszhang@kernel.org> References: <20230809165007.1439-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: 1773776317514475834 X-GMAIL-MSGID: 1773776317514475834 The IP supports per channel interrupt, add support for this usage case. Signed-off-by: Jisheng Zhang --- .../devicetree/bindings/net/snps,dwmac.yaml | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index 5d81042f5634..5a63302ad200 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -109,6 +109,7 @@ properties: - 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 + - description: All of the rx/tx per-channel interrupts interrupt-names: minItems: 1 @@ -118,6 +119,38 @@ properties: - const: eth_lpi - const: sfty_ce - const: sfty_ue + - const: rx0 + - const: rx1 + - const: rx2 + - const: rx3 + - const: rx4 + - const: rx5 + - const: rx6 + - const: rx7 + - const: rx8 + - const: rx9 + - const: rx10 + - const: rx11 + - const: rx12 + - const: rx13 + - const: rx14 + - const: rx15 + - const: tx0 + - const: tx1 + - const: tx2 + - const: tx3 + - const: tx4 + - const: tx5 + - const: tx6 + - const: tx7 + - const: tx8 + - const: tx9 + - const: tx10 + - const: tx11 + - const: tx12 + - const: tx13 + - const: tx14 + - const: tx15 clocks: minItems: 1