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