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: 12969371 X-Patchwork-Delegate: kuba@kernel.org 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 D4D49C54EE9 for ; Wed, 7 Sep 2022 20:50:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230233AbiIGUuN (ORCPT ); Wed, 7 Sep 2022 16:50:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230209AbiIGUt6 (ORCPT ); Wed, 7 Sep 2022 16:49:58 -0400 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9DFE47B80 for ; Wed, 7 Sep 2022 13:49:56 -0700 (PDT) Received: by mail-pl1-x62a.google.com with SMTP id b21so2860603plz.7 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=RaC3OHas1RNSmMA5TElQtZwJxaXRHhVL/F4Eig5GNDrcOEtHmqLVZGIspeG+N/9sJ1 ztOO+dKLBDtD9wI7Tk06p8il8XyuWO2ufwaxxtRP9x0t3M/Jkhd+XTykZj6jIsHCnxsN j2TLpa0eRzzV7kfaDOR7t8Kzg1EbuY+YBfzkPHi9UOwEvSaXZ4VmV9JzLy2psDa3Zqaq uwA1GLEFBnReGoCZvnQdVQR8thfTrn4jLF1vp/qkLXqv4LldWmBJBkcznVh8QdoZPOHz phzDvLJPQVf833KHmxwrPN8eQTpl3M6g+BLW/ALtCcNMD7auZYl5xa8Qcrp2Xs3rXqtg UjQA== X-Gm-Message-State: ACgBeo3FF89C98KwXTHI4vD/QibcQgHh0KbI17MwhldLqYQf3m4Gm02W WmwuJvXx7mM+uNwLPv+Hb2FN5WKiIY2KWA== 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: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@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