Re: [PATCH 01/10] dt: bindings: clock: add mtmips SoCs clock device tree binding documentation

From: Rob Herring
Date: Fri Mar 24 2023 - 18:13:58 EST


On Tue, Mar 21, 2023 at 12:02:47PM +0300, Arınç ÜNAL wrote:
> On 21.03.2023 12:01, Krzysztof Kozlowski wrote:
> > On 21/03/2023 09:53, Arınç ÜNAL wrote:
> > > >
> > > > I do not see how choosing one variant for compatibles having two
> > > > variants of prefixes, complicates things. Following this argument
> > > > choosing "ralink" also complicates!
> > >
> > > The idea is to make every compatible string of MTMIPS to have the ralink
> > > prefix so it's not mediatek on some schemas and ralink on others. Simpler.
> >
> > Which is an ABI break, so you cannot do it.
>
> No, both strings stay on the driver, it's the schemas that will only keep
> ralink.

Whatever is in the driver should be in the schema too. 'make
dt_compatible_check' will check this. And some day, I'd like that list
to get to 0.

Rob