On Thu, Jan 03, 2008 at 11:54:24AM -0600, Timur Tabi wrote:
Jon Smirl wrote:
On 1/2/08, Timur Tabi timur@freescale.com wrote:
Jon Smirl wrote:
On 1/1/08, Jon Smirl jonsmirl@gmail.com wrote:
On 12/19/07, Timur Tabi timur@freescale.com wrote:
[snip]
Don't we want to follow the device tree policy of putting the device on the controlling bus and then link it to the data bus?
Normally, that sounds like a good idea, but the cs4270 is an I2S device first, and an I2C device second. I need to be able to find that codec from the I2S node. My I2S driver would not know to scan all I2C devices to find the codec.
And what distinction are you drawing between "first" and "second" here? For the device tree, the primary bus should the the one by which it's addressable - i.e. where the control registers are, not the data path.
Why would the I2S need to scan for codecs? Wouldn't it be up to the codec driver to register with I2S?