5 Jan
2008
5 Jan
'08
3:39 a.m.
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.
--
Timur Tabi
Linux Kernel Developer @ Freescale