Check if pinmux settings are done for I2S5:
cat /sys/kernel/debug/tegra_pinctrl_reg | grep ‘aud|dap5’
Bank: 0 Reg: 0x02431068 Val: 0x00000440 → dap5_fs_pu0
Bank: 0 Reg: 0x02431070 Val: 0x00000450 → dap5_din_pt7
Bank: 0 Reg: 0x02431078 Val: 0x00000400 → dap5_dout_pt6
Bank: 0 Reg: 0x02431080 Val: 0x00000440 → dap5_sclk_pt5
Bank: 0 Reg: 0x02431020 Val: 0x00000400 → aud_mclk_ps4
If there is mismatch, follow the steps given here Configuring the Jetson Expansion Headers — Jetson Linux<br/>Developer Guide 34.1 documentation
If it doesn’t help, try with below mixer control settings for RT5640
amixer -c APE cset name=“CVB-RT DAC MIXL INF1 Switch” “on”
amixer -c APE cset name=“CVB-RT DAC MIXR INF1 Switch” “on”
amixer -c APE cset name=“CVB-RT Stereo DAC MIXL DAC L1 Switch” “on”
amixer -c APE cset name=“CVB-RT Stereo DAC MIXR DAC R1 Switch” “on”
amixer -c APE cset name=“CVB-RT HPO MIX DAC1 Switch” “on”
amixer -c APE cset name=“CVB-RT HP L Playback Switch” “on”
amixer -c APE cset name=“CVB-RT HP R Playback Switch” “on”
amixer -c APE cset name=“CVB-RT HP Playback Volume” “31,31”
amixer -c APE cset name=“CVB-RT DAC1 Playback Volume” “175,175”
If still playback has issue, please provide below details:
- Aud_mclk and I2S5 status by running below command during playback
sudo grep “i2s5|aud_mclk” /sys/kernel/debug/clk/clk_summary. - Is Jetson i2s in master mode?
- Dapm path trace, steps are mentioned in Troubleshooting section in “Sound Not Audible or Not Recorded” (link is shared in previous reply)
- dmesg logs