Hi Igor,
Thanks for the reply.
I will look into this.
Quick questions below, can you help ?
How 'mux-int-port' and 'mux-ext-port' are used and how can I use & configure it for my codec ?
mux-int-port = <1>;
mux-ext-port = <3>
I've referred the following links, SGTL5000 codec configured in different internal and external AUDMUX ports. Why and how? we should change this based on the HW connection ?
SGTL5000 audio
linux-imx6/imx-audio-sgtl5000.txt at master · samnazarko/linux-imx6 · GitHub
And when I can decide to configure my codec as master or slave ? based on the clock generation alone or any other reason behind ?
sound {
compatible = "fsl,imx-audio-sgtl5000";
model = "sgtl5000-audio";
cpu-dai = <&ssi2>;
audio-codec = <&sgtl5000>;
audio-routing =
"MIC_IN", "Mic Jack",
"Mic Jack", "Mic Bias",
"Headphone Jack", "HP_OUT";
mux-int-port = <2>;
mux-ext-port = <3>;
hp-det-gpios = <&gpio2 0 0>;
hp-det-debounce = <250>;
};
sound {
compatible = "fsl,imx51-babbage-sgtl5000",
"fsl,imx-audio-sgtl5000";
model = "imx51-babbage-sgtl5000";
ssi-controller = <&ssi1>;
audio-codec = <&sgtl5000>;
audio-routing =
"MIC_IN", "Mic Jack",
"Mic Jack", "Mic Bias",
"Headphone Jack", "HP_OUT";
mux-int-port = <1>;
mux-ext-port = <3>;
};