Hi All,
We were having imx6 ultralite target board. Audio Codec sgtl5000 is used. MIC_IN and HP is working fine,
But LINE_IN and LINE_OUT is not working. kernel version 4.1.15 is used.
Below are the sound entry in the devicetree file:
sound {
compatible = "fsl,imx-audio-sgtl5000";
model = "imx6ul-sgtl5000";
audio-cpu = <&sai1>;
audio-codec = <&codec>;
audio-routing =
"LINE_IN", "Line In Jack",
"MIC_IN", "Mic Jack",
"Mic Jack", "Mic Bias",
"Headphone Jack", "HP_OUT";
};
For using LINE_IN for recording purpose, we selected the 'Capture Mux' to 'LINE_IN' and set the 'Capture Volume' values to 12, using amixer. But we are not able to record anything.
Can anyone have got line out port working with sgtl5000?
Or anything i am missing?
Hi Sourabh
please check dts of karo tx6ul board :
https://github.com/RobertCNelson/device-tree-rebasing/blob/master/src/arm/imx6ul-tx6ul.dtsi
Description of patchset which adds support for the i.MX6UL SoC to the imx-sgtl5000 sound driver.
https://groups.google.com/forum/?nomobile=true#!topic/fa.linux.kernel/659CoJ8kCNQ
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------