From patchwork Wed Sep 7 20:49:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 12969377 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C764C38145 for ; Wed, 7 Sep 2022 20:50:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229512AbiIGUuM (ORCPT ); Wed, 7 Sep 2022 16:50:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230167AbiIGUuB (ORCPT ); Wed, 7 Sep 2022 16:50:01 -0400 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA31D48CBB for ; Wed, 7 Sep 2022 13:49:56 -0700 (PDT) Received: by mail-pl1-x62d.google.com with SMTP id 9so12554185plj.11 for ; Wed, 07 Sep 2022 13:49:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=9GZb9CRFPhxp9tscSggmlKolydoK7KEFJypG3qPCQT4=; b=tszoHT44RlM+zRsz3gdj4l3lxPj37/tivKl1gftfZYM71iXmWTI2fP+q73kWeCVbp1 bTc2AZuz0sOKt9DMej/uQeOaOcipQSItiyPH9T7GFGCQkmumJpUAu16Y3qLP12QEaEUT hI8enOT8wValRxC7iAlNVa7eh4ofSdtw3R8MhdNisnA3XNW+laTsbaA3+1bisyVzcStc 8xu9B6M+uGVCSWli8jr520BG5Pkhg0dcppbEQYRtoS6cohQZCAFH2GUrhz9QGWPtnYj8 zAlunQhX4jRxPrrNESdeAre/fdrS0xpTYUuCC91xNwC9HzAiiYk0yzR2z0wfOhSOHWMN 9ooA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=9GZb9CRFPhxp9tscSggmlKolydoK7KEFJypG3qPCQT4=; b=jY1c+KiJM7jBLoSB5A/tCRWB5fLHApIEDux8oxmRUkkQ4QaCLUtvwKlOpsFpuQCldD 6y4T5Qtfoalt6b1gHTwhy3RIpe2SpwhS43N8kDti+M+K2r6siGfTCkc8wAKEybFW463W /xFGBrZ0d9s4sJKLUjOj0Nr8hrqFphHqIiJWDx0DVWpR+cniNXeFSTLnEhYpku4GJz9z yZNvToZUBWH9jlo8sVH4muqkgKDVxb7O22DpEEA1l1hMXqEqSlqvxAKRT4jBcoYvD1zI 2V2Ys3f3uAYCJBjTkwecsrCqW8mpuBcvXPFZNsLcU2MuoAvb9HANEs4xLe3Jkos3e6ux UpQQ== X-Gm-Message-State: ACgBeo04wquIoqgDZWQ32I7d652cJh4Nc7kGEmxIn6/8XGyl33B4+wRP /8i1kq7Rs4Avc9s1QxyK++RS3Q== X-Google-Smtp-Source: AA6agR5j70Jbhx0EjLhsyRaf4aRZseNE3kvGEZkZhmZ8bTfPbJcdAmpM90DukHtEZHRD8PjLoz+QHg== X-Received: by 2002:a17:902:e40c:b0:176:9543:883 with SMTP id m12-20020a170902e40c00b0017695430883mr5764108ple.169.1662583795724; Wed, 07 Sep 2022 13:49:55 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:5362:9d7f:2354:1d0a:78e3]) by smtp.gmail.com with ESMTPSA id e6-20020a17090301c600b001712c008f99sm12795140plh.11.2022.09.07.13.49.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 13:49:55 -0700 (PDT) From: Bhupesh Sharma To: devicetree@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, agross@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski@linaro.org, netdev@vger.kernel.org, Bjorn Andersson , Rob Herring , Vinod Koul , David Miller Subject: [PATCH 4/4] dt-bindings: net: snps,dwmac: Update interrupt-names Date: Thu, 8 Sep 2022 02:19:24 +0530 Message-Id: <20220907204924.2040384-5-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220907204924.2040384-1-bhupesh.sharma@linaro.org> References: <20220907204924.2040384-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org As commit fc191af1bb0d ("net: stmmac: platform: Fix misleading interrupt error msg") noted, not every stmmac based platform makes use of the 'eth_wake_irq' or 'eth_lpi' interrupts. So, update the 'interrupt-names' inside 'snps,dwmac' YAML bindings to reflect the same. Cc: Bjorn Andersson Cc: Rob Herring Cc: Vinod Koul Cc: David Miller Signed-off-by: Bhupesh Sharma --- Documentation/devicetree/bindings/net/snps,dwmac.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index f89ca308d55f..4d7fe4ee3d87 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -105,10 +105,12 @@ properties: interrupt-names: minItems: 1 - items: - - const: macirq - - const: eth_wake_irq - - const: eth_lpi + maxItems: 3 + contains: + enum: + - macirq + - eth_wake_irq + - eth_lpi clocks: minItems: 1