dt-bindings: arm-smmu: disallow clocks when not used
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 22 Dec 2022 09:23:55 +0000 (10:23 +0100)
committerWill Deacon <will@kernel.org>
Tue, 24 Jan 2023 11:35:53 +0000 (11:35 +0000)
commitd565d60d3da7f0f390c479c3bc6d5846c061760c
tree82545a7b5b1df41d4531a5d80f7fa51996bde14c
parent6dbffe465b7c4807c266d696f9a66fb582f8e6f4
dt-bindings: arm-smmu: disallow clocks when not used

Disallow clocks for variants other than:
1. SMMUs with platform-specific compatibles which list explicit clocks
   and clock-names,
2. SMMUs using only generic compatibles, e.g. arm,mmu-500, which have a
   variable clocks on different implementations.

This requires such variants with platform-specific compatible, to
explicitly list the clocks or omit them, making the binding more
constraint.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20221222092355.74586-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Will Deacon <will@kernel.org>
Documentation/devicetree/bindings/iommu/arm,smmu.yaml