Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1102712rda; Mon, 23 Oct 2023 02:34:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHydfpvImwrZlHbuoFafFC1XXEbkdluqsWCwZh2NlffI+rqzWnPaLSz8XVlkG/4VbKnBXz/ X-Received: by 2002:a17:902:f68b:b0:1ca:8252:a72 with SMTP id l11-20020a170902f68b00b001ca82520a72mr9766109plg.63.1698053664144; Mon, 23 Oct 2023 02:34:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698053664; cv=none; d=google.com; s=arc-20160816; b=ulNixDK4OWZW6K7IDIJl3ghyIdAlum+P6Fit8Grj26mwFx58csjPN+GOUqQhctaUca 7trhiHICdHX6b0tWaMqtGYZ+nASs0H3uOUIGlmo0Cs+HE7vOJnCnDR6yL9nTqG8ko+2y 8fbVuw2/cvu//tdmeIJKJPOIVP2+/VLUM47UJNt/GjLo7Gl5Xuve7ABSSvn+sTxL6VTC QN/1QyPHFEU0b6gX/dZH3FS8Kg+W2jFuJ5ZsVMLbjHYpzwKVCeq5w72Co1hqdhUps9Zo xcOHcNpE4ANRYxL3wt7UFmkURjnW6gZuRlstM7zKq7WYiO+iHFbMZwjaeq/+y347Hcr8 Dsjw== 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=aChFktO34dvc7T1vmanq0ks4DLJRYFLF+W8qvnas7qI=; fh=v2jo/eqfeHWs70JmhtXZirYtU7X8dR+HrAltsig6BQc=; b=00nqRuLgqsGgzGT4ZuOsxY8caWoU43PrkmFTzSRp0N2o5QweUawBs3iKcmRSJGoTxJ aFdEzg+ULyICdpTRlH8bMIiH1hrvSKxJ6260l7It1DAG3PLVTVb4yv7riMYZYWJjf/PO /+gMb/lg28YUVkixeGnzO16wQTKlvbhcZ/I+9YdQgFD36TvUUYVmio1oeyALQ8jYehh7 tQMzvqLAx0JR/154CTZf/+YBNClMeGbdeRlZAJFMzOMUpH3I/iDEuJBe3DA9cj4kaTYO /S28YWe89+PiBpKwSdf2wcreMOtwTVCm0xzcGoKvIgon7HVQ8W0XIRMNUU29Oz2UP9Xk IhhQ== 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:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id s17-20020a170902989100b001c9d7d8860fsi5852380plp.485.2023.10.23.02.34.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 02:34:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 40EF28047068; Mon, 23 Oct 2023 02:34:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233006AbjJWJeP (ORCPT + 99 others); Mon, 23 Oct 2023 05:34:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbjJWJeI (ORCPT ); Mon, 23 Oct 2023 05:34:08 -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 AA379DF for ; Mon, 23 Oct 2023 02:34:05 -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 1qurJi-0000DA-0o; Mon, 23 Oct 2023 11:33:46 +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 1qurJg-003fwn-Ue; Mon, 23 Oct 2023 11:33:44 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1qurJg-009wcj-2p; Mon, 23 Oct 2023 11:33:44 +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 v7 2/9] dt-bindings: net: dsa: microchip: add wakeup-source property Date: Mon, 23 Oct 2023 11:33:36 +0200 Message-Id: <20231023093343.2370248-3-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231023093343.2370248-1-o.rempel@pengutronix.de> References: <20231023093343.2370248-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=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 23 Oct 2023 02:34:23 -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..b3029c64d0d5 100644 --- a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml +++ b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml @@ -38,6 +38,8 @@ properties: Should be a gpio specifier for a reset line. maxItems: 1 + wakeup-source: true + microchip,synclko-125: $ref: /schemas/types.yaml#/definitions/flag description: -- 2.39.2