Re: [PATCH 01/13] dt-bindings: i2c: nomadik: add timeout-usecs property bindings

From: Rob Herring
Date: Thu Feb 22 2024 - 12:45:22 EST


On Wed, Feb 21, 2024 at 06:43:55PM +0100, Wolfram Sang wrote:
> Hi,
>
> > > > > i2c-mpc (fsl,timeout) and i2c-gpio (i2c-gpio,timeout-ms). I agree this
> > > > > prop has no reason to be compatible-specific.
>
> Anyone up to convert these drivers to the new binding and mark the old
> ones as deprecated?
>
> > > > As Rob mentioned this isn't in the kernel schemas but in dtschema, so
> > > > you need to patch this:
> > > > https://github.com/robherring/dt-schema
>
> @Rob: My memory fails a little bit about these two schemas: we have the
> github one for generic bindings, not strictly related to Linux, right?

Well, NONE of the bindings are strictly related to linux unless they say
'linux,' prefix.

> But why do we have then i2c.txt in ther kernel tree? Why don't we sync
> regularly with the generic schema?

We need to remove i2c.txt. Often that hasn't happened because we need to
relicense the text from GPL only to dual licensed. From a quick look,
i2c/i2c-controller.yaml appears to have everything in i2c.txt, so I
think we can go ahead and remove it. There's only a few references to
i2c.txt to update with that. I'll send a patch, but please double check
whether you think i2c-controller.yaml is missing anything.

Rob