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