Re: [PATCH v3 1/2] dt-bindings: input: gpio-keys: add pinctrl states
From: Rob Herring (Arm)
Date: Thu Oct 01 2026 - 16:03:52 EST
On Thu, 01 Oct 2026 10:50:33 -0500, Kendall Willis wrote:
> Document pinctrl properties on the gpio-keys device node. The default
> pinctrl state describes the default pin configuration. The wakeup state
> configures pins to be able to wakeup the system from suspend if GPIO is a
> wakeup source.
>
> The pinctrl sleep state is not defined here despite being used to configure
> pins for system suspend to save power. It is not defined since no
> gpio-key device tree nodes utilize it. If the sleep state was added, a
> device could use both the wakeup state and sleep state. The sleep state
> would be entered upon suspend when wakeup is disabled for the device,
> whereas the wakeup state would be entered upon suspend if wakeup is enabled
> for the device. For now only the wakeup state is defined since it is
> used specifically to enable pin configurations that can wakeup the
> system from suspend.
>
> Signed-off-by: Kendall Willis <k-willis@xxxxxx>
> ---
> Documentation/devicetree/bindings/input/gpio-keys.yaml | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
Reviewed-by: Rob Herring (Arm) <robh@xxxxxxxxxx>