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
解決済! 解決策の投稿を見る。
Hi,
Can you try this
Ext Spk", "LINE_OUT";
Instead of
"Line Out Jack", "LINE_OUT";
Please let me know the results.
Alejandro
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 = <®_sgtl5000_vddd>;
};
Hi,
Can you try this
Ext Spk", "LINE_OUT";
Instead of
"Line Out Jack", "LINE_OUT";
Please let me know the results.
Alejandro
Why cannot use "Line Out Jack", "LINE_OUT"; ?
Is this based on which pin I design to be LINE_OUT?
Hi Alejandro,
It's working. Thank you.
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.