@@ -10,49 +10,87 @@ maintainers:
10
10
-
Heiko Stuebner <[email protected] >
11
11
12
12
description : |-
13
- The Rockchip rk3399 has a stateless Video Decoder that can decodes H.264,
14
- HEVC an VP9 streams.
13
+ Rockchip SoCs have variants of the same stateless Video Decoder that can
14
+ decodes H.264, HEVC, VP9 and AV1 streams, depending on the variant .
15
15
16
16
properties :
17
17
compatible :
18
18
oneOf :
19
19
- const : rockchip,rk3399-vdec
20
+ - const : rockchip,rk3588-vdec
20
21
- items :
21
22
- enum :
22
23
- rockchip,rk3228-vdec
23
24
- rockchip,rk3328-vdec
24
25
- const : rockchip,rk3399-vdec
25
26
26
27
reg :
27
- maxItems : 1
28
+ minItems : 1
29
+ items :
30
+ - description : The function configuration registers base
31
+ - description : The link table configuration registers base
32
+ - description : The cache configuration registers base
33
+
34
+ reg-names :
35
+ items :
36
+ - const : function
37
+ - const : link
38
+ - const : cache
28
39
29
40
interrupts :
30
41
maxItems : 1
31
42
32
43
clocks :
44
+ minItems : 4
33
45
items :
34
46
- description : The Video Decoder AXI interface clock
35
47
- description : The Video Decoder AHB interface clock
36
48
- description : The Video Decoded CABAC clock
37
49
- description : The Video Decoder core clock
50
+ - description : The Video decoder HEVC CABAC clock
38
51
39
52
clock-names :
53
+ minItems : 4
40
54
items :
41
55
- const : axi
42
56
- const : ahb
43
57
- const : cabac
44
58
- const : core
59
+ - const : hevc_cabac
45
60
46
61
assigned-clocks : true
47
62
48
63
assigned-clock-rates : true
49
64
65
+ resets :
66
+ items :
67
+ - description : The Video Decoder AXI interface reset
68
+ - description : The Video Decoder AHB interface reset
69
+ - description : The Video Decoded CABAC reset
70
+ - description : The Video Decoder core reset
71
+ - description : The Video decoder HEVC CABAC reset
72
+
73
+ reset-names :
74
+ items :
75
+ - const : axi
76
+ - const : ahb
77
+ - const : cabac
78
+ - const : core
79
+ - const : hevc_cabac
80
+
50
81
power-domains :
51
82
maxItems : 1
52
83
53
84
iommus :
54
85
maxItems : 1
55
86
87
+ sram :
88
+ $ref : /schemas/types.yaml#/definitions/phandle
89
+ description : |
90
+ phandle to a reserved on-chip SRAM regions.
91
+ Some SoCs, like rk3588 provide on-chip SRAM to store temporary
92
+ buffers during decoding.
93
+
56
94
required :
57
95
- compatible
58
96
- reg
@@ -61,6 +99,39 @@ required:
61
99
- clock-names
62
100
- power-domains
63
101
102
+ allOf :
103
+ - if :
104
+ properties :
105
+ compatible :
106
+ contains :
107
+ const : rockchip,rk3588-vdec
108
+ then :
109
+ properties :
110
+ reg :
111
+ minItems : 3
112
+ reg-names :
113
+ minItems : 3
114
+ clocks :
115
+ minItems : 5
116
+ clock-names :
117
+ minItems : 5
118
+ resets :
119
+ minItems : 5
120
+ reset-names :
121
+ minItems : 5
122
+ else :
123
+ properties :
124
+ reg :
125
+ maxItems : 1
126
+ reg-names : false
127
+ clocks :
128
+ maxItems : 4
129
+ clock-names :
130
+ maxItems : 4
131
+ resets : false
132
+ reset-names : false
133
+ sram : false
134
+
64
135
additionalProperties : false
65
136
66
137
examples :
0 commit comments