Hi everyone, on our self-developed carrier board, we used the ES8390 audio chip. Currently, the playback function works fine, but recording can’t capture any sound. We’re using Jetpack 6.2.2.Could you please help me check if I did something wrong with the software configuration?
The dts configuration is as follows:
&gen1_i2c {
status = “okay”;
clock-frequency = <400000>;
es8389: es8389@10 {
compatible = "everest,es8389";
reg = <0x10>;
#sound-dai-cells = <0>;
status = "okay";
clocks = <&bpmp TEGRA234_CLK_AUD_MCLK>;
clock-names = "mclk";
sound-name-prefix = "ES";
};
};
&tegra_sound {
status = “okay”;
fixed-pll;
clocks = <&bpmp TEGRA234_CLK_PLLA>,
<&bpmp TEGRA234_CLK_PLLA_OUT0>,
<&bpmp TEGRA234_CLK_AUD_MCLK>;
clock-names = "pll_a","plla_out0","externl";
assigned-clocks = <&bpmp TEGRA234_CLK_PLLA>,
<&bpmp TEGRA234_CLK_PLLA_OUT0>,
<&bpmp TEGRA234_CLK_AUD_MCLK>;
assigned-clock-parents = <0>,
<&bpmp TEGRA234_CLK_PLLA>,
<&bpmp TEGRA234_CLK_PLLA_OUT0>;
assigned-clock-rates = <983040000>,<49152000>,<12288000>;
//nvidia-audio-card,mclk-fs = <256>;
nvidia-audio-card,widgets =
"Headphone", "ES Headphone",
"Microphone", "ES Mic";
nvidia-audio-card,routing =
"ES Headphone", "ES HPOL",
"ES Headphone", "ES HPOR",
"ES INPUT1", "ES Mic",
"ES INPUT2", "ES Mic";
};
&i2s2_to_codec {
status = “okay”;
link-name = “es8389-playback”;
format = “i2s”;
codec {
sound-dai = <&es8389>;
prefix = "ES";
};
};
The waveforms of the three clocks are as follows:
CH1:MCLK CH2:SCLK CH3:LRCK
