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