Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1646386rdg; Sat, 14 Oct 2023 10:26:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGd2R0itWJm+EJ8k/PXCSTSbYqsMzgcagFBLEXV3EQHdrdqBeufcDzFYOPDHs7balXxW5Bu X-Received: by 2002:a05:6808:f8b:b0:3a8:80ea:f0c6 with SMTP id o11-20020a0568080f8b00b003a880eaf0c6mr37864470oiw.29.1697304365094; Sat, 14 Oct 2023 10:26:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697304365; cv=none; d=google.com; s=arc-20160816; b=PXATJ60bbeMMzIR4+HO+Yn6SuNaOedNHvUv9VHRZQzctweg742xHQK7p83OpHl+uJ2 feroKcTLbv21JUO1GoKdlEAeK3LiwFb5xHQNbGzaYKcafWvF215WOaMdkEjvrlj5ZHbf IoR7Fer5rznPyvFxHAuOQMI/0N54pJ+DVQaPbLLa3DufOBWOVJjfaAGn7ryAS10D5Qb/ Pf3gyn/h7ytT/JtiG1SkBkZSmvMRwxk4O2zpwVWKE1+2X4LB0+YJWXI2k1nAM3bOYZf2 +0tlPRcqRcEuFkqYAH2cDugLxRkclg2/+m/rrIWQ1R+8XrrfMUKF/xvygajQ2KMCxwGA oCnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=5ZME0K/dUDkM/nKqY8eSFCRWyXSzcZpmLHsxSY+6UqM=; fh=pbdktCCt2wJuv718rIqzCC/OpSnBg3qQmTtg1LbUuLo=; b=vaqVeByDB9FVrmVgnWZR9rAdPabbshEB9bGGkgWsO6mhqBh6YSvF1uFanN2jCQG5fA Kfy4q/h0V8iiqHJx9hGSU2+icW+HuCLm2TgBC+GX6rXBZaeu+h1NtgBQ3cY9muvcwl/k F820i5uXxL5DSG/wUAnkAQzz76MiZ977OVc9zltu2ccl1VnLviyj+cwd94Sp5c+3MV2S nvdeqO8m/IcaZtn0e9jEIDdJKrrajVNZZo3UJGcDnwGM5ukAAl1OR6YbYyjRDGRaidHs z2h/rpCKzF5qBqL5v2aZF5ASp/CUS6l8Dlb93+pMjuYyVxjkVTk+En1TOwGHu9wxMr5O HGXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=ewd2lzFJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id oa17-20020a17090b1bd100b0027b0aac2191si2889604pjb.15.2023.10.14.10.26.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Oct 2023 10:26:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=ewd2lzFJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 30D9E809E8B1; Sat, 14 Oct 2023 10:25:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233277AbjJNRZT (ORCPT + 99 others); Sat, 14 Oct 2023 13:25:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233197AbjJNRZS (ORCPT ); Sat, 14 Oct 2023 13:25:18 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 818F5B7; Sat, 14 Oct 2023 10:25:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=5ZME0K/dUDkM/nKqY8eSFCRWyXSzcZpmLHsxSY+6UqM=; b=ewd2lzFJ8Do+OaFuiRpDDEmqhh EIvgrbc4xgCxnGRXUwa15z+cuyUB74YI5mGgLR+UCuCmbQPmcrK51aCt8J2KLgzAIg2UgsqZAgPKz 9sD1NfRI8ymEcZWhqZuCnyc+i3CO5SCYAmaPd8Y0OFKxXU5KD226opke1ZKogfyy3NxE=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qriNw-002C31-DI; Sat, 14 Oct 2023 19:25:08 +0200 Date: Sat, 14 Oct 2023 19:25:08 +0200 From: Andrew Lunn To: Oleksij Rempel Cc: "David S. Miller" , Eric Dumazet , Florian Fainelli , Jakub Kicinski , Paolo Abeni , Vladimir Oltean , Woojung Huh , Arun Ramadoss , Conor Dooley , Krzysztof Kozlowski , Rob Herring , kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, UNGLinuxDriver@microchip.com, "Russell King (Oracle)" , devicetree@vger.kernel.org Subject: Re: [PATCH net-next v3 6/7] net: dsa: microchip: use wakeup-source DT property to enable PME output Message-ID: References: <20231013122405.3745475-1-o.rempel@pengutronix.de> <20231013122405.3745475-7-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231013122405.3745475-7-o.rempel@pengutronix.de> X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 morse.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 (morse.vger.email [0.0.0.0]); Sat, 14 Oct 2023 10:25:41 -0700 (PDT) On Fri, Oct 13, 2023 at 02:24:04PM +0200, Oleksij Rempel wrote: > KSZ switches with WoL support signals wake event over PME pin. If this > pin is attached to some external PMIC or System Controller can't be > described as GPIO, the only way to describe it in the devicetree is to > use wakeup-source property. So, add support for this property and enable > PME switch output if this property is present. So i get the feeling these patches are in the wrong order. The binding and this patch being first would answer my question about why the pin would not be active. Or a better explanation in patch 0/X about the whole series. Andrew