Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / input / qcom,pm8941-pwrkey.txt
blob07bf55f6e0b9a8375dee913651332f6454cb72b3
1 Qualcomm PM8941 PMIC Power Key
3 PROPERTIES
5 - compatible:
6         Usage: required
7         Value type: <string>
8         Definition: must be one of:
9                     "qcom,pm8941-pwrkey"
11 - reg:
12         Usage: required
13         Value type: <prop-encoded-array>
14         Definition: base address of registers for block
16 - interrupts:
17         Usage: required
18         Value type: <prop-encoded-array>
19         Definition: key change interrupt; The format of the specifier is
20                     defined by the binding document describing the node's
21                     interrupt parent.
23 - debounce:
24         Usage: optional
25         Value type: <u32>
26         Definition: time in microseconds that key must be pressed or released
27                     for state change interrupt to trigger.
29 - bias-pull-up:
30         Usage: optional
31         Value type: <empty>
32         Definition: presence of this property indicates that the KPDPWR_N pin
33                     should be configured for pull up.
35 EXAMPLE
37         pwrkey@800 {
38                 compatible = "qcom,pm8941-pwrkey";
39                 reg = <0x800>;
40                 interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
41                 debounce = <15625>;
42                 bias-pull-up;
43         };