SGTL5000 with imx6 sololite - Line out not working

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SGTL5000 with imx6 sololite - Line out not working

ソリューションへジャンプ
3,302件の閲覧回数
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,888件の閲覧回数
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,889件の閲覧回数
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,889件の閲覧回数
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,889件の閲覧回数
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,889件の閲覧回数
jagsgediya
Contributor II

Hi Alejandro,

It's working. Thank you.

0 件の賞賛
返信
1,889件の閲覧回数
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 件の賞賛
返信