diff options
| author | Sebastian Reichel <sre@kernel.org> | 2017-03-21 18:50:42 -0400 |
|---|---|---|
| committer | Lee Jones <lee.jones@linaro.org> | 2017-04-11 10:18:09 -0400 |
| commit | 6d99971842f6b0779738d8c168d9ed92ef1ff5fc (patch) | |
| tree | 89eb10be14889ead0f1f972ebbfad8b781fd7da5 /Documentation/devicetree/bindings/input | |
| parent | ab781ec0e5e781849bd14291608c8626bac871e1 (diff) | |
input: cpcap-pwrbutton: New driver
Motorola CPCAP is a PMIC found in multiple smartphones.
This driver adds support for the power/on button and has
been tested in Droid 4.
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/input')
| -rw-r--r-- | Documentation/devicetree/bindings/input/cpcap-pwrbutton.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/cpcap-pwrbutton.txt b/Documentation/devicetree/bindings/input/cpcap-pwrbutton.txt new file mode 100644 index 000000000000..0dd0076daf71 --- /dev/null +++ b/Documentation/devicetree/bindings/input/cpcap-pwrbutton.txt | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | Motorola CPCAP on key | ||
| 2 | |||
| 3 | This module is part of the CPCAP. For more details about the whole | ||
| 4 | chip see Documentation/devicetree/bindings/mfd/motorola-cpcap.txt. | ||
| 5 | |||
| 6 | This module provides a simple power button event via an Interrupt. | ||
| 7 | |||
| 8 | Required properties: | ||
| 9 | - compatible: should be one of the following | ||
| 10 | - "motorola,cpcap-pwrbutton" | ||
| 11 | - interrupts: irq specifier for CPCAP's ON IRQ | ||
| 12 | |||
| 13 | Example: | ||
| 14 | |||
| 15 | &cpcap { | ||
| 16 | cpcap_pwrbutton: pwrbutton { | ||
| 17 | compatible = "motorola,cpcap-pwrbutton"; | ||
| 18 | interrupts = <23 IRQ_TYPE_NONE>; | ||
| 19 | }; | ||
| 20 | }; | ||
