Home
last modified time | relevance | path

Searched hist:da0086d018223529c686ef46db039533572418d8 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/i2c/
H A Di2c-core-of.cdiff da0086d018223529c686ef46db039533572418d8 Sun Mar 25 14:49:03 CEST 2018 Boris Brezillon <boris.brezillon@bootlin.com> i2c: Export of_i2c_get_board_info()

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@bootlin.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>