Skip to content

Commit 54dae6d

Browse files
krzkwilldeacon
authored andcommitted
dt-bindings: iommu: arm,smmu: document clocks for the SM8350 GPU SMMU
Document the clocks for Qualcomm SM8350 Adreno GPU SMMU, already used in DTS: sm8350-hdk.dtb: iommu@3da0000: clock-names: False schema does not allow ['bus', 'iface', 'ahb', 'hlos1_vote_gpu_smmu', 'cx_gmu', 'hub_cx_int', 'hub_aon'] Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20231112184522.3759-1-krzysztof.kozlowski@linaro.org Signed-off-by: Will Deacon <will@kernel.org>
1 parent 2cc14f5 commit 54dae6d

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

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

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,30 @@ allOf:
429429
- description: interface clock required to access smmu's registers
430430
through the TCU's programming interface.
431431

432+
- if:
433+
properties:
434+
compatible:
435+
items:
436+
- enum:
437+
- qcom,sm8350-smmu-500
438+
- const: qcom,adreno-smmu
439+
- const: qcom,smmu-500
440+
- const: arm,mmu-500
441+
then:
442+
properties:
443+
clock-names:
444+
items:
445+
- const: bus
446+
- const: iface
447+
- const: ahb
448+
- const: hlos1_vote_gpu_smmu
449+
- const: cx_gmu
450+
- const: hub_cx_int
451+
- const: hub_aon
452+
clocks:
453+
minItems: 7
454+
maxItems: 7
455+
432456
- if:
433457
properties:
434458
compatible:
@@ -472,7 +496,6 @@ allOf:
472496
- qcom,sdx65-smmu-500
473497
- qcom,sm6350-smmu-500
474498
- qcom,sm6375-smmu-500
475-
- qcom,sm8350-smmu-500
476499
- qcom,sm8450-smmu-500
477500
- qcom,sm8550-smmu-500
478501
then:

0 commit comments

Comments
 (0)