mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 05:11:48 +00:00
c81e592696
Add device tree support for twl4030 power button driver. Adding device tree support involved converting the driver to module_platform_driver(). Signed-off-by: Sebastian Reichel <sre@debian.org> Acked-by: Kumar Gala <galak@codeaurora.org> Tested-by: Florian Vaussard <florian.vaussard@epfl.ch> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
22 lines
601 B
Plaintext
22 lines
601 B
Plaintext
Texas Instruments TWL family (twl4030) pwrbutton module
|
|
|
|
This module is part of the TWL4030. For more details about the whole
|
|
chip see Documentation/devicetree/bindings/mfd/twl-familly.txt.
|
|
|
|
This module provides a simple power button event via an Interrupt.
|
|
|
|
Required properties:
|
|
- compatible: should be one of the following
|
|
- "ti,twl4030-pwrbutton": For controllers compatible with twl4030
|
|
- interrupts: should be one of the following
|
|
- <8>: For controllers compatible with twl4030
|
|
|
|
Example:
|
|
|
|
&twl {
|
|
twl_pwrbutton: pwrbutton {
|
|
compatible = "ti,twl4030-pwrbutton";
|
|
interrupts = <8>;
|
|
};
|
|
};
|