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  interrupts:
30    maxItems: 1
31
32  iommus:
33    minItems: 1
34    maxItems: 20
35
36  memory-region:
37    maxItems: 1
38
39  power-domains:
40    minItems: 1
41    maxItems: 4
42
43  power-domain-names:
44    minItems: 1
45    maxItems: 4
46
47  video-firmware:
48    type: object
49    additionalProperties: false
50
51    description: |
52      Firmware subnode is needed when the platform does not
53      have TrustZone.
54
55    properties:
56      iommus:
57        maxItems: 1
58
59    required:
60      - iommus
61
62required:
63  - reg
64  - clocks
65  - clock-names
66  - interrupts
67  - memory-region
68  - power-domains
69
70additionalProperties: true
71