Debian Codegraph @

Documentation/devicetree/bindings/mailbox/mtk,adsp-mbox.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/mailbox/mtk,adsp-mbox.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Mediatek ADSP mailbox
8
9 maintainers:
10 - Allen-KH Cheng <[email protected]>
11
12 description: |
13 The MTK ADSP mailbox Inter-Processor Communication (IPC) enables the SoC
14 to communicate with ADSP by passing messages through two mailbox channels.
15 The MTK ADSP mailbox IPC also provides the ability for one processor to
16 signal the other processor using interrupts.
17
18 properties:
19 compatible:
20 oneOf:
21 - enum:
22 - mediatek,mt8186-adsp-mbox
23 - mediatek,mt8195-adsp-mbox
24 - items:
25 - enum:
26 - mediatek,mt8188-adsp-mbox
27 - const: mediatek,mt8186-adsp-mbox
28
29 "#mbox-cells":
30 const: 0
31
32 reg:
33 maxItems: 1
34
35 interrupts:
36 maxItems: 1
37
38 required:
39 - compatible
40 - "#mbox-cells"
41 - reg
42 - interrupts
43
44 additionalProperties: false
45
46 examples:
47 - |
48 #include <dt-bindings/interrupt-controller/arm-gic.h>
49 #include <dt-bindings/interrupt-controller/irq.h>
50
51 adsp_mailbox0:mailbox@10816000 {
52 compatible = "mediatek,mt8195-adsp-mbox";
53 #mbox-cells = <0>;
54 reg = <0x10816000 0x1000>;
55 interrupts = <GIC_SPI 702 IRQ_TYPE_LEVEL_HIGH 0>;
56 };