aboutsummaryrefslogtreecommitdiff
path: root/Bindings/input/gpio-keys.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Bindings/input/gpio-keys.txt')
-rw-r--r--Bindings/input/gpio-keys.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Bindings/input/gpio-keys.txt b/Bindings/input/gpio-keys.txt
index 44b705767aca..21641236c095 100644
--- a/Bindings/input/gpio-keys.txt
+++ b/Bindings/input/gpio-keys.txt
@@ -6,6 +6,7 @@ Required properties:
Optional properties:
- autorepeat: Boolean, Enable auto repeat feature of Linux input
subsystem.
+ - label: String, name of the input device.
Each button (key) is represented as a sub-node of "gpio-keys":
Subnode properties:
@@ -23,7 +24,8 @@ Optional subnode-properties:
If not specified defaults to <1> == EV_KEY.
- debounce-interval: Debouncing interval time in milliseconds.
If not specified defaults to 5.
- - gpio-key,wakeup: Boolean, button can wake-up the system.
+ - wakeup-source: Boolean, button can wake-up the system.
+ (Legacy property supported: "gpio-key,wakeup")
- linux,can-disable: Boolean, indicates that button is connected
to dedicated (not shared) interrupt which can be disabled to
suppress events from the button.