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

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Fri Oct 27 00:07:58 PDT 2023


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




More information about the linux-arm-kernel mailing list