summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorOlof Johansson2011-12-29 18:58:16 +0100
committerDmitry Torokhov2011-12-30 09:26:00 +0100
commita445c7f0afb9114ef3de2d123f2c851787cf9d11 (patch)
tree554783015eee8cc895ee73ca0f5137ab0984f9b3 /Documentation
parentInput: add driver for AUO In-Cell touchscreens using pixcir ICs (diff)
downloadkernel-qcow2-linux-a445c7f0afb9114ef3de2d123f2c851787cf9d11.tar.gz
kernel-qcow2-linux-a445c7f0afb9114ef3de2d123f2c851787cf9d11.tar.xz
kernel-qcow2-linux-a445c7f0afb9114ef3de2d123f2c851787cf9d11.zip
Input: tegra-kbc - add device tree bindings
This adds a simple device tree binding to the tegra keyboard controller. Also, mark the default keymap as __devinitdata since it is not referenced after boot. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/input/tegra-kbc.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/tegra-kbc.txt b/Documentation/devicetree/bindings/input/tegra-kbc.txt
new file mode 100644
index 000000000000..5ecfa99089b4
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/tegra-kbc.txt
@@ -0,0 +1,18 @@
+* Tegra keyboard controller
+
+Required properties:
+- compatible: "nvidia,tegra20-kbc"
+
+Optional properties:
+- debounce-delay: delay in milliseconds per row scan for debouncing
+- repeat-delay: delay in milliseconds before repeat starts
+- ghost-filter: enable ghost filtering for this device
+- wakeup-source: configure keyboard as a wakeup source for suspend/resume
+
+Example:
+
+keyboard: keyboard {
+ compatible = "nvidia,tegra20-kbc";
+ reg = <0x7000e200 0x100>;
+ ghost-filter;
+};