Commit 4fff78dc authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Will Deacon

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231127-topic-a7xx_dt-v2-1-2a437588e563@linaro.orgSigned-off-by: default avatarWill Deacon <will@kernel.org>
parent fa27b35c
...@@ -91,6 +91,8 @@ properties: ...@@ -91,6 +91,8 @@ properties:
- qcom,sm8150-smmu-500 - qcom,sm8150-smmu-500
- qcom,sm8250-smmu-500 - qcom,sm8250-smmu-500
- qcom,sm8350-smmu-500 - qcom,sm8350-smmu-500
- qcom,sm8450-smmu-500
- qcom,sm8550-smmu-500
- const: qcom,adreno-smmu - const: qcom,adreno-smmu
- const: qcom,smmu-500 - const: qcom,smmu-500
- const: arm,mmu-500 - const: arm,mmu-500
...@@ -479,6 +481,50 @@ allOf: ...@@ -479,6 +481,50 @@ allOf:
- description: Voter clock required for HLOS SMMU access - description: Voter clock required for HLOS SMMU access
- description: Interface clock required for register access - description: Interface clock required for register access
- if:
properties:
compatible:
const: qcom,sm8450-smmu-500
then:
properties:
clock-names:
items:
- const: gmu
- const: hub
- const: hlos
- const: bus
- const: iface
- const: ahb
clocks:
items:
- description: GMU clock
- description: GPU HUB clock
- description: HLOS vote clock
- description: GPU memory bus clock
- description: GPU SNoC bus clock
- description: GPU AHB clock
- if:
properties:
compatible:
const: qcom,sm8550-smmu-500
then:
properties:
clock-names:
items:
- const: hlos
- const: bus
- const: iface
- const: ahb
clocks:
items:
- description: HLOS vote clock
- description: GPU memory bus clock
- description: GPU SNoC bus clock
- description: GPU AHB clock
# Disallow clocks for all other platforms with specific compatibles # Disallow clocks for all other platforms with specific compatibles
- if: - if:
properties: properties:
...@@ -498,8 +544,6 @@ allOf: ...@@ -498,8 +544,6 @@ allOf:
- qcom,sdx65-smmu-500 - qcom,sdx65-smmu-500
- qcom,sm6350-smmu-500 - qcom,sm6350-smmu-500
- qcom,sm6375-smmu-500 - qcom,sm6375-smmu-500
- qcom,sm8450-smmu-500
- qcom,sm8550-smmu-500
- qcom,sm8650-smmu-500 - qcom,sm8650-smmu-500
- qcom,x1e80100-smmu-500 - qcom,x1e80100-smmu-500
then: then:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment