GNU Linux-libre 4.14.266-gnu1
[releases.git] / Documentation / devicetree / bindings / mailbox / qcom,apcs-kpss-global.txt
1 Binding for the Qualcomm APCS global block
2 ==========================================
3
4 This binding describes the APCS "global" block found in various Qualcomm
5 platforms.
6
7 - compatible:
8         Usage: required
9         Value type: <string>
10         Definition: must be one of:
11                     "qcom,msm8916-apcs-kpss-global",
12                     "qcom,msm8996-apcs-hmss-global"
13
14 - reg:
15         Usage: required
16         Value type: <prop-encoded-array>
17         Definition: must specify the base address and size of the global block
18
19 - #mbox-cells:
20         Usage: required
21         Value type: <u32>
22         Definition: as described in mailbox.txt, must be 1
23
24
25 = EXAMPLE
26 The following example describes the APCS HMSS found in MSM8996 and part of the
27 GLINK RPM referencing the "rpm_hlos" doorbell therein.
28
29         apcs_glb: mailbox@9820000 {
30                 compatible = "qcom,msm8996-apcs-hmss-global";
31                 reg = <0x9820000 0x1000>;
32
33                 #mbox-cells = <1>;
34         };
35
36         rpm-glink {
37                 compatible = "qcom,glink-rpm";
38
39                 interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
40
41                 qcom,rpm-msg-ram = <&rpm_msg_ram>;
42
43                 mboxes = <&apcs_glb 0>;
44                 mbox-names = "rpm_hlos";
45         };
46