162306a36Sopenharmony_ciTexas Instruments TPS65217 and TPS65218 power button 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciThis module is part of the TPS65217/TPS65218. For more details about the whole 462306a36Sopenharmony_ciTPS65217 chip see Documentation/devicetree/bindings/regulator/tps65217.txt. 562306a36Sopenharmony_ci 662306a36Sopenharmony_ciThis driver provides a simple power button event via an Interrupt. 762306a36Sopenharmony_ci 862306a36Sopenharmony_ciRequired properties: 962306a36Sopenharmony_ci- compatible: should be "ti,tps65217-pwrbutton" or "ti,tps65218-pwrbutton" 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ciRequired properties: 1262306a36Sopenharmony_ci- interrupts: should be one of the following 1362306a36Sopenharmony_ci - <2>: For controllers compatible with tps65217 1462306a36Sopenharmony_ci - <3 IRQ_TYPE_EDGE_BOTH>: For controllers compatible with tps65218 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ciExamples: 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ci&tps { 1962306a36Sopenharmony_ci tps65217-pwrbutton { 2062306a36Sopenharmony_ci compatible = "ti,tps65217-pwrbutton"; 2162306a36Sopenharmony_ci interrupts = <2>; 2262306a36Sopenharmony_ci }; 2362306a36Sopenharmony_ci}; 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_ci&tps { 2662306a36Sopenharmony_ci power-button { 2762306a36Sopenharmony_ci compatible = "ti,tps65218-pwrbutton"; 2862306a36Sopenharmony_ci interrupts = <3 IRQ_TYPE_EDGE_BOTH>; 2962306a36Sopenharmony_ci }; 3062306a36Sopenharmony_ci}; 31