aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2014-02-26 13:59:26 -0500
committerLee Jones <lee.jones@linaro.org>2014-03-19 04:58:33 -0400
commitcd0c1f8cd1626e91a05c3297542021095546889c (patch)
tree6e2b972523f99695e69c54690101c2c34eb9f9c3
parent549f8db793494cd7fd040043037a1f0ad57d6959 (diff)
mfd: devicetree: bindings: Document PM8921/8058 PMICs
PM8921 and PM8058 are PMICs found paired with MSM8960 and MSM8660 devices respectively. They contain subdevices such as keypads, RTC, regulators, clocks, etc. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r--Documentation/devicetree/bindings/mfd/qcom,pm8xxx.txt63
1 files changed, 63 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/qcom,pm8xxx.txt b/Documentation/devicetree/bindings/mfd/qcom,pm8xxx.txt
new file mode 100644
index 000000000000..e3fe625ffd58
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/qcom,pm8xxx.txt
@@ -0,0 +1,63 @@
1Qualcomm PM8xxx PMIC multi-function devices
2
3PROPERTIES
4
5- compatible:
6 Usage: required
7 Value type: <string>
8 Definition: must be one of:
9 "qcom,pm8058"
10 "qcom,pm8921"
11
12- #address-cells:
13 Usage: required
14 Value type: <u32>
15 Definition: must be 1
16
17- #size-cells:
18 Usage: required
19 Value type: <u32>
20 Definition: must be 0
21
22- interrupts:
23 Usage: required
24 Value type: <prop-encoded-array>
25 Definition: specifies the interrupt that indicates a subdevice
26 has generated an interrupt (summary interrupt). The
27 format of the specifier is defined by the binding document
28 describing the node's interrupt parent.
29
30- #interrupt-cells:
31 Usage: required
32 Value type : <u32>
33 Definition: must be 2. Specifies the number of cells needed to encode
34 an interrupt source. The 1st cell contains the interrupt
35 number. The 2nd cell is the trigger type and level flags
36 encoded as follows:
37
38 1 = low-to-high edge triggered
39 2 = high-to-low edge triggered
40 4 = active high level-sensitive
41 8 = active low level-sensitive
42
43- interrupt-controller:
44 Usage: required
45 Value type: <empty>
46 Definition: identifies this node as an interrupt controller
47
48EXAMPLE
49
50 pmicintc: pmic@0 {
51 compatible = "qcom,pm8921";
52 interrupts = <104 8>;
53 #interrupt-cells = <2>;
54 interrupt-controller;
55 #address-cells = <1>;
56 #size-cells = <0>;
57
58 pwrkey {
59 compatible = "qcom,pm8921-pwrkey";
60 interrupt-parent = <&pmicintc>;
61 interrupts = <50 1>, <51 1>;
62 };
63 };