]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt
dt-bindings: input: Specify the interrupt number of TPS65217 power button
[mirror_ubuntu-zesty-kernel.git] / Documentation / devicetree / bindings / input / tps65218-pwrbutton.txt
CommitLineData
722dc546
MN
1Texas Instruments TPS65217 and TPS65218 power button
2
3This module is part of the TPS65217/TPS65218. For more details about the whole
4TPS65217 chip see Documentation/devicetree/bindings/regulator/tps65217.txt.
5fafed3e
FB
5
6This driver provides a simple power button event via an Interrupt.
7
8Required properties:
722dc546
MN
9- compatible: should be "ti,tps65217-pwrbutton" or "ti,tps65218-pwrbutton"
10
82038157 11Required properties:
5fafed3e 12- interrupts: should be one of the following
82038157 13 - <2>: For controllers compatible with tps65217
5fafed3e
FB
14 - <3 IRQ_TYPE_EDGE_BOTH>: For controllers compatible with tps65218
15
722dc546
MN
16Examples:
17
18&tps {
19 tps65217-pwrbutton {
20 compatible = "ti,tps65217-pwrbutton";
82038157 21 interrupts = <2>;
722dc546
MN
22 };
23};
5fafed3e
FB
24
25&tps {
26 power-button {
27 compatible = "ti,tps65218-pwrbutton";
28 interrupts = <3 IRQ_TYPE_EDGE_BOTH>;
29 };
30};