Hi,
i'am trying to modify the device-tree for my IMX6 quad platform to initialize a dummy codec on AUDMUX 4 to generate raw i2s traffic to/from an FPGA. The following is what i added to my device-tree (plus pin muxing) :
codec_test: codec_test {
compatible = "linux,snd-soc-dummy";
#sound-dai-cells = <0>;
};
sound-i2s {
compatible = "simple-audio-card";
simple-audio-card,name = "simpleSSI";
simple-audio-card,widgets =
"Microphone","Microphone Jack",
"Headphone","Headphone Jack";
simple-audio-card,routing =
"MIC_IN","Microphone Jack",
"Headphone Jack","HP_OUT";
simple-audio-card,format = "i2s";
simple-audio-card,bitclock-master = <&dailink_master>;
simple-audio-card,frame-master = <&dailink_master>;
simple-audio-card,mclk-fs=<64>;
mux-int-port = <1>;
mux-ext-port = <4>;
simple-audio-card,cpu {
sound-dai = <&ssi1>;
};
dailink_master: simple-audio-card,codec {
sound-dai = <&codec_test>;
};
};
&ssi1 {
fsl,mode = "i2s-master";
status = "okay";
};
the file compiles with no problem but after boot i don't get the corresponding ALSA device. The devices appears in /proc/device-tree through. Any idea of what i 'am missing ?
Hi Piat
dummy codec is not supported in nxp linux releases and this may be also
posted on meta-fsl-arm mailing list, so that someone familiar with it could try to assist you.
https://lists.yoctoproject.org/listinfo/meta-freescale
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------