Skip to content

Commit dc94d0c

Browse files
superna9999robclark
authored andcommitted
dt-bindings: arm-smmu: fix SM8[45]50 GPU SMMU if condition
The if condition for the SM8[45]50 GPU SMMU is too large, add the other compatible strings to the condition to only allow the clocks for the GPU SMMU nodes. Fixes: 4fff78d ("dt-bindings: arm-smmu: Document SM8[45]50 GPU SMMU") Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/578686/ Signed-off-by: Rob Clark <robdclark@chromium.org>
1 parent de13192 commit dc94d0c

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

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

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,12 @@ allOf:
484484
- if:
485485
properties:
486486
compatible:
487-
const: qcom,sm8450-smmu-500
487+
items:
488+
- const: qcom,sm8450-smmu-500
489+
- const: qcom,adreno-smmu
490+
- const: qcom,smmu-500
491+
- const: arm,mmu-500
492+
488493
then:
489494
properties:
490495
clock-names:
@@ -508,7 +513,11 @@ allOf:
508513
- if:
509514
properties:
510515
compatible:
511-
const: qcom,sm8550-smmu-500
516+
items:
517+
- const: qcom,sm8550-smmu-500
518+
- const: qcom,adreno-smmu
519+
- const: qcom,smmu-500
520+
- const: arm,mmu-500
512521
then:
513522
properties:
514523
clock-names:

0 commit comments

Comments
 (0)