On Sun, Mar 25, 2018 at 02:49:03PM +0200, Boris Brezillon wrote: > I3C busses have to know about all I2C devices connected on the I3C bus > to properly initialize the I3C master, and I2C frames can't be sent on > the bus until this initialization is done. > > We can't let the I2C core parse the DT and instantiate I2C devices as > part of its i2c_add_adapter() procedure because, when done this way, > I2C devices are directly registered to the device-model and might be > attached to drivers which could in turn start sending frames on the bus, > which won't work since, as said above, the bus is not yet initialized. > > Export of_i2c_register_device() in order to let the I3C core parse the > I2C device nodes by itself and initialize the bus. > > Signed-off-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxx> Applied to for-next, thanks!
Attachment:
signature.asc
Description: PGP signature