Re: [PATCH] dt-bindings: clock: ti: Convert interface.txt to json-schema

From: Krzysztof Kozlowski
Date: Wed Nov 29 2023 - 03:16:06 EST


On 28/11/2023 21:41, Andreas Kemnade wrote:
> Am Tue, 28 Nov 2023 09:41:23 +0100
> schrieb Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>:
>>> If the interface clock is not below a ti,clksel then we have reg.
>>
>> This should be expressed in the bindings. It's fine to make the reg
>> optional (skip the description, it's confusing), but the ti,clksel
>> should reference this schema and enforce it on the children.
>>
> Well there are other compatibles below ti,clksel, too, so should we
> rather add them when the other .txt files are converted?

This binding should already be referenced by ti,clksel. When the other
are ready, you will change additionalProperties from object to false.

Best regards,
Krzysztof