1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/media/qcom,venus-common.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm SoC Venus Video Encode and Decode Accelerators Common Properties
8
9maintainers:
10  - Stanimir Varbanov <stanimir.k.varbanov@gmail.com>
11  - Vikash Garodia <quic_vgarodia@quicinc.com>
12
13description: |
14  The Venus IP is a video encode and decode accelerator present
15  on Qualcomm platforms
16
17properties:
18  reg:
19    maxItems: 1
20
21  clocks:
22    minItems: 3
23    maxItems: 7
24
25  clock-names:
26    minItems: 3
27    maxItems: 7
28
29  firmware-name:
30    maxItems: 1
31
32  interrupts:
33    maxItems: 1
34
35  iommus:
36    minItems: 1
37    maxItems: 20
38
39  memory-region:
40    maxItems: 1
41
42  power-domains:
43    minItems: 1
44    maxItems: 4
45
46  power-domain-names:
47    minItems: 1
48    maxItems: 4
49
50  video-firmware:
51    type: object
52    additionalProperties: false
53
54    description: |
55      Firmware subnode is needed when the platform does not
56      have TrustZone.
57
58    properties:
59      iommus:
60        maxItems: 1
61
62    required:
63      - iommus
64
65required:
66  - reg
67  - clocks
68  - clock-names
69  - interrupts
70  - memory-region
71  - power-domains
72
73additionalProperties: true
74