Re: [PATCH] gpio: mpc8xxx: Add wake on GPIO support
From: Andy Shevchenko
Date: Mon Sep 02 2024 - 12:23:31 EST
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