Re: [PATCH] dt-bindings: arm-smmu: disallow clocks when not used

From: Rob Herring
Date: Tue Jan 03 2023 - 19:20:34 EST



On Thu, 22 Dec 2022 10:23:55 +0100, Krzysztof Kozlowski wrote:
> 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@xxxxxxxxxx>
>
> ---
>
> Cc: Marijn Suijten <marijn.suijten@xxxxxxxxxxxxxx>
> Cc: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
> Cc: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
> ---
> .../devicetree/bindings/iommu/arm,smmu.yaml | 28 +++++++++++++++++++
> 1 file changed, 28 insertions(+)
>

Acked-by: Rob Herring <robh@xxxxxxxxxx>