path: root/dts/Bindings/input/gpio-keys.txt
diff options
authorSascha Hauer <>2015-02-09 08:45:46 +0100
committerSascha Hauer <>2015-02-11 09:50:08 +0100
commit7439e0ffa8f712bd7a2833bb881e4ddb90c5d527 (patch)
treee79288b2561480533cb1e7699f3bda667c20861a /dts/Bindings/input/gpio-keys.txt
parentab001302c8e1718110bb8839c270d2caa817b214 (diff)
dts: update to v3.19-rc3
Signed-off-by: Sascha Hauer <>
Diffstat (limited to 'dts/Bindings/input/gpio-keys.txt')
1 files changed, 7 insertions, 3 deletions
diff --git a/dts/Bindings/input/gpio-keys.txt b/dts/Bindings/input/gpio-keys.txt
index a4a38fcf2e..44b705767a 100644
--- a/dts/Bindings/input/gpio-keys.txt
+++ b/dts/Bindings/input/gpio-keys.txt
@@ -10,12 +10,13 @@ Optional properties:
Each button (key) is represented as a sub-node of "gpio-keys":
Subnode properties:
+ - gpios: OF device-tree gpio specification.
+ - interrupts: the interrupt line for that input.
- label: Descriptive name of the key.
- linux,code: Keycode to emit.
-Required mutual exclusive subnode-properties:
- - gpios: OF device-tree gpio specification.
- - interrupts: the interrupt line for that input
+Note that either "interrupts" or "gpios" properties can be omitted, but not
+both at the same time. Specifying both properties is allowed.
Optional subnode-properties:
- linux,input-type: Specify event type this button/key generates.
@@ -23,6 +24,9 @@ Optional subnode-properties:
- debounce-interval: Debouncing interval time in milliseconds.
If not specified defaults to 5.
- gpio-key,wakeup: Boolean, button can wake-up the system.
+ - linux,can-disable: Boolean, indicates that button is connected
+ to dedicated (not shared) interrupt which can be disabled to
+ suppress events from the button.
Example nodes: