tps65218-pwrbutton.txt 780 B

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