[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZtXmb-z-KwCIO1R2@smile.fi.intel.com>
Date: Mon, 2 Sep 2024 19:23:11 +0300
From: Andy Shevchenko <andriy.shevchenko@...el.com>
To: Martyn Welch <martyn.welch@...labora.com>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>, kernel@...labora.com,
linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] gpio: mpc8xxx: Add wake on GPIO support
On Tue, Aug 20, 2024 at 03:33:27PM +0100, Martyn Welch wrote:
> The mpc8xxx GPIO can generate an interrupt on state change. This
> interrupt can be used to wake up the device from its sleep state if
> enabled to do so. Add required support to the driver so that the GPIO
> can be used in this way.
>
> In order for the GPIO to actually function in this way, it is necessary
> to also set the GPIO bit in the RCPM. This can be done via the device
> tree fsl,rcpm-wakeup property.
Any specific requirement(s) to:
1) avoid new PM macros (such as pm_ptr());
2) use quite outdated PM callbacks?
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists