Documentation/devicetree/bindings/input/cpcap-pwrbutton.txt

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/input/cpcap-pwrbutton.txt

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/input/cpcap-pwrbutton.txt
Extension
.txt
Size
506 bytes
Lines
21
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: documentation
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

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>;
	};
};

Annotation

Implementation Notes