Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / input / qcom,pm8xxx-pwrkey.txt
blob588536cc96ed95d8012fd39f55f7e69e6092477d
1 Qualcomm PM8xxx PMIC Power Key
3 PROPERTIES
5 - compatible:
6         Usage: required
7         Value type: <string>
8         Definition: must be one of:
9                     "qcom,pm8058-pwrkey"
10                     "qcom,pm8921-pwrkey"
12 - reg:
13         Usage: required
14         Value type: <prop-encoded-array>
15         Definition: address of power key control register
17 - interrupts:
18         Usage: required
19         Value type: <prop-encoded-array>
20         Definition: the first interrupt specifies the key release interrupt
21                     and the second interrupt specifies the key press interrupt.
22                     The format of the specifier is defined by the binding
23                     document describing the node's interrupt parent.
25 - debounce:
26         Usage: optional
27         Value type: <u32>
28         Definition: time in microseconds that key must be pressed or release
29                     for state change interrupt to trigger.
31 - pull-up:
32         Usage: optional
33         Value type: <empty>
34         Definition: presence of this property indicates that the KPDPWR_N pin
35                     should be configured for pull up.
37 EXAMPLE
39         pwrkey@1c {
40                 compatible = "qcom,pm8921-pwrkey";
41                 reg = <0x1c>;
42                 interrupt-parent = <&pmicintc>;
43                 interrupts = <50 1>, <51 1>;
44                 debounce = <15625>;
45                 pull-up;
46         };