1*adff5962SNishanth MenonTexas Instruments Palmas family power button module 2*adff5962SNishanth Menon 3*adff5962SNishanth MenonThis module is part of the Palmas family of PMICs. For more details 4*adff5962SNishanth Menonabout the whole chip see: 5*adff5962SNishanth MenonDocumentation/devicetree/bindings/mfd/palmas.txt. 6*adff5962SNishanth Menon 7*adff5962SNishanth MenonThis module provides a simple power button event via an Interrupt. 8*adff5962SNishanth Menon 9*adff5962SNishanth MenonRequired properties: 10*adff5962SNishanth Menon- compatible: should be one of the following 11*adff5962SNishanth Menon - "ti,palmas-pwrbutton": For Palmas compatible power on button 12*adff5962SNishanth Menon- interrupts: Interrupt number of power button submodule on device. 13*adff5962SNishanth Menon 14*adff5962SNishanth MenonOptional Properties: 15*adff5962SNishanth Menon 16*adff5962SNishanth Menon- ti,palmas-long-press-seconds: Duration in seconds which the power 17*adff5962SNishanth Menon button should be kept pressed for Palmas to power off automatically. 18*adff5962SNishanth Menon NOTE: This depends on OTP support and POWERHOLD signal configuration 19*adff5962SNishanth Menon on platform. Valid values are 6, 8, 10 and 12. 20*adff5962SNishanth Menon- ti,palmas-pwron-debounce-milli-seconds: Duration in milliseconds 21*adff5962SNishanth Menon which the power button should be kept pressed for Palmas to register 22*adff5962SNishanth Menon a press for debouncing purposes. NOTE: This depends on specific 23*adff5962SNishanth Menon Palmas variation capability. Valid values are 15, 100, 500 and 1000. 24*adff5962SNishanth Menon 25*adff5962SNishanth MenonExample: 26*adff5962SNishanth Menon 27*adff5962SNishanth Menon&palmas { 28*adff5962SNishanth Menon palmas_pwr_button: pwrbutton { 29*adff5962SNishanth Menon compatible = "ti,palmas-pwrbutton"; 30*adff5962SNishanth Menon interrupt-parent = <&tps659038>; 31*adff5962SNishanth Menon interrupts = <1 IRQ_TYPE_EDGE_FALLING>; 32*adff5962SNishanth Menon ti,palmas-long-press-seconds = <12>; 33*adff5962SNishanth Menon ti,palmas-pwron-debounce-milli-seconds = <15>; 34*adff5962SNishanth Menon }; 35*adff5962SNishanth Menon}; 36