Re: [PATCH v5 01/11] ASoC: dt-bindings: renesas,fsi: add support multiple clocks

From: Krzysztof Kozlowski

Date: Tue Jun 09 2026 - 05:01:19 EST


On 09/06/2026 10:42, Bui Duc Phuc wrote:
> Hi Krzysztof,
>
> Thank you for clarifying.
>
>>>>> + uniqueItems: true
>>>>
>>>> You don't need this, it's by default.
>>>>
>>>
>>> Could you clarify which part you are referring to?
>>> Are you referring to the "uniqueItems: true" property or another
>>> constraint in this block?
>>
>> The uniqueItems should not be needed.
>>
>
> From my testing, if "uniqueItems: true" is removed, the schema still
> accepts duplicated clock names, for example:
> clock-names = "fck", "spu", "icka", "icka", "xcka", "xckb";
> Since duplicate clock names are not valid, I believe
> "uniqueItems: true" is still needed here to reject such cases.

Odd. clock-names are string-array which has uniqueItems by default.

That's the first need of usage it, so I think you should skip it even if
it does not work correctly - the true fix should be in dtschema.

Best regards,
Krzysztof