AnsweredAssumed Answered

Audio returning with SGTL5000.

Question asked by Alled Paiva on Jun 1, 2016
Latest reply on Aug 8, 2016 by Caio Pereira

Hi All,


We are using sgtl5000 audio codec from the freescale with the colibri imx6 processor, we are using the existing machine and codec driver available in kernel 3.10.17 of yocto 1.7.2.


Im using gstreamer to create an rtp connection beetwen my computer and my board. And it is working normally using this configurations below:

Capture: MIC

Headphone: LINE IN


changed using alsamixer. And it is working very well.


When we change:

Capture from MIC to LINE_IN


I start to listen the audio that im speaking from my computer mic, even with my hardware is without mic and headphone; 

We used as reference for device tree changes from the imx6 colibri board device tree file.






Device tree changes:

sound {                             /* Read related .txt file in Documentation for binding */

    compatible = "fsl,imx6sl-alba-sgtl5000",


    model = "imx6sl-alba-sgtl5000";

    ssi-controller = <&ssi2>;     

    audio-codec = <&codec>;                                                                                                 

    audio-routing =               

        "MIC_IN", "Mic Jack",

        "Headphone Jack", "HP_OUT";

    mux-int-port = <2>;           

    mux-ext-port = <3>;





Im thinking that this issue is related with audio-routing, but i don't know where can i change to fix this audio returning.

Someone can help me ? Any hint will be very helpfully !!