aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/input/qcom,pm8xxx-pwrkey.txt
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2014-03-29 15:39:38 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-03-30 16:25:19 -0400
commit57918dfadf717acf7d0488d5970c56a282d0aad1 (patch)
treee082d6da7df26c27f252ca3e6984e1322302c8c4 /Documentation/devicetree/bindings/input/qcom,pm8xxx-pwrkey.txt
parent86ea5e6b793d45fa7d2aa504ac3aefc813f0fd55 (diff)
Input: pmic8xxx-pwrkey - migrate to DT
The driver is only supported on DT enabled platforms. Convert the driver to DT so that it can probe properly. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/input/qcom,pm8xxx-pwrkey.txt')
-rw-r--r--Documentation/devicetree/bindings/input/qcom,pm8xxx-pwrkey.txt46
1 files changed, 46 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/qcom,pm8xxx-pwrkey.txt b/Documentation/devicetree/bindings/input/qcom,pm8xxx-pwrkey.txt
new file mode 100644
index 000000000000..588536cc96ed
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/qcom,pm8xxx-pwrkey.txt
@@ -0,0 +1,46 @@
1Qualcomm PM8xxx PMIC Power Key
2
3PROPERTIES
4
5- compatible:
6 Usage: required
7 Value type: <string>
8 Definition: must be one of:
9 "qcom,pm8058-pwrkey"
10 "qcom,pm8921-pwrkey"
11
12- reg:
13 Usage: required
14 Value type: <prop-encoded-array>
15 Definition: address of power key control register
16
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.
24
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.
30
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.
36
37EXAMPLE
38
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 };