OSDN Git Service

dt-bindings: iommu: arm,smmu: enable clocks for sa8775p Adreno SMMU
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 17 Apr 2023 12:58:43 +0000 (14:58 +0200)
committerWill Deacon <will@kernel.org>
Mon, 5 Jun 2023 15:36:21 +0000 (16:36 +0100)
The GPU SMMU will require the clocks property to be set so put the
relevant compatible into the adreno if-then block.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230417125844.400782-5-brgl@bgdev.pl
[will: Fixed conflict with 'qcom,sc8280xp-smmu-500' entry]
Signed-off-by: Will Deacon <will@kernel.org>
Documentation/devicetree/bindings/iommu/arm,smmu.yaml

index 6cb04f3..29965ea 100644 (file)
@@ -79,6 +79,7 @@ properties:
       - description: Qcom Adreno GPUs implementing "qcom,smmu-500" and "arm,mmu-500"
         items:
           - enum:
+              - qcom,sa8775p-smmu-500
               - qcom,sc7280-smmu-500
               - qcom,sc8280xp-smmu-500
               - qcom,sm6115-smmu-500
@@ -333,6 +334,7 @@ allOf:
         compatible:
           contains:
             enum:
+              - qcom,sa8775p-smmu-500
               - qcom,sc7280-smmu-500
               - qcom,sc8280xp-smmu-500
     then:
@@ -416,7 +418,6 @@ allOf:
               - nvidia,smmu-500
               - qcom,qcm2290-smmu-500
               - qcom,qdu1000-smmu-500
-              - qcom,sa8775p-smmu-500
               - qcom,sc7180-smmu-500
               - qcom,sc8180x-smmu-500
               - qcom,sdm670-smmu-500