Merge tag 'tag-chrome-platform-for-v5.1' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / soc / qcom / qcom,smd-rpm.txt
1 Qualcomm Resource Power Manager (RPM) over SMD
2
3 This driver is used to interface with the Resource Power Manager (RPM) found in
4 various Qualcomm platforms. The RPM allows each component in the system to vote
5 for state of the system resources, such as clocks, regulators and bus
6 frequencies.
7
8 The SMD information for the RPM edge should be filled out.  See qcom,smd.txt for
9 the required edge properties.  All SMD related properties will reside within the
10 RPM node itself.
11
12 = SUBDEVICES
13
14 The RPM exposes resources to its subnodes.  The rpm_requests node must be
15 present and this subnode may contain children that designate regulator
16 resources.
17
18 - compatible:
19         Usage: required
20         Value type: <string>
21         Definition: must be one of:
22                     "qcom,rpm-apq8084"
23                     "qcom,rpm-msm8916"
24                     "qcom,rpm-msm8974"
25                     "qcom,rpm-msm8998"
26                     "qcom,rpm-sdm660"
27                     "qcom,rpm-qcs404"
28
29 - qcom,smd-channels:
30         Usage: required
31         Value type: <string>
32         Definition: must be "rpm_requests"
33
34 Refer to Documentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.txt
35 for information on the regulator subnodes that can exist under the rpm_requests.
36
37 Example:
38
39         soc {
40                 apcs: syscon@f9011000 {
41                         compatible = "syscon";
42                         reg = <0xf9011000 0x1000>;
43                 };
44         };
45
46         smd {
47                 compatible = "qcom,smd";
48
49                 rpm {
50                         interrupts = <0 168 1>;
51                         qcom,ipc = <&apcs 8 0>;
52                         qcom,smd-edge = <15>;
53
54                         rpm_requests {
55                                 compatible = "qcom,rpm-msm8974";
56                                 qcom,smd-channels = "rpm_requests";
57
58                                 ...
59                         };
60                 };
61         };