0001 Texas Instruments Palmas family power button module
0002
0003 This module is part of the Palmas family of PMICs. For more details
0004 about the whole chip see:
0005 Documentation/devicetree/bindings/mfd/palmas.txt.
0006
0007 This module provides a simple power button event via an Interrupt.
0008
0009 Required properties:
0010 - compatible: should be one of the following
0011 - "ti,palmas-pwrbutton": For Palmas compatible power on button
0012 - interrupts: Interrupt number of power button submodule on device.
0013
0014 Optional Properties:
0015
0016 - ti,palmas-long-press-seconds: Duration in seconds which the power
0017 button should be kept pressed for Palmas to power off automatically.
0018 NOTE: This depends on OTP support and POWERHOLD signal configuration
0019 on platform. Valid values are 6, 8, 10 and 12.
0020 - ti,palmas-pwron-debounce-milli-seconds: Duration in milliseconds
0021 which the power button should be kept pressed for Palmas to register
0022 a press for debouncing purposes. NOTE: This depends on specific
0023 Palmas variation capability. Valid values are 15, 100, 500 and 1000.
0024
0025 Example:
0026
0027 &palmas {
0028 palmas_pwr_button: pwrbutton {
0029 compatible = "ti,palmas-pwrbutton";
0030 interrupt-parent = <&tps659038>;
0031 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
0032 ti,palmas-long-press-seconds = <12>;
0033 ti,palmas-pwron-debounce-milli-seconds = <15>;
0034 };
0035 };