Re: [RFC] i2c: designware: Avoid initcall and initialize the driver like a regular one

From: Wolfram Sang
Date: Tue Dec 23 2014 - 11:24:19 EST



> >> This means there won't be any early users of the I2C platform driver in this
> >> scenario.
> >
> > There won't be with platform as well.
>
> Oh, OK. Then maybe you can clarify why all those i2c busses need to be
> registered with initcall in the first place?

Because they want to access PMICs early to have voltages ready when
other drivers are probed. This, again, is DT/platform independent.
All this is cruft from the pre-deferred-probe era. And pretty annoying
to deprecated although I'd love to do that.

Attachment: signature.asc
Description: Digital signature