IMX6DQ SSI in I2S Master mode and audio noise

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX6DQ SSI in I2S Master mode and audio noise

555 Views
amsaleem
Contributor II

We have a custom board with IMX6DQ processor, and the board configuration is similar to the SABRE Board. It has SSI in I2S master mode configuration. We are able to capture and pay the audio. But there is some background noise while playing audio. Below given is the audio codec and SSI configuration from dts file.

regulators {
compatible = "simple-bus";
reg_audio: regulator@2 {
compatible = "regulator-fixed";
reg = <2>;
regulator-name = "wm8962-supply";
};

sound {
compatible = "fsl,imx6q-extron-tlpx25-wm8962",
"fsl,imx-audio-wm8962";
model = "wm8962-audio";
cpu-dai = <&ssi2>;
audio-codec = <&codec>;
asrc-controller = <&asrc>;
audio-routing =
"Headphone Jack", "HPOUTL",
"Headphone Jack", "HPOUTR",
"Ext Spk", "SPKOUTL",
"Ext Spk", "SPKOUTR",
"AMIC", "MICBIAS",
"IN3R", "AMIC",
/*"DMIC", "MICBIAS",
"DMICDAT", "DMIC",*/
"CPU-Playback", "ASRC-Playback",
"Playback", "CPU-Playback",
"ASRC-Capture", "CPU-Capture",
"CPU-Capture", "Capture";
mux-int-port = <2>;
mux-ext-port = <6>;
};

codec: wm8962@1a {
compatible = "wlf,wm8962";
reg = <0x1a>;
clocks = <&clks IMX6QDL_CLK_CKO>;
DCVDD-supply = <&reg_audio>;
DBVDD-supply = <&reg_audio>;
AVDD-supply = <&reg_audio>;
CPVDD-supply = <&reg_audio>;
MICVDD-supply = <&reg_audio>;
PLLVDD-supply = <&reg_audio>;
SPKVDD1-supply = <&reg_audio>;
SPKVDD2-supply = <&reg_audio>;
gpio-cfg = <
0x0000 /* 0:Default */
0x0000 /* 1:Default */
0x0000 /* 2:Default */ /* 0x0013 // 2:FN_DMICCLK */
0x0000 /* 3:Default */
0x0000 /* 4:as o/p */ /* 0x8014 // 4:FN_DMICCDAT */
0x0000 /* 5:as o/p */
>;
amic-mono;
};

pinctrl_audmux: audmuxgrp {
fsl,pins = <
MX6QDL_PAD_DI0_PIN4__AUD6_RXD 0x130b0
MX6QDL_PAD_DI0_PIN15__AUD6_TXC 0x130b0
MX6QDL_PAD_DI0_PIN2__AUD6_TXD 0x110b0
MX6QDL_PAD_DI0_PIN3__AUD6_TXFS 0x130b0
>;
};

Is there any issue in dts configuration? Looking for your help.

Thank you

MSA

Labels (2)
Tags (2)
0 Kudos
Reply
0 Replies