Re: [PATCH] ASoC: dt-bindings: fsl,ssi: Convert to YAML

From: Krzysztof Kozlowski
Date: Thu Apr 18 2024 - 13:14:54 EST


On 18/04/2024 05:04, Shengjiu Wang wrote:

>>> + "#sound-dai-cells":
>>> + const: 0
>>> + description: optional, some dts node didn't add it.
>>
>> The question is: is this DAI or not?
>
> Yes, it is a DAI. so, is there any issue here?
>
>>
>>> +
>>> +required:
>>> + - compatible
>>> + - reg
>>> + - interrupts
>>> + - fsl,fifo-depth
>>> +
>>> +unevaluatedProperties: false
>>
>> This must be additionalProperties:false. Use example-schema as
>> reference... unless you want to reference dai-common.yaml, but then that
>> one is missing.
>
> As it is a DAI, so I should include dai-common.yaml, right?

Yes and then unevaluated is correct.

Best regards,
Krzysztof