Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp598373rdb; Thu, 21 Dec 2023 21:46:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IE2FCFL8FGjc53MZtesVjBTi04HM8l+9O7XB6GOvEXCjLUPWEDNn8oESrtHrmDFB5Hqzbsl X-Received: by 2002:a50:f68e:0:b0:553:727e:3b70 with SMTP id d14-20020a50f68e000000b00553727e3b70mr309405edn.72.1703223978511; Thu, 21 Dec 2023 21:46:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703223978; cv=none; d=google.com; s=arc-20160816; b=o4mAjb94Zpr/vrDGfqjAd+m8iLKKMFlUk0jpz/0h+EdtqcGtPFjuCWzNmqaWfEVwZH qokq38Wpz8LCdHVrDPzat6YgDLgEobVGLwO9JXbLP3RKlfZwTr0v2JxPR+u8khvVv0hy pUeYrs4KLBKTbU3hBJ75qpolrAhC3bndEZPwjgUehxnw9lfkm2zYyiYeNQgWvpjSbIWj Fc6sLdYc/jIXFCza3n7Who4IRqqXnFpiRQd8o8Z6qntkLYAQ7AOkpsVO+vA6nY8z6cgP QpwFzAGWdrAhpkiFjG1Rg3wo27CNwZTisVWABo0AbVs5VJNvHjYAMaJUNumQQ5ieQ6R6 op3w== 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=CkpzWNWvTD9tuau4TivduuRgVt4akO8bX26ActAk7tTDA/WonF5NGnapjV6eL9rX4B HI9Joyn0sm28Dk9sG23d3oP3BPiaKNYGVq2WR0CQcsKWa2GsNjlFgrtZSV8CwsjIaf7L ug7jSeUuMRgVf7VBy/t8MVt+Y4Yzw6rozT+3wtID7yZhYm5JIcNcHSBSJRIpH2knl/gH ziksfomlnx/JHVYbXzZYuPpLlomC7hTxpgS/fcHUaowIkcj6J/YEw3jCcjpE6KJBz9qf mmxhQ3qANM6DFczjAPt2wz8NxeR8tP3t6TkHq2kCcyXBeXn2+yAa70UsG/P/auXrwNYB h1Kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=UNrdF7cC; spf=pass (google.com: domain of linux-kernel+bounces-9374-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9374-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h22-20020a056402281600b0055418805de7si1295175ede.493.2023.12.21.21.46.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 21:46:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9374-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=UNrdF7cC; spf=pass (google.com: domain of linux-kernel+bounces-9374-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9374-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3D5321F23287 for ; Fri, 22 Dec 2023 05:46:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 863EB8F7A; Fri, 22 Dec 2023 05:45:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="UNrdF7cC" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (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 F3C939444; Fri, 22 Dec 2023 05:45:55 +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=1703223956; x=1734759956; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Wc3WOZrrvj/mfsHMCsBQFT+YmKFZV9lPnzebZ6PYOJs=; b=UNrdF7cCXjYda8grtfUrDYXcE+jeUHPAAq6HoKyubD9WXoPkHpgAbjF1 xssNockvRuM3ZkOwqHalBjjqeonX73zfPWDZhqjGMmFs4rFq0n6A/6cJv Vt8r9TwIQydUGzm0d4jcnoEP7sJb2qwHVjec17ennywNEI1Y1qzJkItGv HMd2kHroTD32TuszvDDBq3VDSb5SduAKanc3ePz547sqrAUrtqTABgqdh YcFQibwdu+t9G2KPCvRnkVcCtnfZ2xUN54Ii1S6OW1B5ub6D4Scnyru/H 7frwEpumHUaUdmAOmcRjoCopl8FlgbYRSVDm3cFZN0OKSh1XATyEkm5XV w==; X-IronPort-AV: E=McAfee;i="6600,9927,10931"; a="9470527" X-IronPort-AV: E=Sophos;i="6.04,294,1695711600"; d="scan'208";a="9470527" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Dec 2023 21:45:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10931"; a="900324186" X-IronPort-AV: E=Sophos;i="6.04,294,1695711600"; d="scan'208";a="900324186" Received: from pg-esw-build.png.intel.com ([10.226.214.57]) by orsmga004.jf.intel.com with ESMTP; 21 Dec 2023 21:45:50 -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 v1 1/4] dt-bindings: net: snps,dwmac: per channel irq Date: Fri, 22 Dec 2023 13:44:48 +0800 Message-Id: <20231222054451.2683242-2-leong.ching.swee@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231222054451.2683242-1-leong.ching.swee@intel.com> References: <20231222054451.2683242-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