Re: [PATCH v4 5/5] gpio: mxc: enable pad wakeup on i.MX8x platforms

From: Bartosz Golaszewski
Date: Mon Nov 07 2022 - 05:30:41 EST


On Thu, Oct 27, 2022 at 3:10 PM Shenwei Wang <shenwei.wang@xxxxxxx> wrote:
>
> On i.MX8QM/QXP/DXL SoCs, even a GPIO is selected as the wakeup source,
> the GPIO block will be powered off when system enters into suspend
> state. This can greatly reduce the power consumption of suspend state
> because the whole partition can be shutdown. This is called PAD wakeup
> feature on i.MX8x platform.
>
> This patch adds the noirq suspend/resume hooks and uses the pad wakeup
> feature as the default wakeup method for GPIO modules on
> i.MX8QM/QXP/DXL platforms.
>
> Signed-off-by: Shenwei Wang <shenwei.wang@xxxxxxx>
> Reviewed-by: Peng Fan <peng.fan@xxxxxxx>
> ---

Acked-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>