19 Mar
2014
19 Mar
'14
7:55 p.m.
On Thu, Mar 13, 2014 at 06:38:31PM +0800, RongJun Ying wrote:
- audiocodec: audiocodec {
compatible = "sirf,atlas6-audio-codec";
interrupts = <35>;
clocks = <&clks 27>;
- };
- audioport: audioport {
compatible = "sirf,audio-port";
- i2s: i2s {
compatible = "sirf,prima2-i2s";
Given that this is all one single IP block which doesn't really exist independently at the hardware level it shouldn't have separate nodes or compatible strings for the functions at the DT level - that's all to do with how Linux structures things, not about the hardware. As ever DT should represent the hardware, not Linux's abstractions for it.