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: 1675396 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=tszoHT44; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4MNDsg1cHnz1ynD for ; Thu, 8 Sep 2022 06:50:15 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230200AbiIGUuM (ORCPT ); Wed, 7 Sep 2022 16:50:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230210AbiIGUt6 (ORCPT ); Wed, 7 Sep 2022 16:49:58 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9D78474FB for ; Wed, 7 Sep 2022 13:49:56 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id pj10so5272676pjb.2 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=C+JMlvS9hwfWnN9NuPoTnGgeN4MXenFNB1WGuR7j2SOxOgmwqEprtsAuBf7q2iMGSp L6Yphf4QNFMv4hnl/u4WvaoCsool60V2i1A4SVGqM1t0qyGThhi8DpB94eXYHGvElkyt l+6FbNPBY2VFa/kO7R8eGB7oBunlYBNN/xgYcROxadEWjSXEPiTPZtlRGkyrzP7k9lVq Q/W8vKHcIxXtdvqExfG0z40JZib8yU4X+//dHdv2zD7v8whA54G0bQQRQj7EwZNTpeHr dFt+RiD3U7Q8KY1E8Sv8qYMXVS9R9Sqtsm49P4gl2E6JamR4CT3skciPA3D+gEzaYSYK mN0Q== X-Gm-Message-State: ACgBeo31L5wG4SEy1oC/WLbuV8guQy3kS44cXPzW/Wad5XYesj/Yijz5 HireB0CCfcrfrD0HVgWAFDVLNbGmAiyk8g== 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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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: devicetree@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