Re: [PATCH V2 1/2] dt-bindings: rtc: Add TI K3 RTC description

From: Krzysztof Kozlowski
Date: Thu May 12 2022 - 06:12:24 EST


On 11/05/2022 21:38, Nishanth Menon wrote:
> On 18:28-20220511, Krzysztof Kozlowski wrote:
>> On 11/05/2022 02:25, Nishanth Menon wrote:
> [...]
>
>>
>> I didn't brought it earlier (I assumed you used existing RTC examples
>> for your schema): why this is not including generic rtc.yaml schema?
>> Isn't this a RTC?
>
> Oversight, and I suppose I picked a bad example to emulate :(
>
> I assume you mean adding:
> allOf:
> - $ref: "rtc.yaml#"
>
> Like this:
> https://gist.github.com/nmenon/0c326c92fbadecd042209c0078f0af99 ?

Yes plus you need to use unevaluatedProperties:false and remove
wakeup-source (it's coming from rtc.yaml).

Best regards,
Krzysztof