Message ID | 20230721135501.1464455-2-o.rempel@pengutronix.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp231899vqg; Fri, 21 Jul 2023 07:09:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlF2Omjq5vvTqSMJNdbpvbrrp2fwpbYu2R0oLlsAK0DFVwPxFX+IApXp1f857wux7f5NEuO9 X-Received: by 2002:a05:6a20:117:b0:133:ee16:567f with SMTP id 23-20020a056a20011700b00133ee16567fmr1610449pzr.13.1689948591038; Fri, 21 Jul 2023 07:09:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689948591; cv=none; d=google.com; s=arc-20160816; b=LeTb7q/PER14NGVJmp2REII86GhhcY2u4C78JqEenDK6rznDWjBIIwbU3iCrbJTdGk lXMPkytITaXIYFwMhM2/p/1c6CEKX+ZEjMTLaO163Tn6KvD3g5YwKP07bPshq9pm4fEH Ea06hw6IeWn6f4SVnNjwskrT70Ftd8bxFW2YfAmDfIxqQ4UyHdFpFGLAE8+BDRMg90DQ /kvTfbnx1sD4wNwZrrGdsr+N+3v314jl8f4xm3P4xgk2MY3fjTCkf2NYAb/xDaNRFfky qkpPnUUDYI69Y0z4XnFS8uzltyfg9gwIKGJhnjV3p6CY01Hr20lib5um/aKGG93wjrT+ W2Uw== 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=zVNFqiAkxufnqaPIT+pjjmQFEaWrFah3r5hz41RKQq0=; fh=yFqBPFPfvYTedN4oHtE49wZifoqshSB4sZnJfcmRU3Q=; b=gQt8vWwqJIxbw2sTxYJlntZFm1v/6lVDvfV7yWNia4RNUs1HivuFPH8naWyC4mMAtY +yHA/JoBVwogMgM4AdO39mcycX427jWe7Vl4E9HeOYptDrFMPq/rSXpMYEn7E9L23QxF F3KW5XyUPWIqUInEwM8SFUCTXSpUkF2YzYjM+DSBv6xxR1XJn2wOtU43NQPVDqm7Sn00 hLrwXEpvdw1bCJwElm+qUQS97sXeDiNX4aHKiP4qCUZbusboMuaE4W08nkBsG4tx/6ny KJEKUja1Bn1gPBmxmU0Z6QMkr5xIJwnIOUqlq5qUbTA3QmKRd4dC3IMmQCs7fv+E8tJb ybaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q24-20020a637518000000b00553851380besi3088782pgc.397.2023.07.21.07.09.31; Fri, 21 Jul 2023 07:09:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231795AbjGUN4R (ORCPT <rfc822;assdfgzxcv4@gmail.com> + 99 others); Fri, 21 Jul 2023 09:56:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231669AbjGUNzw (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 21 Jul 2023 09:55:52 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CB7630E6 for <linux-kernel@vger.kernel.org>; Fri, 21 Jul 2023 06:55:34 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <ore@pengutronix.de>) id 1qMqb3-0005Ru-Vy; Fri, 21 Jul 2023 15:55:06 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from <ore@pengutronix.de>) id 1qMqb1-00150f-IU; Fri, 21 Jul 2023 15:55:03 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from <ore@pengutronix.de>) id 1qMqb0-0068yu-1n; Fri, 21 Jul 2023 15:55:02 +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 v2 1/6] dt-bindings: net: dsa: microchip: add wakeup-source property Date: Fri, 21 Jul 2023 15:54:56 +0200 Message-Id: <20230721135501.1464455-2-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230721135501.1464455-1-o.rempel@pengutronix.de> References: <20230721135501.1464455-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.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772039533678167197 X-GMAIL-MSGID: 1772039533678167197 |
Series |
net: dsa: microchip: provide Wake on LAN support
|
|
Commit Message
Oleksij Rempel
July 21, 2023, 1:54 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 e51be1ac03623..26385ba624245 100644 --- a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml +++ b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml @@ -49,6 +49,8 @@ properties: Set if the output SYNCLKO clock should be disabled. Do not mix with microchip,synclko-125. + wakeup-source: true + required: - compatible - reg