summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorFelipe Balbi2014-12-28 05:37:37 +0100
committerDmitry Torokhov2014-12-28 05:43:03 +0100
commit5fafed3e5612e9f308d20dc94adf5fc3d4a1a2a8 (patch)
tree2d37cb7360ea3d970352eb11a75aada59dd12aea /Documentation
parentInput: add new sun4i-lradc-keys driver (diff)
downloadkernel-qcow2-linux-5fafed3e5612e9f308d20dc94adf5fc3d4a1a2a8.tar.gz
kernel-qcow2-linux-5fafed3e5612e9f308d20dc94adf5fc3d4a1a2a8.tar.xz
kernel-qcow2-linux-5fafed3e5612e9f308d20dc94adf5fc3d4a1a2a8.zip
Input: add tps65218 power button driver
With this driver, we can report KEY_POWER on AM437x SK. This patch has been tested with said board. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt b/Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt
new file mode 100644
index 000000000000..e30e0b93f2b3
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt
@@ -0,0 +1,17 @@
+Texas Instruments TPS65218 power button
+
+This driver provides a simple power button event via an Interrupt.
+
+Required properties:
+- compatible: should be "ti,tps65218-pwrbutton"
+- interrupts: should be one of the following
+ - <3 IRQ_TYPE_EDGE_BOTH>: For controllers compatible with tps65218
+
+Example:
+
+&tps {
+ power-button {
+ compatible = "ti,tps65218-pwrbutton";
+ interrupts = <3 IRQ_TYPE_EDGE_BOTH>;
+ };
+};