mirror of
https://github.com/torvalds/linux.git
synced 2024-12-18 09:02:17 +00:00
5fafed3e56
With this driver, we can report KEY_POWER on AM437x SK. This patch has been tested with said board. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
18 lines
413 B
Plaintext
18 lines
413 B
Plaintext
Texas Instruments TPS65218 power button
|
|
|
|
This driver provides a simple power button event via an Interrupt.
|
|
|
|
Required properties:
|
|
- compatible: should be "ti,tps65218-pwrbutton"
|
|
- interrupts: should be one of the following
|
|
- <3 IRQ_TYPE_EDGE_BOTH>: For controllers compatible with tps65218
|
|
|
|
Example:
|
|
|
|
&tps {
|
|
power-button {
|
|
compatible = "ti,tps65218-pwrbutton";
|
|
interrupts = <3 IRQ_TYPE_EDGE_BOTH>;
|
|
};
|
|
};
|