dt-bindings: input: gpio-keys: Allow optional dedicated wakeirq
authorTony Lindgren <tony@atomide.com>
Wed, 29 Nov 2023 11:06:14 +0000 (13:06 +0200)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 30 Nov 2023 20:06:55 +0000 (12:06 -0800)
commitd2ff98b7926e0956c0b92f7d5066cd8a65e7dfef
treeed9cd83dfd089cd46c77462f21f5d94fd12e32b8
parenta42b4bd51b2aec77fb38f1ce0f41846055a8d33c
dt-bindings: input: gpio-keys: Allow optional dedicated wakeirq

Allow configuring an optional dedicated wakeirq for gpio-keys that
some SoCs have.

Let's use the common interrupt naming "irq" and "wakeup" that we already
have in use for some drivers and subsystems like i2c framework.

Note that the gpio-keys interrupt property is optional. If only a gpio
property is specified, the driver tries to translate the gpio into an
interrupt.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20231129110618.27551-1-tony@atomide.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/gpio-keys.yaml