File tree Expand file tree Collapse file tree 2 files changed +58
-5
lines changed
Documentation/devicetree/bindings/iommu Expand file tree Collapse file tree 2 files changed +58
-5
lines changed Original file line number Diff line number Diff line change @@ -270,6 +270,47 @@ allOf:
270
270
contains :
271
271
enum :
272
272
- qcom,msm8998-smmu-v2
273
+ then :
274
+ anyOf :
275
+ - properties :
276
+ clock-names :
277
+ items :
278
+ - const : bus
279
+ clocks :
280
+ items :
281
+ - description : bus clock required for downstream bus access and for
282
+ the smmu ptw
283
+ - properties :
284
+ clock-names :
285
+ items :
286
+ - const : iface
287
+ - const : mem
288
+ - const : mem_iface
289
+ clocks :
290
+ items :
291
+ - description : interface clock required to access smmu's registers
292
+ through the TCU's programming interface.
293
+ - description : bus clock required for memory access
294
+ - description : bus clock required for GPU memory access
295
+ - properties :
296
+ clock-names :
297
+ items :
298
+ - const : iface-mm
299
+ - const : iface-smmu
300
+ - const : bus-smmu
301
+ clocks :
302
+ items :
303
+ - description : interface clock required to access mnoc's registers
304
+ through the TCU's programming interface.
305
+ - description : interface clock required to access smmu's registers
306
+ through the TCU's programming interface.
307
+ - description : bus clock required for the smmu ptw
308
+
309
+ - if :
310
+ properties :
311
+ compatible :
312
+ contains :
313
+ enum :
273
314
- qcom,sdm630-smmu-v2
274
315
- qcom,sm6375-smmu-v2
275
316
then :
Original file line number Diff line number Diff line change @@ -17,11 +17,16 @@ description: |
17
17
18
18
properties :
19
19
compatible :
20
- items :
21
- - enum :
22
- - qcom,msm8916-iommu
23
- - qcom,msm8953-iommu
24
- - const : qcom,msm-iommu-v1
20
+ oneOf :
21
+ - items :
22
+ - enum :
23
+ - qcom,msm8916-iommu
24
+ - qcom,msm8953-iommu
25
+ - const : qcom,msm-iommu-v1
26
+ - items :
27
+ - enum :
28
+ - qcom,msm8976-iommu
29
+ - const : qcom,msm-iommu-v2
25
30
26
31
clocks :
27
32
items :
@@ -64,13 +69,20 @@ patternProperties:
64
69
enum :
65
70
- qcom,msm-iommu-v1-ns
66
71
- qcom,msm-iommu-v1-sec
72
+ - qcom,msm-iommu-v2-ns
73
+ - qcom,msm-iommu-v2-sec
67
74
68
75
interrupts :
69
76
maxItems : 1
70
77
71
78
reg :
72
79
maxItems : 1
73
80
81
+ qcom,ctx-asid :
82
+ $ref : /schemas/types.yaml#/definitions/uint32
83
+ description :
84
+ The ASID number associated to the context bank.
85
+
74
86
required :
75
87
- compatible
76
88
- interrupts
You can’t perform that action at this time.
0 commit comments