Re: [PATCH v4 0/2] Input: gpio-keys - support wakeup pinctrl state
From: Francesco Dolcini
Date: Mon Oct 19 2026 - 09:00:05 EST
Hello Kendall,
On Mon, Oct 05, 2026 at 03:47:03PM -0500, Kendall Willis wrote:
> Add 'wakeup' pinctrl state to support separate pin wakeup
> configurations for GPIO. Upon suspend the 'wakeup' pinctrl state is
> chosen if it exists. On resume the 'default' pinctrl state is selected.
> The 'wakeup' pinctrl state allows wakeup from low-power states if a
> specific pin configuration is needed.
>
> On TI K3 AM62 family of devices, the GPIO controller is turned off in
> suspend to RAM states, so no interrupt can be received by the
> controller. This prevents system wakeup from low-power states.
> Alternatively, the pins can wakeup the system if a wakeup flag is set on
> the pin by using pinctrl.
>
> A corresponding device tree patch using the 'wakeup' pinctrl state can
> be found under "arm64: dts: ti: k3-am62l3-evm: add wakeup-source for GPIO
> button" [1].
>
> Tested GPIO wakeup from suspend on AM62L EVM and AM62P EVM.
>
> [1] https://lore.kernel.org/all/20260912-upstream-gpio-wakeup-dts-v1-1-2057d76c63aa@xxxxxx/
>
> Signed-off-by: Kendall Willis <k-willis@xxxxxx>
What's the plan/status on this? I see rob reviewed the bindings patch
(in v3), but the tag is lost here.
We would benefit for having this merged, Toradex Verdin AM62 needs this
feature.
Francesco