Re: [Patch v6] dt-bindings: media: s5p-mfc: convert bindings to json-schema

From: Krzysztof Kozlowski
Date: Mon Mar 13 2023 - 02:44:47 EST


On 13/03/2023 04:56, Aakarsh Jain wrote:

> Also, "samsung,mfc-v7" compatible is used for both SOCs Exynos 5420 & Exynos 3250.
> And for both SOCs, clock and IOMMUs properties are different. So in order to differentiate that, will keep it in this way.
> - if:
> properties:
> compatible:
> contains:
> enum:
> - samsung,mfc-v7
> then:
> properties:
> clocks:
> minItems: 1
> maxItems: 2
> iommus:
> minItems: 1
> maxItems: 2
>
> I hope that will be fine?

Yes. We should use as some point SoC specific compatibles everywhere,
but it can be added later.

Best regards,
Krzysztof