Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp311924rdb; Thu, 19 Oct 2023 05:29:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEUeDRFlaCY8zjG/sW97GiKBBMdFzPCR6JaS4AeNkgj1W+2BO59zuSdsNWCbmlqx4h8fy+i X-Received: by 2002:a17:902:e841:b0:1c5:6157:f073 with SMTP id t1-20020a170902e84100b001c56157f073mr2481968plg.11.1697718594561; Thu, 19 Oct 2023 05:29:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697718594; cv=none; d=google.com; s=arc-20160816; b=AVXSMsb3SJBD/p5TYzywVMysO6/jRN0rqhutEJjTC7tUvUko2Sf9Fg8u6fT0aCmReJ WM9ErLpKK/mNbx0m6rofQsNnzrAftKUE2dKLzVR6caGcZIWdS7LD8gXeDg3Nfx9ih+P+ L0g9CZPtsrtCJoLoW8vmBcixxQ4wKpMGcJqK7WxLf6RxBQfVVpHiYrJmmBhsa4+28sdr olo0zWPAjNDYWmhT33CAhnl7TlqlvKLCRNEQOl3RgLZXdrlR7XcO1w0EjXzwMQ4ZZjwb 7ifDRwE+++vC6AOqxwWhZ1ikCNOvKAzMEOQmOZ9SPF0bh5CpkkY2Zvoucgu9wnz3TJbU Q5QQ== 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=Fwt/6BYL2UmIVmKtQygh//nfjYdpf0+0QmuJAOohXKQ=; fh=v2jo/eqfeHWs70JmhtXZirYtU7X8dR+HrAltsig6BQc=; b=BP0FMkmDdeXFo4FVbu1ZBBH90kaaTl0yEK5iTIN9xP6Dj50RMLXzbVQ/3NGuFc909m AI5lTRonbItOZTfkHxjUO/JHXTXnao+6NeGYDoX6VR9yVTOhP/IJ+fbVBZwlhJBfghXd dRV6WOdy79gJvGEszR2184dUxXR4keGyceEnXyJ2qcXXc3zH33Ps90onIvnCeKB6XwFs pPXuLnL4GShzXCJo85efRNfxBdWAZ0tRXto4IV+E7xIsCZ1kSDlgy9QKitJDgg/z2Zrr 7qvFZIr4CegI/dqVWo9tgM6FTRXigL9G9HW+TO8KU5YqJwbD+Cg8g537QWs5vyiILSaB fr7g== 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:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id p1-20020a170902e74100b001c9b5d2c406si2058541plf.403.2023.10.19.05.29.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 05:29:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id E6BB58229F02; Thu, 19 Oct 2023 05:29:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345595AbjJSM3a (ORCPT + 99 others); Thu, 19 Oct 2023 08:29:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345556AbjJSM3S (ORCPT ); Thu, 19 Oct 2023 08:29:18 -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 1396B138 for ; Thu, 19 Oct 2023 05:29:16 -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 ) id 1qtS8y-0006Kt-OY; Thu, 19 Oct 2023 14:28:52 +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 ) id 1qtS8x-002mrk-GM; Thu, 19 Oct 2023 14:28:51 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1qtS8x-00528s-1P; Thu, 19 Oct 2023 14:28:51 +0200 From: Oleksij Rempel To: "David S. Miller" , Andrew Lunn , Eric Dumazet , Florian Fainelli , Jakub Kicinski , Paolo Abeni , Vladimir Oltean , Woojung Huh , Arun Ramadoss , Conor Dooley , Krzysztof Kozlowski , Rob Herring Cc: Oleksij Rempel , Conor Dooley , Florian Fainelli , kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, UNGLinuxDriver@microchip.com, "Russell King (Oracle)" , devicetree@vger.kernel.org Subject: [PATCH net-next v6 2/9] dt-bindings: net: dsa: microchip: add wakeup-source property Date: Thu, 19 Oct 2023 14:28:43 +0200 Message-Id: <20231019122850.1199821-3-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231019122850.1199821-1-o.rempel@pengutronix.de> References: <20231019122850.1199821-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 groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 19 Oct 2023 05:29:48 -0700 (PDT) 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 Acked-by: Conor Dooley Reviewed-by: Andrew Lunn Reviewed-by: Florian Fainelli --- 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 -- 2.39.2