Debian Codegraph @

Documentation/devicetree/bindings/mailbox/mediatek,mt8196-vcp-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/mediatek,mt8196-vcp-mbox.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: MediaTek Video Companion Processor (VCP) mailbox
8
9 maintainers:
10 - Jjian Zhou <[email protected]>
11
12 description:
13 The MTK VCP mailbox enables the SoC to communicate with the VCP by passing
14 messages through 64 32-bit wide registers. It has 32 interrupt vectors in
15 either direction for signalling purposes.
16
17 properties:
18 compatible:
19 enum:
20 - mediatek,mt8196-vcp-mbox
21
22 reg:
23 maxItems: 1
24
25 interrupts:
26 maxItems: 1
27
28 "#mbox-cells":
29 const: 0
30
31 required:
32 - compatible
33 - reg
34 - interrupts
35 - "#mbox-cells"
36
37 additionalProperties: false
38
39 examples:
40 - |
41 #include <dt-bindings/interrupt-controller/arm-gic.h>
42 #include <dt-bindings/interrupt-controller/irq.h>
43
44 mailbox@31b80000 {
45 compatible = "mediatek,mt8196-vcp-mbox";
46 reg = <0x31b80000 0x1000>;
47 interrupts = <GIC_SPI 789 IRQ_TYPE_LEVEL_HIGH 0>;
48 #mbox-cells = <0>;
49 };