Skip to content

Commit 4fff78d

Browse files
konradybciowilldeacon
authored andcommitted
dt-bindings: arm-smmu: Document SM8[45]50 GPU SMMU
SM8450 and SM8550 both use a Qualcomm-modified MMU500 for their GPU. In both cases, it requires a set of clocks to be enabled. Describe that. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20231127-topic-a7xx_dt-v2-1-2a437588e563@linaro.org Signed-off-by: Will Deacon <will@kernel.org>
1 parent fa27b35 commit 4fff78d

1 file changed

Lines changed: 46 additions & 2 deletions

File tree

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

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ properties:
9191
- qcom,sm8150-smmu-500
9292
- qcom,sm8250-smmu-500
9393
- qcom,sm8350-smmu-500
94+
- qcom,sm8450-smmu-500
95+
- qcom,sm8550-smmu-500
9496
- const: qcom,adreno-smmu
9597
- const: qcom,smmu-500
9698
- const: arm,mmu-500
@@ -479,6 +481,50 @@ allOf:
479481
- description: Voter clock required for HLOS SMMU access
480482
- description: Interface clock required for register access
481483

484+
- if:
485+
properties:
486+
compatible:
487+
const: qcom,sm8450-smmu-500
488+
then:
489+
properties:
490+
clock-names:
491+
items:
492+
- const: gmu
493+
- const: hub
494+
- const: hlos
495+
- const: bus
496+
- const: iface
497+
- const: ahb
498+
499+
clocks:
500+
items:
501+
- description: GMU clock
502+
- description: GPU HUB clock
503+
- description: HLOS vote clock
504+
- description: GPU memory bus clock
505+
- description: GPU SNoC bus clock
506+
- description: GPU AHB clock
507+
508+
- if:
509+
properties:
510+
compatible:
511+
const: qcom,sm8550-smmu-500
512+
then:
513+
properties:
514+
clock-names:
515+
items:
516+
- const: hlos
517+
- const: bus
518+
- const: iface
519+
- const: ahb
520+
521+
clocks:
522+
items:
523+
- description: HLOS vote clock
524+
- description: GPU memory bus clock
525+
- description: GPU SNoC bus clock
526+
- description: GPU AHB clock
527+
482528
# Disallow clocks for all other platforms with specific compatibles
483529
- if:
484530
properties:
@@ -498,8 +544,6 @@ allOf:
498544
- qcom,sdx65-smmu-500
499545
- qcom,sm6350-smmu-500
500546
- qcom,sm6375-smmu-500
501-
- qcom,sm8450-smmu-500
502-
- qcom,sm8550-smmu-500
503547
- qcom,sm8650-smmu-500
504548
- qcom,x1e80100-smmu-500
505549
then:

0 commit comments

Comments
 (0)