There is no signal on j21’s audio pin now.
I use the virtual encoder on tx1 tegra-snd-t210ref-mobile-rt565x
With aplay -Dhw: 1,0 panio2 output audio, however, MCK, DOUT, BCK, CLK no signal
I checked tegra210-jetson-cv-base-p2597-2180-a00.dts
sound_card: sound {
compatible = "nvidia,tegra-audio-t210ref-mobile-rt565x";
nvidia,model = "tegra-snd-t210ref-mobile-rt565x";
clocks = <&tegra_car TEGRA210_CLK_PLL_P_OUT1>,
<&tegra_car TEGRA210_CLK_PLL_A>,
<&tegra_car TEGRA210_CLK_PLL_A_OUT0>,
<&tegra_car TEGRA210_CLK_D_AUDIO>,
<&tegra_car TEGRA210_CLK_CLK_M>,
<&tegra_car TEGRA210_CLK_EXTERN1>;
clock-names = "pll_p_out1", "pll_a", "pll_a_out0", "ahub",
"clk_m", "extern1";
assigned-clocks = <&tegra_car TEGRA210_CLK_PLL_A>,
<&tegra_car TEGRA210_CLK_PLL_A_OUT0>,
<&tegra_car TEGRA210_CLK_D_AUDIO>,
<&tegra_car TEGRA210_CLK_EXTERN1>;
assigned-clock-rates = <368640000>, <36864000>,
<36864000>, <12288000>;
nvidia,num-codec-link = <5>;
nvidia,audio-routing =
"x Headphone", "x OUT",
"x IN", "x Mic",
"y Headphone", "y OUT",
"y IN", "y Mic",
"l IN", "l OUT",
"s Headphone", "s OUT",
"s IN", "s Mic";
nvidia,xbar = <&tegra_axbar>;
/* The codec-dai here is initialized to dummy and will be */
/* replaced with rt565x codec-dai on detecting super-module */
nvidia,dai-link-1 {
link-name = "rt565x-playback";
cpu-dai = <&tegra_i2s1>;
codec-dai = <&spdif_dit4>;
cpu-dai-name = "I2S1";
codec-dai-name = "dit-hifi";
format = "i2s";
bitclock-slave;
frame-slave;
bitclock-noninversion;
frame-noninversion;
bit-format = "s16_le";
bclk_ratio = <0>;
srate = <48000>;
num-channel = <2>;
name-prefix = "x";
};
gpio@6000d000{
gpio_default: default {
gpio-to-sfio = <
TEGRA_GPIO(B, 0)
TEGRA_GPIO(B, 1)
TEGRA_GPIO(B, 2)
TEGRA_GPIO(B, 3)
TEGRA_GPIO(BB, 0)
>;
};
};
nvidia,dai-link-2 {
link-name = "spdif-dit-1";
cpu-dai = <&tegra_i2s2>;
codec-dai = <&spdif_dit1>;
cpu-dai-name = "I2S2";
codec-dai-name = "dit-hifi";
format = "dsp_a";
bitclock-slave;
frame-slave;
bitclock-inversion;
frame-inversion;
bit-format = "s16_le";
bclk_ratio = <4>;
srate = <8000>;
num-channel = <1>;
name-prefix = "y";
};
What is the situation leading to I2S no signal output?
please help me!