Thread (74 messages) 74 messages, 12 authors, 2008-06-27

Re: "cell-index" vs. "index" vs. no index in I2C device nodes

From: Scott Wood <hidden>
Date: 2008-06-05 16:30:12

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help