Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / clock / qcom,rpmcc.txt
1 Qualcomm RPM Clock Controller Binding
2 ------------------------------------------------
3 The RPM is a dedicated hardware engine for managing the shared
4 SoC resources in order to keep the lowest power profile. It
5 communicates with other hardware subsystems via shared memory
6 and accepts clock requests, aggregates the requests and turns
7 the clocks on/off or scales them on demand.
8
9 Required properties :
10 - compatible : shall contain only one of the following. The generic
11                compatible "qcom,rpmcc" should be also included.
12
13                         "qcom,rpmcc-msm8916", "qcom,rpmcc"
14                         "qcom,rpmcc-msm8974", "qcom,rpmcc"
15                         "qcom,rpmcc-apq8064", "qcom,rpmcc"
16
17 - #clock-cells : shall contain 1
18
19 Example:
20         smd {
21                 compatible = "qcom,smd";
22
23                 rpm {
24                         interrupts = <0 168 1>;
25                         qcom,ipc = <&apcs 8 0>;
26                         qcom,smd-edge = <15>;
27
28                         rpm_requests {
29                                 compatible = "qcom,rpm-msm8916";
30                                 qcom,smd-channels = "rpm_requests";
31
32                                 rpmcc: clock-controller {
33                                         compatible = "qcom,rpmcc-msm8916", "qcom,rpmcc";
34                                         #clock-cells = <1>;
35                                 };
36                         };
37                 };
38         };