On Fri, Jan 04, 2008 at 08:39:54PM -0600, Timur Tabi wrote:
David Gibson wrote:
And what distinction are you drawing between "first" and "second" here?
Oh, that's an easy one: The CS4270 can work without an I2C or SPI connection, but it will never work without an I2S connection.
Why would the I2S need to scan for codecs? Wouldn't it be up to the codec driver to register with I2S?
Not in ASoC V1. The codec driver registers with ASoC, but the actual connection to other devices (e.g. the I2S driver) is done either in the I2S driver or in the fabric driver, depending on your mood. And that connection is done via a pointer to a structure in the codec driver.
Ok, but couldn't you strucutre your I2S or fabric driver so that it only becomes fully operational once the codec driver has registered with it?