Messages in this thread | | | Subject | Re: [PATCH 6/6] Documentation/devicetree: Add FSI-attached I2C master dt bindings | From | Jeremy Kerr <> | Date | Wed, 28 Jun 2017 11:08:17 +0800 |
| |
Hi Eddie,
>> Those child nodes represent the downstream i2c buses, and so also >> contain the i2c slave devices, right? If so, you may want to document >> that, and/or add a simple device to that example (say, an EEPROM). > > Yes, good point, but the driver currently wouldn't do anything with that > device information. It doesn't keep a list of populated devices on the > bus or anything. Still worth adding them to the device tree?
Surely the i2c core needs this to be able to find i2c slave devices on the bus though?
[You'll need to set i2c_adapter->dev.of_node for this to work though, which I don't think you are with the current patch set]
Cheers,
Jeremy
| |