Hi,
I have followed the following guide to port and connect a new audio card device (lets say TI PCM5102a Codec) to McASP for my Sitara based HW: http://processors.wiki.ti.com/index.php/Sitara_Linux_SDK_Audio_DAC_Example
I have the first audio card connected to McASP0 and I can stream audio data to it fine.
Now I am trying to port and register a second card that is connected to McASP1 (let's say the multiple channels TI PCM3168a Codec). I have the kernel driver in place in /sound/soc/codecs and sound/soc/davinci as guided by the example in TI link above, but, I am not sure how to define the second card in the sound node in my am335x device tree file (.dts). Here is my first sound card node in the device tree which works fine:
pcm5102a: pcm5102a {
compatible = "ti,pcm5102a";
};
sound {
compatible = "ti,pcm5102a-evm-audio";
ti,model = "TI PCM5102A";
ti,audio-codec = <&pcm5102a>;
ti,mcasp-controller = <&mcasp0>;
ti,codec-clock-rate = <24000000>;
};
Question: how to add the second audio card (connect to the second McASP port mcasp1 ) into the sound node in the kernel device tree? any examples?