mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-29 14:05:19 +08:00
6d99971842
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>
21 lines
506 B
Plaintext
21 lines
506 B
Plaintext
Motorola CPCAP on key
|
|
|
|
This module is part of the CPCAP. For more details about the whole
|
|
chip see Documentation/devicetree/bindings/mfd/motorola-cpcap.txt.
|
|
|
|
This module provides a simple power button event via an Interrupt.
|
|
|
|
Required properties:
|
|
- compatible: should be one of the following
|
|
- "motorola,cpcap-pwrbutton"
|
|
- interrupts: irq specifier for CPCAP's ON IRQ
|
|
|
|
Example:
|
|
|
|
&cpcap {
|
|
cpcap_pwrbutton: pwrbutton {
|
|
compatible = "motorola,cpcap-pwrbutton";
|
|
interrupts = <23 IRQ_TYPE_NONE>;
|
|
};
|
|
};
|