diff options
| author | Courtney Cavin <courtney.cavin@sonymobile.com> | 2015-03-21 00:45:59 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-03-21 00:59:55 -0400 |
| commit | 68c581d5e7d834d8e97534cafd60bd6716ee6fbc (patch) | |
| tree | bf66495188b7dee54653abe650f1d1b98af241c4 /Documentation/devicetree/bindings/input | |
| parent | 7e174702c88f265600917dacd0f7385db660cca2 (diff) | |
Input: add Qualcomm PM8941 power key driver
Signed-off-by: Courtney Cavin <courtney.cavin@sonymobile.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Tested-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/input')
| -rw-r--r-- | Documentation/devicetree/bindings/input/qcom,pm8941-pwrkey.txt | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/qcom,pm8941-pwrkey.txt b/Documentation/devicetree/bindings/input/qcom,pm8941-pwrkey.txt new file mode 100644 index 000000000000..07bf55f6e0b9 --- /dev/null +++ b/Documentation/devicetree/bindings/input/qcom,pm8941-pwrkey.txt | |||
| @@ -0,0 +1,43 @@ | |||
| 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 | |||
| 11 | - reg: | ||
| 12 | Usage: required | ||
| 13 | Value type: <prop-encoded-array> | ||
| 14 | Definition: base address of registers for block | ||
| 15 | |||
| 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. | ||
| 22 | |||
| 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. | ||
| 28 | |||
| 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. | ||
| 34 | |||
| 35 | EXAMPLE | ||
| 36 | |||
| 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 | }; | ||
