From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 71F9DC10F14 for ; Mon, 8 Apr 2019 12:50:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4401320883 for ; Mon, 8 Apr 2019 12:50:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="eosgU5hi" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726623AbfDHMuu (ORCPT ); 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-Google-Smtp-Source: APXvYqxm6gQM5RizB+QB98o/vRKWl9Hck0t3rr9vH0/mChEJSdcx8mhIM4dkN1BSfuO67QpDJ3ehnEaYQ430riupIIk= 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