3 Jan
2008
3 Jan
'08
6:13 p.m.
On 1/3/08, Timur Tabi timur@freescale.com wrote:
Jon Smirl wrote:
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.
The device tree is a description of the hardware; not software. It's not a good idea to break with convention due to current driver architecture.
Cheers, g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195