1*c66ec88fSEmmanuel VadotTexas Instruments TPS65217 and TPS65218 power button 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotThis module is part of the TPS65217/TPS65218. For more details about the whole 4*c66ec88fSEmmanuel VadotTPS65217 chip see Documentation/devicetree/bindings/regulator/tps65217.txt. 5*c66ec88fSEmmanuel Vadot 6*c66ec88fSEmmanuel VadotThis driver provides a simple power button event via an Interrupt. 7*c66ec88fSEmmanuel Vadot 8*c66ec88fSEmmanuel VadotRequired properties: 9*c66ec88fSEmmanuel Vadot- compatible: should be "ti,tps65217-pwrbutton" or "ti,tps65218-pwrbutton" 10*c66ec88fSEmmanuel Vadot 11*c66ec88fSEmmanuel VadotRequired properties: 12*c66ec88fSEmmanuel Vadot- interrupts: should be one of the following 13*c66ec88fSEmmanuel Vadot - <2>: For controllers compatible with tps65217 14*c66ec88fSEmmanuel Vadot - <3 IRQ_TYPE_EDGE_BOTH>: For controllers compatible with tps65218 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel VadotExamples: 17*c66ec88fSEmmanuel Vadot 18*c66ec88fSEmmanuel Vadot&tps { 19*c66ec88fSEmmanuel Vadot tps65217-pwrbutton { 20*c66ec88fSEmmanuel Vadot compatible = "ti,tps65217-pwrbutton"; 21*c66ec88fSEmmanuel Vadot interrupts = <2>; 22*c66ec88fSEmmanuel Vadot }; 23*c66ec88fSEmmanuel Vadot}; 24*c66ec88fSEmmanuel Vadot 25*c66ec88fSEmmanuel Vadot&tps { 26*c66ec88fSEmmanuel Vadot power-button { 27*c66ec88fSEmmanuel Vadot compatible = "ti,tps65218-pwrbutton"; 28*c66ec88fSEmmanuel Vadot interrupts = <3 IRQ_TYPE_EDGE_BOTH>; 29*c66ec88fSEmmanuel Vadot }; 30*c66ec88fSEmmanuel Vadot}; 31