Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/input/cpcap-pwrbutton.txt
26308 views
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
};
21
22