Re: [PATCH v13 6/8] media: dt-bindings: wave5: add Chips&Media 521c codec IP support

From: Krzysztof Kozlowski
Date: Fri Oct 27 2023 - 03:08:09 EST


On 26/10/2023 18:33, Sebastian Fricke wrote:

> required:
> - compatible
> - reg
> - clocks
> - interrupts
>
> Is it possible to make it required later on for certain SoC by adding
> something along the lines of:
>
> allOf:
> - if:
> properties:
> compatible:
> contains:
> enum:
> - soc_compatible...
> ...
> then:
> properties:
> interrupts: true

See example schema:
https://elixir.bootlin.com/linux/v5.19/source/Documentation/devicetree/bindings/example-schema.yaml#L212

Best regards,
Krzysztof