On Wed, Oct 2, 2019 at 4:45 PM Thierry Reding <thierry.reding@xxxxxxxxx> wrote: > From: Thierry Reding <treding@xxxxxxxxxx> > > The GPIO controller doesn't have any controls to enable the system to > wake up from low power states based on activity on GPIO pins. An extra > hardware block that is part of the power management controller (PMC) > contains these controls. In order for the GPIO controller to be able > to cooperate with the PMC, obtain a reference to the PMC's IRQ domain > and make it a parent to the GPIO controller's IRQ domain. This way the > PMC gets an opportunity to program the additional registers required > to enable wakeup sources on suspend. > > Based on additional work by Bitan Biswas <bbiswas@xxxxxxxxxx>. > > Signed-off-by: Thierry Reding <treding@xxxxxxxxxx> > --- > Changes in v5: > - rebase on top of new hierarchical IRQ domain support Patch applied! Also a special thanks for standing out to my sometimes flimsy and handwavy engineering, and I'm happy we landed this the way I imagined it. Sort of. Yours, Linus Walleij