Skip to content

Commit 8a24401

Browse files
committed
Merge branch 'for-joerg/arm-smmu/bindings' into for-joerg/arm-smmu/updates
Updates to the Arm SMMU device-tree bindings. * for-joerg/arm-smmu/bindings: dt-bindings: arm-smmu: Fix binding for SDX55 and SDX65 dt-bindings: arm-smmu: Document smmu-500 binding for SM6125 dt-bindings: arm-smmu: document the smmu on Qualcomm SA8775P dt-bindings: arm-smmu: disallow clocks when not used dt-bindings: iommu: qcom: Add Qualcomm MSM8953 compatible dt-bindings: arm-smmu: Add sm8150-smmu-500 to the list of Adreno smmus dt-bindings: arm-smmu: Allow 3 power domains on SM6375 MMU500
2 parents 5fba66d + eb9181a commit 8a24401

File tree

2 files changed

+58
-9
lines changed

2 files changed

+58
-9
lines changed

Documentation/devicetree/bindings/iommu/arm,smmu.yaml

Lines changed: 57 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,17 @@ properties:
3636
- enum:
3737
- qcom,qcm2290-smmu-500
3838
- qcom,qdu1000-smmu-500
39+
- qcom,sa8775p-smmu-500
3940
- qcom,sc7180-smmu-500
4041
- qcom,sc7280-smmu-500
4142
- qcom,sc8180x-smmu-500
4243
- qcom,sc8280xp-smmu-500
4344
- qcom,sdm670-smmu-500
4445
- qcom,sdm845-smmu-500
46+
- qcom,sdx55-smmu-500
47+
- qcom,sdx65-smmu-500
4548
- qcom,sm6115-smmu-500
49+
- qcom,sm6125-smmu-500
4650
- qcom,sm6350-smmu-500
4751
- qcom,sm6375-smmu-500
4852
- qcom,sm8150-smmu-500
@@ -52,14 +56,6 @@ properties:
5256
- const: qcom,smmu-500
5357
- const: arm,mmu-500
5458

55-
- description: Qcom SoCs implementing "arm,mmu-500" (non-qcom implementation)
56-
deprecated: true
57-
items:
58-
- enum:
59-
- qcom,sdx55-smmu-500
60-
- qcom,sdx65-smmu-500
61-
- const: arm,mmu-500
62-
6359
- description: Qcom SoCs implementing "arm,mmu-500" (legacy binding)
6460
deprecated: true
6561
items:
@@ -84,6 +80,7 @@ properties:
8480
items:
8581
- enum:
8682
- qcom,sc7280-smmu-500
83+
- qcom,sm8150-smmu-500
8784
- qcom,sm8250-smmu-500
8885
- const: qcom,adreno-smmu
8986
- const: arm,mmu-500
@@ -201,7 +198,8 @@ properties:
201198
maxItems: 7
202199

203200
power-domains:
204-
maxItems: 1
201+
minItems: 1
202+
maxItems: 3
205203

206204
nvidia,memory-controller:
207205
description: |
@@ -366,6 +364,56 @@ allOf:
366364
- description: interface clock required to access smmu's registers
367365
through the TCU's programming interface.
368366

367+
# Disallow clocks for all other platforms with specific compatibles
368+
- if:
369+
properties:
370+
compatible:
371+
contains:
372+
enum:
373+
- cavium,smmu-v2
374+
- marvell,ap806-smmu-500
375+
- nvidia,smmu-500
376+
- qcom,qcm2290-smmu-500
377+
- qcom,qdu1000-smmu-500
378+
- qcom,sa8775p-smmu-500
379+
- qcom,sc7180-smmu-500
380+
- qcom,sc8180x-smmu-500
381+
- qcom,sc8280xp-smmu-500
382+
- qcom,sdm670-smmu-500
383+
- qcom,sdm845-smmu-500
384+
- qcom,sdx55-smmu-500
385+
- qcom,sdx65-smmu-500
386+
- qcom,sm6115-smmu-500
387+
- qcom,sm6125-smmu-500
388+
- qcom,sm6350-smmu-500
389+
- qcom,sm6375-smmu-500
390+
- qcom,sm8350-smmu-500
391+
- qcom,sm8450-smmu-500
392+
then:
393+
properties:
394+
clock-names: false
395+
clocks: false
396+
397+
- if:
398+
properties:
399+
compatible:
400+
contains:
401+
const: qcom,sm6375-smmu-500
402+
then:
403+
properties:
404+
power-domains:
405+
items:
406+
- description: SNoC MMU TBU RT GDSC
407+
- description: SNoC MMU TBU NRT GDSC
408+
- description: SNoC TURING MMU TBU0 GDSC
409+
410+
required:
411+
- power-domains
412+
else:
413+
properties:
414+
power-domains:
415+
maxItems: 1
416+
369417
examples:
370418
- |+
371419
/* SMMU with stream matching or stream indexing */

Documentation/devicetree/bindings/iommu/qcom,iommu.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ to non-secure vs secure interrupt line.
1010
- compatible : Should be one of:
1111

1212
"qcom,msm8916-iommu"
13+
"qcom,msm8953-iommu"
1314

1415
Followed by "qcom,msm-iommu-v1".
1516

0 commit comments

Comments
 (0)