Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp8147771rdb; Thu, 4 Jan 2024 23:10:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IF6TgjVjmrkMNe60ZVsvxSsFUmQX+aL9kiLBov9kwRufz2p/0te6dMOCeuv5FER3JWKj/hA X-Received: by 2002:a05:6808:19a2:b0:3b9:fd48:e62e with SMTP id bj34-20020a05680819a200b003b9fd48e62emr1993395oib.93.1704438636164; Thu, 04 Jan 2024 23:10:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704438636; cv=none; d=google.com; s=arc-20160816; b=EfYl3FtOA1fcUPIVXXDJvaALnNjcbx/lUDTkdhyJ3hkUKDAcVZUp33XVEVg2wFja7B /UFdwt64qeB1wBpBnK+eWf5kKnUlzeif21DmDlPJeLTEiEiXoBNVzcZUsI7nfjtxnW2h CAiW4Pfdc3sAjZ7lPn6PUJec2FalZ6lG4kdnqLRG/CGMi5feza7VNy/FVH/dvpRobMTb tWxZSAjWkBYBpxR2ynraudd6b/70gJ6yJ3bwrUUWowQ/rmkEWlTiHdttRMOADdlCiziU GZPy/tCr4FO4KQgzoUVyFIorLW2h6aBAEqIimbNFylOXTfKGu4ddJAgKA679Qt6DPrmG SC1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=DPHzVMEtllEBZlocbbBv9w8p52MybOP3Fb5tpvY7AXI=; fh=iA5z+/HdLQQRL7Ktege/QUP7/0EA0vjEt7oUW0zxo8Q=; b=cLaKzBZ8S1IZNb7FUIqPmY38heERm/7hEvRL9N9WgXTd2mvGc79gwxGAmQLT01oOQR xVbqe8L+3fMyr5IVrUarBpVDPkMMHkjjtx89EMBC1AtJHqHESXeQs2BpjKCTTvnq36ym aQfwb1qItclL3E7Sj1Ukl54lCt7GQo+VxOaXhFFs+V/U0gMlNjmNkNUkQ4IxVKBRzDMC Mkxo1fU4Vi3Qk3NE5W9Z2Cobf4muetc4EtJA7o7D7ran8ogNSiJo+g0LbpH8IU6B5OCu cBc6aAd/avrReuwrwCee0+hYhefn+vEO4qQg97Cnv/nKTp+6fUrKiv8rab9d7uJsI6Fu RO7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=kr+uLRS1; spf=pass (google.com: domain of linux-kernel+bounces-17535-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17535-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id p1-20020a056a000b4100b006ce96e33e9esi805727pfo.317.2024.01.04.23.10.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 23:10:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-17535-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=kr+uLRS1; spf=pass (google.com: domain of linux-kernel+bounces-17535-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17535-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 805DAB23F2D for ; Fri, 5 Jan 2024 07:10:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4B98C2032A; Fri, 5 Jan 2024 07:09:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="kr+uLRS1" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 089352030C; Fri, 5 Jan 2024 07:09:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1704438591; x=1735974591; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Wc3WOZrrvj/mfsHMCsBQFT+YmKFZV9lPnzebZ6PYOJs=; b=kr+uLRS1si3aZKDSgIP+LQOS/4zwXmCz7NPRpBKE+5pcvinbfAvLkbgL jPvBEhIxci7SBGFWJxG4BZA5D3w7PS5O2rxhMHpyMXGPlz6RtXOM4S/cF SS/XEBkRM8kwQX7COBcyhHfIfyWSKx0QV0dxVTpD07a/02Te6zwmZcVN6 J9uDem1Q5wCntQQmVIIenI9o2gIII+pd9P7L6KEy7b/qCDfZjPQlVTAPh ZCSwMH1DmrumDjVU2pSny+D72i+2FhG0PRJmgjBnLd41/qoZTz1M5YlIt jhV6ccjgQQwH1Mi6PLC5aoIUo6kl3URXES+VELSQ9kxpC1wdcVZIoC3iy A==; X-IronPort-AV: E=McAfee;i="6600,9927,10943"; a="463845820" X-IronPort-AV: E=Sophos;i="6.04,333,1695711600"; d="scan'208";a="463845820" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jan 2024 23:09:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10943"; a="871167265" X-IronPort-AV: E=Sophos;i="6.04,333,1695711600"; d="scan'208";a="871167265" Received: from pg-esw-build.png.intel.com ([10.226.214.65]) by FMSMGA003.fm.intel.com with ESMTP; 04 Jan 2024 23:09:46 -0800 From: Leong Ching Swee To: Maxime Coquelin , Alexandre Torgue , Jose Abreu , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Giuseppe Cavallaro Cc: linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, Swee Leong Ching , Rohan G Thomas Subject: [PATCH net-next v2 1/4] dt-bindings: net: snps,dwmac: per channel irq Date: Fri, 5 Jan 2024 15:09:22 +0800 Message-Id: <20240105070925.2948871-2-leong.ching.swee@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240105070925.2948871-1-leong.ching.swee@intel.com> References: <20240105070925.2948871-1-leong.ching.swee@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Swee Leong Ching Add dt-bindings for per channel irq. Signed-off-by: Rohan G Thomas Signed-off-by: Swee Leong Ching --- .../devicetree/bindings/net/snps,dwmac.yaml | 24 +++++++++++++------ 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index 5c2769dc689a..e72dded824f4 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -103,17 +103,27 @@ properties: interrupts: minItems: 1 - 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 + maxItems: 19 interrupt-names: minItems: 1 + maxItems: 19 items: - - const: macirq - - enum: [eth_wake_irq, eth_lpi] - - const: eth_lpi + oneOf: + - description: Combined signal for various interrupt events + const: macirq + - description: The interrupt to manage the remote wake-up packet detection + const: eth_wake_irq + - description: The interrupt that occurs when Rx exits the LPI state + const: eth_lpi + - description: DMA Tx per-channel interrupt + pattern: '^dma_tx[0-7]?$' + - description: DMA Rx per-channel interrupt + pattern: '^dma_rx[0-7]?$' + + allOf: + - contains: + const: macirq clocks: minItems: 1 -- 2.34.1