Message ID | 20231013122405.3745475-6-o.rempel@pengutronix.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp1852647vqb; Fri, 13 Oct 2023 05:26:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEyVWLM7ujtT7CHHKEPmadwZXnGCteIm3I8pmnfTi+7nhR1RJfiBbTMtDUEkUq6STrZlOj/ X-Received: by 2002:a05:6a00:39a8:b0:692:ad93:e852 with SMTP id fi40-20020a056a0039a800b00692ad93e852mr29012679pfb.2.1697200007577; Fri, 13 Oct 2023 05:26:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697200007; cv=none; d=google.com; s=arc-20160816; b=iJLN1C57NYYPE3uIwGUu+HgVkLbcnf0krOBkftZ/T1Hk3TDoN5eVOmTW2P9nO1qHxQ zm3Z0k4C0xIzycDfXTd9znTfD1orNn6vb6FPbIzptqH9lATF6xzeMjMGUKNhL7iXdk70 K5kBkmL209g6v2TMntUX1YbWR45q9ewKPSrl6QewngeGecNELlcTaZJ72qP9WXxTyZnE Y5RMV3X5LkgQyvzNAeVtLl2vWRT7Jv7oEKymkSgK5JP/+7/xrn0EnN/MI/2n9lSMvFP2 SubAeV1MN/ZlFR46dzWVcbr+Ry1zrhiayTFgu67MDF2YM2/pj4JACpDHyF3IoHZe6CJ0 2o6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=1aK8h29SXHK0xjUMNl9/YStZsNiJLzulkZeRTFvh0nk=; fh=jCBIiUS+qYFWryyQnwoooOg6JHYPdbuHZSKV7ZqbPSY=; b=nGJ8LcwRgTBdFfW9fZZoAKCt6Qk7/8VV7sPoxHWsm0GrdFWUOaWKLwXhGU7iwNPD2d kjXlM9XQj3jDIb61wY7vmeirkowrrcI1nvs/wfyVXg/4JMkTVQ8REx3fW7/gmHCfZ5bT 1lkF11EimalCd4rMgoWq+22DlWgSSJYoY2ORsUkpGvpdHqbEyV6etWt23agxbv7E61lx zRz/ANjzmQX/PfxQXhQGgd10Mj4CXFNr5NunnJj+eKVcYFHD02ZyuiMn/wZuMRntjmFI 8NgWwdy/CWkv8EelVkHwguUOgUphhltwnSzrxsLtiy3JtDEqwG+kbZDuBY7HG/DMuKBh s1bg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id a5-20020a056a000c8500b006b62dbc1a62si340387pfv.117.2023.10.13.05.26.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 05:26:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 71672808E572; Fri, 13 Oct 2023 05:25:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231753AbjJMMYj (ORCPT <rfc822;rua109.linux@gmail.com> + 19 others); Fri, 13 Oct 2023 08:24:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231714AbjJMMYa (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 13 Oct 2023 08:24:30 -0400 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAF05C9 for <linux-kernel@vger.kernel.org>; Fri, 13 Oct 2023 05:24:27 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <ore@pengutronix.de>) id 1qrHD6-00016H-4T; Fri, 13 Oct 2023 14:24:08 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <ore@pengutronix.de>) id 1qrHD5-001OKm-2C; Fri, 13 Oct 2023 14:24:07 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from <ore@pengutronix.de>) id 1qrHD4-00FiOH-3A; Fri, 13 Oct 2023 14:24:06 +0200 From: Oleksij Rempel <o.rempel@pengutronix.de> To: "David S. Miller" <davem@davemloft.net>, Andrew Lunn <andrew@lunn.ch>, Eric Dumazet <edumazet@google.com>, Florian Fainelli <f.fainelli@gmail.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Vladimir Oltean <olteanv@gmail.com>, Woojung Huh <woojung.huh@microchip.com>, Arun Ramadoss <arun.ramadoss@microchip.com>, Conor Dooley <conor+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Rob Herring <robh+dt@kernel.org> Cc: Oleksij Rempel <o.rempel@pengutronix.de>, Conor Dooley <conor.dooley@microchip.com>, kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, UNGLinuxDriver@microchip.com, "Russell King (Oracle)" <linux@armlinux.org.uk>, devicetree@vger.kernel.org Subject: [PATCH net-next v3 5/7] dt-bindings: net: dsa: microchip: add wakeup-source property Date: Fri, 13 Oct 2023 14:24:03 +0200 Message-Id: <20231013122405.3745475-6-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231013122405.3745475-1-o.rempel@pengutronix.de> References: <20231013122405.3745475-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 13 Oct 2023 05:25:21 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779643195200360236 X-GMAIL-MSGID: 1779643195200360236 |
Series |
net: dsa: microchip: provide Wake on LAN support
|
|
Commit Message
Oleksij Rempel
Oct. 13, 2023, 12:24 p.m. UTC
Add wakeup-source property to enable Wake on Lan functionality in the switch. Since PME wake pin is not always attached to the SoC, use wakeup-source instead of wakeup-gpios Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Acked-by: Conor Dooley <conor.dooley@microchip.com> --- Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml index 41014f5c01c4..5751a729af33 100644 --- a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml +++ b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml @@ -72,6 +72,8 @@ properties: interrupts: maxItems: 1 + wakeup-source: true + required: - compatible - reg