RE: [PATCH v2] gpio: mxc: map Both Edge pad wakeup to Rising Edge
From: Peng Fan (OSS)
Date: Sat Mar 21 2026 - 23:04:21 EST
> Subject: [PATCH v2] gpio: mxc: map Both Edge pad wakeup to Rising
> Edge
>
> Suspend may fail on i.MX8QM when Falling Edge is used as a pad
> wakeup trigger due to a hardware bug in the detection logic. Since the
> hardware does not support Both Edge wakeup, remap requests for
> Both Edge to Rising Edge by default to avoid hitting this issue.
>
> A warning is emitted when Falling Edge is selected on i.MX8QM.
>
> Fixes: f60c9eac54af ("gpio: mxc: enable pad wakeup on i.MX8x
> platforms")
> cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Shenwei Wang <shenwei.wang@xxxxxxx>
Reviewed-by: Peng Fan <peng.fan@xxxxxxx>