Message ID | 20231016141256.2011861-3-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 ib8csp3491544vqb; Mon, 16 Oct 2023 07:14:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEEHheD+BcBN0QL7CqO2fgXXi8iI4eKgOaeB9YAFqMiDJF0u4tAc17hekvOweGYgJIcjVdi X-Received: by 2002:a05:6e02:2185:b0:357:5188:1f83 with SMTP id j5-20020a056e02218500b0035751881f83mr16926020ila.1.1697465663330; Mon, 16 Oct 2023 07:14:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697465663; cv=none; d=google.com; s=arc-20160816; b=RPO1rJbf/E3S0m1qeB+8jLfy0rxCR1S0CMV/ibQHJhu9PyMn6qVG2FIjEf/KgtHimi CMfSSBGB4gZGJo2TXU3aDLNHue0UpQGjuUV6SFZRBUbP4V13MMUSNj2tTMHwjZfCN6MZ gRt8UI1tNQKTrXVfq/KC9mmrEn+uPjnJokopYk0v1M3OCbrg+XgF/9YMlLdeNT9AuKrL rfvly37EHFfqrleHH868vXoEmDRUS/1e3oLYMt10rroCb2yoyMCZ/9D/CIK6fiFSehNM NF9Xo+ZjgW55vlwQnSpsUVf1vDTqUhnIzOtsK+Ock2UJx/RudlRw+g5AOF9W3P6WPhAX l8iQ== 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=qzlLQckTW+33Om3/oZIAM2mnb5f2W4TWg+qJuaTl4zwCyXY2vXA0kuJbRbfPalJTcd T8+MOxFOpDQNTWXr4PA9jFARFUiG2CV3AzSmbVLjDEDS2mh0eOngqwBvvNVQbCAKtRAg MeGTZMgslv9i4jJ90fgVkZEsmlRd+0n5Cyvcq9UvE/Hk2Ono4RDEAKGaxctEcjGuPLBz yW4bhc0siiLF4At5rjWoov+6mAT5WKOOe00C0SEY+ZATjqd6dROAZ5f2EyJ8D1y9Kutv /5yn4kB0sQPHj8ATcH1pqRxj5RC2ZRUxDbx5vhDg7xVPeX0Ej9ewun8/myk+mPf0w5Mk qZ5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id i3-20020a639d03000000b005aee0914b6csi6206768pgd.8.2023.10.16.07.14.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 07:14:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id 51C5380A9E39; Mon, 16 Oct 2023 07:14:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233707AbjJPONm (ORCPT <rfc822;hjfbswb@gmail.com> + 18 others); Mon, 16 Oct 2023 10:13:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233535AbjJPONX (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 16 Oct 2023 10:13:23 -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 230A883 for <linux-kernel@vger.kernel.org>; Mon, 16 Oct 2023 07:13:22 -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 1qsOL4-0002pD-HW; Mon, 16 Oct 2023 16:12:58 +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 1qsOL3-0026aE-AT; Mon, 16 Oct 2023 16:12:57 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from <ore@pengutronix.de>) id 1qsOL3-008ROI-0p; Mon, 16 Oct 2023 16:12:57 +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 v4 2/9] dt-bindings: net: dsa: microchip: add wakeup-source property Date: Mon, 16 Oct 2023 16:12:49 +0200 Message-Id: <20231016141256.2011861-3-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231016141256.2011861-1-o.rempel@pengutronix.de> References: <20231016141256.2011861-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 fry.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 (fry.vger.email [0.0.0.0]); Mon, 16 Oct 2023 07:14:21 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779921755073209026 X-GMAIL-MSGID: 1779921755073209026 |
Series |
net: dsa: microchip: provide Wake on LAN support
|
|
Commit Message
Oleksij Rempel
Oct. 16, 2023, 2:12 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(+)
Comments
On Mon, Oct 16, 2023 at 04:12:49PM +0200, Oleksij Rempel wrote: > 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> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Andrew
On 10/16/2023 7:12 AM, Oleksij Rempel wrote: > 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> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
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