Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2833154yba; Mon, 8 Apr 2019 05:51:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqw7Qb4v5LVz7iMA+31JGXpuSFwB1MItFiLR1DLvkMD0cxwH/nGqB0pSNM2loJz5hpp90MZa X-Received: by 2002:a62:5144:: with SMTP id f65mr29990111pfb.13.1554727910716; Mon, 08 Apr 2019 05:51:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554727910; cv=none; d=google.com; s=arc-20160816; b=AbFRH5BWmTIJ4CBk63FzlKjjww6GmBU3qpzfGxHuzzOcsaO4xZDh/GgvU67EzX8Mf2 8y6JNkvQBdCl85qQuJ8qlZ5y2zSyY1+p+dfn1lMtHS8C+S6Pimd8zZZVYxJVyUxf4GSm JE/XRm4K8f9w7qkSShTV6DVcMArYqDPye7w7GNcARxfiR9PslxQYT5OgQ75PgsqsGcvB 17VRYs4Xvtbm20yG002nAkxyzpKqLfCBAsvN7rt8FfMyk3+ngCkTk6X0OR8hPTahwbG/ 43+HwMQVNtrm1zAe1P7wnQCXrQkfUprcCe6s+n/wzhmmR9CZgcdmFL3BxI7uFCKQQSWl 63eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=kObOSXeLNarr4A7JyCeGDmf2Aqlc+AnUxoBbHSTRZHQ=; b=caHHr2k5hQjApsLDO40n0xn25gJZYOERlWZIpJlzcvUPixz/vSni2gujJSPFdyIK3C W6lYUWrv/L1MQp/QhJRqSUzEvTDeMBjlzzvTo7CPSCzNjD6NFePiWw96EYVUc2KkmHU7 LqQRKxNSQGDI2g3NtqSi87/s1z0Dgo78IggpUt8CpJNMhDuqZZDsBgmUYxo/ic7YBoXz hsYLuroNKG1OjGxkHV73DTgMMXiYDp/LXFAVtbUVCZrlhAgCfRz2bvKI9rtkZOc6AvUK yWwNYVDX4mNsJG86PggDX2lEae9pIBpPXrNXoQ2YVPOGodjlAUnsd4ruMHI4oTOFLqMP cmsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eosgU5hi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y18si28669370pfc.71.2019.04.08.05.51.35; Mon, 08 Apr 2019 05:51:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eosgU5hi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726600AbfDHMuu (ORCPT + 99 others); Mon, 8 Apr 2019 08:50:50 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:46568 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726349AbfDHMut (ORCPT ); Mon, 8 Apr 2019 08:50:49 -0400 Received: by mail-lf1-f65.google.com with SMTP id r25so801721lfn.13 for ; Mon, 08 Apr 2019 05:50:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kObOSXeLNarr4A7JyCeGDmf2Aqlc+AnUxoBbHSTRZHQ=; b=eosgU5hidfriIgdzaffD+gEjxqfYzI3r3ZsjYh7VmHGSIrCKhE0HubpIvm4G6Q66JC RmlZkX8thltFNhRW7qB2FRiv6rWE0gDjg9utnyKd97Nrj6YKU5tepS45ju+O4mnVeU5s la/UeY1gCcgYSVlcA9mdEjGXHp42yRzQfi6eA5qUweC3RNJ8cBsI9uQLWnp0lEJEgKqi /hYnBQmrRh3WqiIsdSSqkRy5/WCC7nM/M9OMMudpC0ndIklTQmbpRJVj4LSvmJ/638Mx IIwgPo2M19TUfc0yd4ZllxLYHmUqp5oBXEjATgeE0LjILu/Y97JPmRGWjy6zhwWwaJqY 0HMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kObOSXeLNarr4A7JyCeGDmf2Aqlc+AnUxoBbHSTRZHQ=; b=s03bodLGXnY5oZclGuRzRYBq5e6e93BUPQdanMjeL41m/iAntSRPq4RSUPOV3w1KOJ i1DxGbcEwE4sxzSsllxvmlvHu44erZcdWEbytDBR2ByTzyT48Yrz7gCjMqgP4rTof0RB R7cUrUbF2RdTG9b3e/a8sVfF4MbgyMW7e3w/Wjlv58LrC1vfzodNwucKVpiCfYfOJ3or b0obOzYVtW5818fLky3tbIyDMYPp3/Bmcr8YPL9REQ2Q/orstx/KjSSTjZwtEhFbgzUV yDLPT2GVcODzGXbeIINqOzayEmoHYEeB8hjIQpMjrmjx6XYOXxJXLszBtSEsJp8f+Uf2 Us+w== X-Gm-Message-State: APjAAAUJyYteK5JjhTcQaNf8ZsM/qBKpe0IyPK7O9l5sG002s9DDLn9h kULZdBJMXYlcf9zoCN2Cy5l/RDyeX5BBzbOx/e9JSg== X-Received: by 2002:ac2:54b0:: with SMTP id w16mr16050034lfk.138.1554727847932; Mon, 08 Apr 2019 05:50:47 -0700 (PDT) MIME-Version: 1.0 References: <20190320103927.21227-1-geert+renesas@glider.be> In-Reply-To: <20190320103927.21227-1-geert+renesas@glider.be> From: Linus Walleij Date: Mon, 8 Apr 2019 14:50:36 +0200 Message-ID: Subject: Re: [PATCH RFC] gpio: pca953x: Configure wake-up path when wake-up is enabled To: Geert Uytterhoeven Cc: Bartosz Golaszewski , "Rafael J . Wysocki" , Ulf Hansson , Kevin Hilman , Laurent Pinchart , "open list:GPIO SUBSYSTEM" , Linux PM list , Linux-Renesas , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 20, 2019 at 11:39 AM Geert Uytterhoeven wrote: > If a device is part of the wake-up path, it should indicate this by > setting its power.wakeup_path field. This allows the genpd core code to > keep the device enabled during system suspend when needed. > > As regulators powering devices are not handled by genpd, the driver > handles these itself, and thus must skip regulator control when the > device is part of the wake-up path. > > Signed-off-by: Geert Uytterhoeven Patch applied with Ulf's Review tag. If there are even better ways to do it I think we can fix that on top of this, it is best to start with something that obviously works and take it from there. Yours, Linus Walleij