device-tree for dummy codec on AUDMUX4

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

device-tree for dummy codec on AUDMUX4

2,225 Views
jpiat
Contributor I

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 ?

Labels (1)
Tags (2)
0 Kudos
1 Reply

981 Views
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos