Re: [PATCH] dt-bindings: i2c: nxp,pca9564: convert to DT schema
From: Krzysztof Kozlowski
Date: Thu Apr 09 2026 - 17:24:15 EST
On 09/04/2026 18:21, Akhila YS wrote:
>>>> +required:
>>>> + - compatible
>>>> + - reg
>>>> +
>>>> +additionalProperties: false
>>> And if you tested any DTS with this, you would see this cannot work.
>>> Look at other bindings - you miss ref to i2c-controller and
>>> unevaluatedProps. But the problem is that you are doing something which
>>> would never work, so I have doubts that you know what you are doing. One
>>> thing is to make a mistake, other thing is to post something can never
>>> work thus putting quite noticeable requirements on review.
>>
>> You are right, i missed referencing the common i2c controller schema and
>> did not handle unevaluated properties correctly,which makes binding invalid.
>
>
> There is no file named i2c-controller.yaml to take ref to this yaml. I
And `git grep` hallucinated?
> tried testing the yaml file with the dts in my local machine and its
> working as expected.
Hm, please share the DTS which worked. Are you sure that you are testing
I2C bus?
Best regards,
Krzysztof