Re: [PATCH RFC] gpio: pca953x: Configure wake-up path when wake-up is enabled
From: Linus Walleij
Date: Mon Apr 08 2019 - 08:50:52 EST
On Wed, Mar 20, 2019 at 11:39 AM Geert Uytterhoeven
> 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 <geert+renesas@xxxxxxxxx>
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.