brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · c829e18 Raw
36 lines · plain
1Texas Instruments Palmas family power button module2 3This module is part of the Palmas family of PMICs. For more details4about the whole chip see:5Documentation/devicetree/bindings/mfd/palmas.txt.6 7This module provides a simple power button event via an Interrupt.8 9Required properties:10- compatible: should be one of the following11   - "ti,palmas-pwrbutton": For Palmas compatible power on button12- interrupts: Interrupt number of power button submodule on device.13 14Optional Properties:15 16- ti,palmas-long-press-seconds: Duration in seconds which the power17  button should be kept pressed for Palmas to power off automatically.18  NOTE: This depends on OTP support and POWERHOLD signal configuration19  on platform. Valid values are 6, 8, 10 and 12.20- ti,palmas-pwron-debounce-milli-seconds: Duration in milliseconds21  which the power button should be kept pressed for Palmas to register22  a press for debouncing purposes. NOTE: This depends on specific23  Palmas variation capability. Valid values are 15, 100, 500 and 1000.24 25Example:26 27&palmas {28	palmas_pwr_button: pwrbutton {29		compatible = "ti,palmas-pwrbutton";30		interrupt-parent = <&tps659038>;31		interrupts = <1 IRQ_TYPE_EDGE_FALLING>;32		ti,palmas-long-press-seconds = <12>;33		ti,palmas-pwron-debounce-milli-seconds = <15>;34	};35};36