treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / input / tps65218-pwrbutton.txt
blob8682ab6d4a50f86d0d352f6b5b4e8a337c5511c4
1 Texas Instruments TPS65217 and TPS65218 power button
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.
6 This driver provides a simple power button event via an Interrupt.
8 Required properties:
9 - compatible: should be "ti,tps65217-pwrbutton" or "ti,tps65218-pwrbutton"
11 Required properties:
12 - interrupts: should be one of the following
13    - <2>: For controllers compatible with tps65217
14    - <3 IRQ_TYPE_EDGE_BOTH>: For controllers compatible with tps65218
16 Examples:
18 &tps {
19         tps65217-pwrbutton {
20                 compatible = "ti,tps65217-pwrbutton";
21                 interrupts = <2>;
22         };
25 &tps {
26         power-button {
27                 compatible = "ti,tps65218-pwrbutton";
28                 interrupts = <3 IRQ_TYPE_EDGE_BOTH>;
29         };