File tree Expand file tree Collapse file tree
Documentation/devicetree/bindings/iommu Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -270,6 +270,47 @@ allOf:
270270 contains :
271271 enum :
272272 - 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 :
273314 - qcom,sdm630-smmu-v2
274315 - qcom,sm6375-smmu-v2
275316 then :
Original file line number Diff line number Diff line change @@ -17,11 +17,16 @@ description: |
1717
1818properties :
1919 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
2530
2631 clocks :
2732 items :
@@ -64,13 +69,20 @@ patternProperties:
6469 enum :
6570 - qcom,msm-iommu-v1-ns
6671 - qcom,msm-iommu-v1-sec
72+ - qcom,msm-iommu-v2-ns
73+ - qcom,msm-iommu-v2-sec
6774
6875 interrupts :
6976 maxItems : 1
7077
7178 reg :
7279 maxItems : 1
7380
81+ qcom,ctx-asid :
82+ $ref : /schemas/types.yaml#/definitions/uint32
83+ description :
84+ The ASID number associated to the context bank.
85+
7486 required :
7587 - compatible
7688 - interrupts
You can’t perform that action at this time.
0 commit comments