"cell-index" vs. "index" vs. no index in I2C device nodes
Scott Wood
scottwood at freescale.com
Fri Jun 6 02:27:24 EST 2008
On Thu, Jun 05, 2008 at 11:09:16AM -0500, Timur Tabi wrote:
> The fabric driver doesn't have access to any I2C structures when it starts
> looking for the codec driver. The fabric driver is like an OF platform driver,
> in that it's OF-aware and machine-specific. By parsing the device tree (which
> is the only tool I have to know how the board is laid out), the fabric driver
> can determine that SSI1 is attached to a CS4270 on I2C bus #1, address 0x4F.
> That's the only information it has.
No, it's not. It can determine that it's at address 0x4f on the i2c bus
at 0xe0003100. This is exactly how the ethernet phy lookup is done.
-Scott
More information about the Linuxppc-dev
mailing list