SGTL5000 with imx6 sololite - Line out not working

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

SGTL5000 with imx6 sololite - Line out not working

跳至解决方案
2,754 次查看
jagsgediya
Contributor II

Hi All,

We are using sgtl5000 audio codec from the freescale with the imx6 sololite processor.

We are able to get mic and headphone working but speaker on line out is not working. We are using the existing machine and codec driver available in kernel 3.10.17 of yocto 1.6.

We have taken refrence for device tree changes from the sabrelite board device tree file.

Drivers:

sound/soc/fsl/imx-sgtl5000.c

sound/soc/codecs/sgtl5000.c

Device tree changes:

sound {                             /* Read related .txt file in Documentation for binding */
    compatible = "fsl,imx6sl-alba-sgtl5000",
           "fsl,imx-audio-sgtl5000";
    model = "imx6sl-alba-sgtl5000";
    ssi-controller = <&ssi2>;      
    audio-codec = <&codec>;                                                                                                  
    audio-routing =                
        "MIC_IN", "Mic Jack",
        "Mic Jack", "Mic Bias",
        "Headphone Jack", "HP_OUT",
        "Line Out Jack", "LINE_OUT";
    mux-int-port = <2>;            
    mux-ext-port = <3>;
};

But, unfortunately the speaker on line out is not working. Can anyone have got line out port working with sgtl5000?

Or anything i am missing?

Thanks,

Jags

标签 (4)
0 项奖励
1 解答
1,340 次查看
alejandrolozan1
NXP Employee
NXP Employee

Hi,

Can you try this

Ext Spk", "LINE_OUT";


Instead of 

"Line Out Jack", "LINE_OUT";


Please let me know the results.


Alejandro

在原帖中查看解决方案

0 项奖励
5 回复数
1,341 次查看
NikhilKamathLNT
Contributor I

I was about to go crazy with sound not working with line out and found the answer here to work. Thank you alejandrolozano!

for anyone using imx35 and sgtl5000 with linux-fslc : below is my dts content:

sound {
compatible = "fsl,imx-audio-sgtl5000";
model = "ebox-sgtl5000";
ssi-controller = <&ssi1>;
audio-codec = <&codec>;
audio-routing =
"MIC_IN", "Mic Jack",
"Mic Jack", "Mic Bias",
"Headphone Jack", "HP_OUT",
"Ext Spk", "LINE_OUT";
mux-int-port = <1>;
mux-ext-port = <4>;
};

codec: sgtl5000@0a {
compatible = "fsl,sgtl5000";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_sgtl5000>;
reg = <0x0a>;
clocks = <&clks 86>;
VDDA-supply = <&vcam_reg>;
VDDIO-supply = <&reg_sgtl5000_vddd>;

};

0 项奖励
1,341 次查看
alejandrolozan1
NXP Employee
NXP Employee

Hi,

Can you try this

Ext Spk", "LINE_OUT";


Instead of 

"Line Out Jack", "LINE_OUT";


Please let me know the results.


Alejandro

0 项奖励
1,341 次查看
wangtsungli
Contributor IV

Why cannot use "Line Out Jack", "LINE_OUT"; ?

Is this based on which pin I design to be LINE_OUT?

0 项奖励
1,341 次查看
jagsgediya
Contributor II

Hi Alejandro,

It's working. Thank you.

0 项奖励
1,341 次查看
kondaveetiarung
Contributor II

Hi,

Please send your dtsi and dts files for audio support in imx6 sololite.

Same Problem iam getting iam not getting the LINEout Values.Please send your DTSI and DTS FIles.

0 项奖励