Porting alc5640 to nx

HI everyone,
Porting alc5640to nx , Usi ng I2s and i2c, and follow l4t to Update the Machine Driver to Support a Custom Audio Cardrt,5640 probe success,but spk ,mic can’t no work
the dts file change as below:tegra194-audio-p3668.txt (2.3 KB)
the dmesg log from bootup:kernel_log.txt (67.9 KB)
please give some advice,thanks

Hi jz_leetop,

Have you referred to https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide%2Fasoc_driver.18.2.html%23wwpID0E0VD0HA ?

Hi kaycc,
thanks for you repond.
nvidia@nvidia-desktop:~$ sudo cat /sys/kernel/debug/tracing/trace_pipe | grep *
grep: Desktop: Is a directory
grep: Documents: Is a directory
grep: Downloads: Is a directory
grep: linux_demo: Is a directory
grep: Music: Is a directory
grep: Pictures: Is a directory
grep: Public: Is a directory
grep: Templates: Is a directory
grep: tx_sdk: Is a directory
grep: Videos: Is a directory

root@nvidia-desktop:/home/nvidia# for i in find /sys/kernel/debug/tracing/events -name "enable" | grep snd_soc_; do echo 1 > $i; done
root@nvidia-desktop:/home/nvidia#
get nothing,

hi kayccc,
could you get some infor from dmesg log that i get and dtsi file.

Hello!

Please can you refer to this thread so see if this helps. Given that the codec is detected and is registered with the kernel, have you configured the codec? See this post for more details.

Regards,
Jon