summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/input/nvidia,tegra20-kbc.txt
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-05-21 16:05:45 -0600
committerStephen Warren <swarren@nvidia.com>2012-06-11 11:48:42 -0600
commitf3d549dd5b217d084c9fe6581e0430909440de2b (patch)
treeabc7b632477bd0d0c1fd5c5ab41ba2db02891ec0 /Documentation/devicetree/bindings/input/nvidia,tegra20-kbc.txt
parent4c5ddd952ef1e534b45218cf4ad74b5496e6406c (diff)
dt: name all Tegra binding docs consistently
Rename all Tegra binding documentation according to the first or primary compatible value they describe. This provides a clear naming scheme for the files, and prevents any naming conflicts should future SoC versions require their own binding. Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'Documentation/devicetree/bindings/input/nvidia,tegra20-kbc.txt')
-rw-r--r--Documentation/devicetree/bindings/input/nvidia,tegra20-kbc.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/nvidia,tegra20-kbc.txt b/Documentation/devicetree/bindings/input/nvidia,tegra20-kbc.txt
new file mode 100644
index 000000000000..72683be6de35
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/nvidia,tegra20-kbc.txt
@@ -0,0 +1,23 @@
+* Tegra keyboard controller
+
+Required properties:
+- compatible: "nvidia,tegra20-kbc"
+
+Optional properties, in addition to those specified by the shared
+matrix-keyboard bindings:
+
+- linux,fn-keymap: a second keymap, same specification as the
+ matrix-keyboard-controller spec but to be used when the KEY_FN modifier
+ key is pressed.
+- nvidia,debounce-delay-ms: delay in milliseconds per row scan for debouncing
+- nvidia,repeat-delay-ms: delay in milliseconds before repeat starts
+- nvidia,ghost-filter: enable ghost filtering for this device
+- nvidia,wakeup-source: configure keyboard as a wakeup source for suspend/resume
+
+Example:
+
+keyboard: keyboard {
+ compatible = "nvidia,tegra20-kbc";
+ reg = <0x7000e200 0x100>;
+ nvidia,ghost-filter;
+};