blob: 8682ab6d4a50f86d0d352f6b5b4e8a337c5511c4 [file] [log] [blame]
Marcin Niestroj722dc542016-09-10 10:42:53 -07001Texas 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.
Felipe Balbi5fafed32014-12-27 20:37:37 -08005
6This driver provides a simple power button event via an Interrupt.
7
8Required properties:
Marcin Niestroj722dc542016-09-10 10:42:53 -07009- compatible: should be "ti,tps65217-pwrbutton" or "ti,tps65218-pwrbutton"
10
Milo Kim2bc4d1c2016-12-09 15:28:33 +090011Required properties:
Felipe Balbi5fafed32014-12-27 20:37:37 -080012- interrupts: should be one of the following
Milo Kim2bc4d1c2016-12-09 15:28:33 +090013 - <2>: For controllers compatible with tps65217
Felipe Balbi5fafed32014-12-27 20:37:37 -080014 - <3 IRQ_TYPE_EDGE_BOTH>: For controllers compatible with tps65218
15
Marcin Niestroj722dc542016-09-10 10:42:53 -070016Examples:
17
18&tps {
19 tps65217-pwrbutton {
20 compatible = "ti,tps65217-pwrbutton";
Milo Kim2bc4d1c2016-12-09 15:28:33 +090021 interrupts = <2>;
Marcin Niestroj722dc542016-09-10 10:42:53 -070022 };
23};
Felipe Balbi5fafed32014-12-27 20:37:37 -080024
25&tps {
26 power-button {
27 compatible = "ti,tps65218-pwrbutton";
28 interrupts = <3 IRQ_TYPE_EDGE_BOTH>;
29 };
30};