No I2S1 activity for rt5640 after moving to l4t32 from 28

Hello,

After migrating to l4t32 from l4t28 can’t make rt5640 work on TX1.
Codec initialization goes without errors. Mixer is configured the same way as it was on 28, pinmux is configured the same way.
But when I play an audio file using aplay, nothing is happening on I2S1 bus.

Here is trace from playing a wav file, please let me know if any other dumps or info. are required.

cat /sys/kernel/debug/tracing/trace_pipe

alsa-sink-ADMAI-20291 [003] … 2756.210384: snd_soc_dapm_start: card=tegra-snd-t210ref-mobile-rt5640
alsa-sink-ADMAI-20291 [003] … 2756.210448: snd_soc_dapm_widget_power: widget=Playback 1 val=1
alsa-sink-ADMAI-20291 [003] … 2756.210451: snd_soc_dapm_widget_power: widget=ADMAIF1 Receive val=1
alsa-sink-ADMAI-20291 [003] … 2756.210454: snd_soc_dapm_path: *ADMAIF1 RX ← (direct) ← ADMAIF1 Receive
alsa-sink-ADMAI-20291 [003] … 2756.210456: snd_soc_dapm_widget_power: widget=ADMAIF1 RX val=1
alsa-sink-ADMAI-20291 [003] … 2756.210459: snd_soc_dapm_path: I2S1 Mux ← OPE2 ← OPE2 RX
alsa-sink-ADMAI-20291 [003] … 2756.210460: snd_soc_dapm_path: I2S1 Mux ← ADX2-4 ← ADX2-4 RX
alsa-sink-ADMAI-20291 [003] … 2756.210461: snd_soc_dapm_path: I2S1 Mux ← ADX2-3 ← ADX2-3 RX
alsa-sink-ADMAI-20291 [003] … 2756.210462: snd_soc_dapm_path: I2S1 Mux ← ADX2-2 ← ADX2-2 RX
alsa-sink-ADMAI-20291 [003] … 2756.210463: snd_soc_dapm_path: I2S1 Mux ← ADX2-1 ← ADX2-1 RX
alsa-sink-ADMAI-20291 [003] … 2756.210464: snd_soc_dapm_path: I2S1 Mux ← AMX2 ← AMX2 RX
alsa-sink-ADMAI-20291 [003] … 2756.210465: snd_soc_dapm_path: I2S1 Mux ← ADX1-4 ← ADX1-4 RX
alsa-sink-ADMAI-20291 [003] … 2756.210466: snd_soc_dapm_path: I2S1 Mux ← ADX1-3 ← ADX1-3 RX
alsa-sink-ADMAI-20291 [003] … 2756.210466: snd_soc_dapm_path: I2S1 Mux ← ADX1-2 ← ADX1-2 RX
alsa-sink-ADMAI-20291 [003] … 2756.210467: snd_soc_dapm_path: I2S1 Mux ← ADX1-1 ← ADX1-1 RX
alsa-sink-ADMAI-20291 [003] … 2756.210468: snd_soc_dapm_path: I2S1 Mux ← AMX1 ← AMX1 RX
alsa-sink-ADMAI-20291 [003] … 2756.210469: snd_soc_dapm_path: I2S1 Mux ← DMIC3 ← DMIC3 RX
alsa-sink-ADMAI-20291 [003] … 2756.210470: snd_soc_dapm_path: I2S1 Mux ← DMIC2 ← DMIC2 RX
alsa-sink-ADMAI-20291 [003] … 2756.210470: snd_soc_dapm_path: I2S1 Mux ← DMIC1 ← DMIC1 RX
alsa-sink-ADMAI-20291 [003] … 2756.210471: snd_soc_dapm_path: I2S1 Mux ← IQC2-2 ← IQC2-2 RX
alsa-sink-ADMAI-20291 [003] … 2756.210472: snd_soc_dapm_path: I2S1 Mux ← IQC2-1 ← IQC2-1 RX
alsa-sink-ADMAI-20291 [003] … 2756.210473: snd_soc_dapm_path: I2S1 Mux ← IQC1-2 ← IQC1-2 RX
alsa-sink-ADMAI-20291 [003] … 2756.210473: snd_soc_dapm_path: I2S1 Mux ← IQC1-1 ← IQC1-1 RX
alsa-sink-ADMAI-20291 [003] … 2756.210474: snd_soc_dapm_path: I2S1 Mux ← MVC2 ← MVC2 RX
alsa-sink-ADMAI-20291 [003] … 2756.210475: snd_soc_dapm_path: I2S1 Mux ← MVC1 ← MVC1 RX
alsa-sink-ADMAI-20291 [003] … 2756.210476: snd_soc_dapm_path: I2S1 Mux ← OPE1 ← OPE1 RX
alsa-sink-ADMAI-20291 [003] … 2756.210476: snd_soc_dapm_path: I2S1 Mux ← AFC6 ← AFC6 RX
alsa-sink-ADMAI-20291 [003] … 2756.210477: snd_soc_dapm_path: I2S1 Mux ← AFC5 ← AFC5 RX
alsa-sink-ADMAI-20291 [003] … 2756.210478: snd_soc_dapm_path: I2S1 Mux ← AFC4 ← AFC4 RX
alsa-sink-ADMAI-20291 [003] … 2756.210479: snd_soc_dapm_path: I2S1 Mux ← AFC3 ← AFC3 RX
alsa-sink-ADMAI-20291 [003] … 2756.210479: snd_soc_dapm_path: I2S1 Mux ← AFC2 ← AFC2 RX
alsa-sink-ADMAI-20291 [003] … 2756.210480: snd_soc_dapm_path: I2S1 Mux ← AFC1 ← AFC1 RX
alsa-sink-ADMAI-20291 [003] … 2756.210481: snd_soc_dapm_path: I2S1 Mux ← MIXER1-5 ← MIXER1-5 RX
alsa-sink-ADMAI-20291 [003] … 2756.210482: snd_soc_dapm_path: I2S1 Mux ← MIXER1-4 ← MIXER1-4 RX
alsa-sink-ADMAI-20291 [003] … 2756.210482: snd_soc_dapm_path: I2S1 Mux ← MIXER1-3 ← MIXER1-3 RX
alsa-sink-ADMAI-20291 [003] … 2756.210483: snd_soc_dapm_path: I2S1 Mux ← MIXER1-2 ← MIXER1-2 RX
alsa-sink-ADMAI-20291 [003] … 2756.210484: snd_soc_dapm_path: I2S1 Mux ← MIXER1-1 ← MIXER1-1 RX
alsa-sink-ADMAI-20291 [003] … 2756.210485: snd_soc_dapm_path: I2S1 Mux ← SFC4 ← SFC4 RX
alsa-sink-ADMAI-20291 [003] … 2756.210487: snd_soc_dapm_path: I2S1 Mux ← SFC3 ← SFC3 RX
alsa-sink-ADMAI-20291 [003] … 2756.210488: snd_soc_dapm_path: I2S1 Mux ← SFC2 ← SFC2 RX
alsa-sink-ADMAI-20291 [003] … 2756.210489: snd_soc_dapm_path: I2S1 Mux ← SFC1 ← SFC1 RX
alsa-sink-ADMAI-20291 [003] … 2756.210490: snd_soc_dapm_path: I2S1 Mux ← I2S5 ← I2S5 RX
alsa-sink-ADMAI-20291 [003] … 2756.210491: snd_soc_dapm_path: I2S1 Mux ← I2S4 ← I2S4 RX
alsa-sink-ADMAI-20291 [003] … 2756.210491: snd_soc_dapm_path: I2S1 Mux ← I2S3 ← I2S3 RX
alsa-sink-ADMAI-20291 [003] … 2756.210492: snd_soc_dapm_path: I2S1 Mux ← I2S2 ← I2S2 RX
alsa-sink-ADMAI-20291 [003] … 2756.210493: snd_soc_dapm_path: I2S1 Mux ← I2S1 ← I2S1 RX
alsa-sink-ADMAI-20291 [003] … 2756.210494: snd_soc_dapm_path: I2S1 Mux ← ADMAIF10 ← ADMAIF10 RX
alsa-sink-ADMAI-20291 [003] … 2756.210495: snd_soc_dapm_path: I2S1 Mux ← ADMAIF9 ← ADMAIF9 RX
alsa-sink-ADMAI-20291 [003] … 2756.210495: snd_soc_dapm_path: I2S1 Mux ← ADMAIF8 ← ADMAIF8 RX
alsa-sink-ADMAI-20291 [003] … 2756.210496: snd_soc_dapm_path: I2S1 Mux ← ADMAIF7 ← ADMAIF7 RX
alsa-sink-ADMAI-20291 [003] … 2756.210497: snd_soc_dapm_path: I2S1 Mux ← ADMAIF6 ← ADMAIF6 RX
alsa-sink-ADMAI-20291 [003] … 2756.210498: snd_soc_dapm_path: I2S1 Mux ← ADMAIF5 ← ADMAIF5 RX
alsa-sink-ADMAI-20291 [003] … 2756.210499: snd_soc_dapm_path: I2S1 Mux ← ADMAIF4 ← ADMAIF4 RX
alsa-sink-ADMAI-20291 [003] … 2756.210499: snd_soc_dapm_path: I2S1 Mux ← ADMAIF3 ← ADMAIF3 RX
alsa-sink-ADMAI-20291 [003] … 2756.210500: snd_soc_dapm_path: I2S1 Mux ← ADMAIF2 ← ADMAIF2 RX
alsa-sink-ADMAI-20291 [003] … 2756.210501: snd_soc_dapm_path: *I2S1 Mux ← ADMAIF1 ← ADMAIF1 RX
alsa-sink-ADMAI-20291 [003] … 2756.210502: snd_soc_dapm_widget_power: widget=I2S1 Mux val=1
alsa-sink-ADMAI-20291 [003] … 2756.210504: snd_soc_dapm_path: *I2S1 TX ← (direct) ← I2S1 Mux
alsa-sink-ADMAI-20291 [003] … 2756.210505: snd_soc_dapm_widget_power: widget=I2S1 TX val=1
alsa-sink-ADMAI-20291 [003] … 2756.210506: snd_soc_dapm_path: *I2S1 Transmit ← (direct) ← I2S1 TX
alsa-sink-ADMAI-20291 [003] … 2756.210507: snd_soc_dapm_widget_power: widget=I2S1 Transmit val=1
alsa-sink-ADMAI-20291 [003] … 2756.210508: snd_soc_dapm_path: *I2S1 Transmit-I2S1 CIF Receive ← (direct) ← I2S1 Transmit
alsa-sink-ADMAI-20291 [003] … 2756.210509: snd_soc_dapm_widget_power: widget=I2S1 Transmit-I2S1 CIF Receive val=1
alsa-sink-ADMAI-20291 [003] … 2756.210510: snd_soc_dapm_path: *I2S1 CIF Receive ← (direct) ← I2S1 Transmit-I2S1 CIF Receive
alsa-sink-ADMAI-20291 [003] … 2756.210511: snd_soc_dapm_widget_power: widget=I2S1 CIF Receive val=1
alsa-sink-ADMAI-20291 [003] … 2756.210513: snd_soc_dapm_path: *I2S1 CIF RX ← (direct) ← I2S1 CIF Receive
alsa-sink-ADMAI-20291 [003] … 2756.210514: snd_soc_dapm_widget_power: widget=I2S1 CIF RX val=1
alsa-sink-ADMAI-20291 [003] … 2756.210515: snd_soc_dapm_path: *I2S1 DAP TX ← (direct) ← I2S1 CIF RX
alsa-sink-ADMAI-20291 [003] … 2756.210516: snd_soc_dapm_widget_power: widget=I2S1 DAP TX val=1
alsa-sink-ADMAI-20291 [003] … 2756.210517: snd_soc_dapm_path: *I2S1 DAP Transmit ← (direct) ← I2S1 DAP TX
alsa-sink-ADMAI-20291 [003] … 2756.210518: snd_soc_dapm_widget_power: widget=I2S1 DAP Transmit val=1
alsa-sink-ADMAI-20291 [003] … 2756.210519: snd_soc_dapm_path: *I2S1 DAP Transmit-x AIF1 Playback ← (direct) ← I2S1 DAP Transmit
alsa-sink-ADMAI-20291 [003] … 2756.210520: snd_soc_dapm_widget_power: widget=I2S1 DAP Transmit-x AIF1 Playback val=1
alsa-sink-ADMAI-20291 [003] … 2756.210521: snd_soc_dapm_path: *x AIF1 Playback ← (direct) ← I2S1 DAP Transmit-x AIF1 Playback
alsa-sink-ADMAI-20291 [003] … 2756.210522: snd_soc_dapm_widget_power: widget=x AIF1 Playback val=1
alsa-sink-ADMAI-20291 [003] … 2756.210524: snd_soc_dapm_path: *x AIF1RX ← (direct) ← x AIF1 Playback
alsa-sink-ADMAI-20291 [003] … 2756.210524: snd_soc_dapm_widget_power: widget=x AIF1RX val=1
alsa-sink-ADMAI-20291 [003] … 2756.210526: snd_soc_dapm_path: x DAI1 RX Mux ← 1:2|2:2 ← x AIF2RX
alsa-sink-ADMAI-20291 [003] … 2756.210528: snd_soc_dapm_path: x DAI1 RX Mux ← 1:2|2:1 ← x AIF2RX
alsa-sink-ADMAI-20291 [003] … 2756.210528: snd_soc_dapm_path: x DAI1 RX Mux ← 1:1|2:1 ← x AIF1RX
alsa-sink-ADMAI-20291 [003] … 2756.210529: snd_soc_dapm_path: *x DAI1 RX Mux ← 1:1|2:2 ← x AIF1RX
alsa-sink-ADMAI-20291 [003] … 2756.210530: snd_soc_dapm_widget_power: widget=x DAI1 RX Mux val=1
alsa-sink-ADMAI-20291 [003] … 2756.210531: snd_soc_dapm_path: *x IF1 DAC ← (direct) ← x DAI1 RX Mux
alsa-sink-ADMAI-20291 [003] … 2756.210532: snd_soc_dapm_widget_power: widget=x IF1 DAC val=1
alsa-sink-ADMAI-20291 [003] … 2756.210534: snd_soc_dapm_widget_power: widget=x I2S1 val=1
alsa-sink-ADMAI-20291 [003] … 2756.210536: snd_soc_dapm_path: *x IF1 DAC R ← (direct) ← x IF1 DAC
alsa-sink-ADMAI-20291 [003] … 2756.210536: snd_soc_dapm_widget_power: widget=x IF1 DAC R val=1
alsa-sink-ADMAI-20291 [003] … 2756.210538: snd_soc_dapm_path: *x IF1 DAC L ← (direct) ← x IF1 DAC
alsa-sink-ADMAI-20291 [003] … 2756.210539: snd_soc_dapm_widget_power: widget=x IF1 DAC L val=1
alsa-sink-ADMAI-20291 [003] … 2756.210540: snd_soc_dapm_path: *x DAC MIXR ← INF1 Switch ← x IF1 DAC R
alsa-sink-ADMAI-20291 [003] … 2756.210542: snd_soc_dapm_path: x DAC MIXR ← Stereo ADC Switch ← x Stereo ADC MIXR
alsa-sink-ADMAI-20291 [003] … 2756.210543: snd_soc_dapm_widget_power: widget=x DAC MIXR val=1
alsa-sink-ADMAI-20291 [003] … 2756.210544: snd_soc_dapm_path: *x DAC MIXL ← INF1 Switch ← x IF1 DAC L
alsa-sink-ADMAI-20291 [003] … 2756.210545: snd_soc_dapm_path: x DAC MIXL ← Stereo ADC Switch ← x Stereo ADC MIXL
alsa-sink-ADMAI-20291 [003] … 2756.210546: snd_soc_dapm_widget_power: widget=x DAC MIXL val=1
alsa-sink-ADMAI-20291 [003] … 2756.210548: snd_soc_dapm_path: *x Stereo DAC MIXR ← DAC R1 Switch ← x DAC MIXR
alsa-sink-ADMAI-20291 [003] … 2756.210549: snd_soc_dapm_path: x Stereo DAC MIXR ← ANC Switch ← x ANC
alsa-sink-ADMAI-20291 [003] … 2756.210550: snd_soc_dapm_path: x Stereo DAC MIXR ← DAC R2 Switch ← x DAC R2 Mux
alsa-sink-ADMAI-20291 [003] … 2756.210551: snd_soc_dapm_widget_power: widget=x Stereo DAC MIXR val=1
alsa-sink-ADMAI-20291 [003] … 2756.210553: snd_soc_dapm_path: *x Audio DSP ← (direct) ← x DAC MIXR
alsa-sink-ADMAI-20291 [003] … 2756.210554: snd_soc_dapm_path: *x Audio DSP ← (direct) ← x DAC MIXL
alsa-sink-ADMAI-20291 [003] … 2756.210555: snd_soc_dapm_path: *x Stereo DAC MIXL ← DAC L1 Switch ← x DAC MIXL
alsa-sink-ADMAI-20291 [003] … 2756.210556: snd_soc_dapm_path: x Stereo DAC MIXL ← ANC Switch ← x ANC
alsa-sink-ADMAI-20291 [003] … 2756.210557: snd_soc_dapm_path: x Stereo DAC MIXL ← DAC L2 Switch ← x DAC L2 Mux
alsa-sink-ADMAI-20291 [003] … 2756.210558: snd_soc_dapm_widget_power: widget=x Stereo DAC MIXL val=1
alsa-sink-ADMAI-20291 [003] … 2756.210561: snd_soc_dapm_path: *x DAC R1 ← (direct) ← x Stereo DAC MIXR
alsa-sink-ADMAI-20291 [003] … 2756.210562: snd_soc_dapm_widget_power: widget=x DAC R1 val=1
alsa-sink-ADMAI-20291 [003] … 2756.210565: snd_soc_dapm_path: *x DAC L1 ← (direct) ← x Stereo DAC MIXL
alsa-sink-ADMAI-20291 [003] … 2756.210565: snd_soc_dapm_widget_power: widget=x DAC L1 val=1
alsa-sink-ADMAI-20291 [003] … 2756.210573: snd_soc_dapm_path: x LOUT MIX ← OUTVOL R Switch ← x OUTVOL R
alsa-sink-ADMAI-20291 [003] … 2756.210575: snd_soc_dapm_path: x LOUT MIX ← OUTVOL L Switch ← x OUTVOL L
alsa-sink-ADMAI-20291 [003] … 2756.210576: snd_soc_dapm_path: *x LOUT MIX ← DAC R1 Switch ← x DAC R1
alsa-sink-ADMAI-20291 [003] … 2756.210576: snd_soc_dapm_path: *x LOUT MIX ← DAC L1 Switch ← x DAC L1
alsa-sink-ADMAI-20291 [003] … 2756.210577: snd_soc_dapm_widget_power: widget=x LOUT MIX val=1
alsa-sink-ADMAI-20291 [003] … 2756.210579: snd_soc_dapm_path: *x LOUT amp ← (direct) ← x LOUT MIX
alsa-sink-ADMAI-20291 [003] … 2756.210580: snd_soc_dapm_widget_power: widget=x LOUT amp val=1
alsa-sink-ADMAI-20291 [003] … 2756.210581: snd_soc_dapm_path: *x LOUTR ← (direct) ← x LOUT amp
alsa-sink-ADMAI-20291 [003] … 2756.210582: snd_soc_dapm_widget_power: widget=x LOUTR val=1
alsa-sink-ADMAI-20291 [003] … 2756.210583: snd_soc_dapm_path: *x LOUTL ← (direct) ← x LOUT amp
alsa-sink-ADMAI-20291 [003] … 2756.210584: snd_soc_dapm_widget_power: widget=x LOUTL val=1
alsa-sink-ADMAI-20291 [003] … 2756.210585: snd_soc_dapm_path: *x LineOut ← (direct) ← x LOUTR
alsa-sink-ADMAI-20291 [003] … 2756.210586: snd_soc_dapm_path: *x LineOut ← (direct) ← x LOUTL
alsa-sink-ADMAI-20291 [003] … 2756.210587: snd_soc_dapm_widget_power: widget=x LineOut val=1
alsa-sink-ADMAI-20291 [003] … 2756.210640: snd_soc_dapm_walk_done: tegra-snd-t210ref-mobile-rt5640: checks 33 power, 30 path, 104 neighbour
alsa-sink-ADMAI-20291 [003] … 2756.210643: snd_soc_bias_level_start: card=tegra-snd-t210ref-mobile-rt5640 val=1
alsa-sink-ADMAI-20291 [003] … 2756.210643: snd_soc_bias_level_done: card=tegra-snd-t210ref-mobile-rt5640 val=1
alsa-sink-ADMAI-20291 [003] … 2756.210644: snd_soc_bias_level_start: card=tegra-snd-t210ref-mobile-rt5640 val=2
alsa-sink-ADMAI-20291 [003] … 2756.210645: snd_soc_bias_level_done: card=tegra-snd-t210ref-mobile-rt5640 val=2
kworker/u8:1-25820 [003] … 2756.210667: snd_soc_bias_level_start: card=tegra-snd-t210ref-mobile-rt5640 val=1
kworker/u8:0-6 [002] … 2756.210942: snd_soc_bias_level_start: card=tegra-snd-t210ref-mobile-rt5640 val=1
kworker/u8:0-6 [002] … 2756.210945: snd_soc_bias_level_done: card=tegra-snd-t210ref-mobile-rt5640 val=1
kworker/u8:0-6 [002] … 2756.210945: snd_soc_bias_level_start: card=tegra-snd-t210ref-mobile-rt5640 val=2
kworker/u8:0-6 [002] … 2756.210946: snd_soc_bias_level_done: card=tegra-snd-t210ref-mobile-rt5640 val=2
kworker/u8:4-16154 [003] … 2756.211499: snd_soc_bias_level_start: card=tegra-snd-t210ref-mobile-rt5640 val=1
kworker/u8:4-16154 [003] … 2756.211502: snd_soc_bias_level_done: card=tegra-snd-t210ref-mobile-rt5640 val=1
kworker/u8:4-16154 [003] … 2756.211503: snd_soc_bias_level_start: card=tegra-snd-t210ref-mobile-rt5640 val=2
kworker/u8:4-16154 [003] … 2756.211504: snd_soc_bias_level_done: card=tegra-snd-t210ref-mobile-rt5640 val=2
kworker/u8:4-16154 [003] … 2756.211520: snd_soc_bias_level_start: card=tegra-snd-t210ref-mobile-rt5640 val=1
kworker/u8:4-16154 [003] … 2756.211520: snd_soc_bias_level_done: card=tegra-snd-t210ref-mobile-rt5640 val=1
kworker/u8:4-16154 [003] … 2756.211521: snd_soc_bias_level_start: card=tegra-snd-t210ref-mobile-rt5640 val=2
kworker/u8:4-16154 [003] … 2756.211522: snd_soc_bias_level_done: card=tegra-snd-t210ref-mobile-rt5640 val=2
kworker/u8:1-25820 [001] … 2756.228529: snd_soc_bias_level_done: card=tegra-snd-t210ref-mobile-rt5640 val=1
kworker/u8:1-25820 [001] … 2756.228541: snd_soc_bias_level_start: card=tegra-snd-t210ref-mobile-rt5640 val=2
kworker/u8:1-25820 [001] … 2756.228551: snd_soc_bias_level_done: card=tegra-snd-t210ref-mobile-rt5640 val=2
alsa-sink-ADMAI-20291 [001] … 2756.228606: snd_soc_dapm_widget_event_start: widget=I2S1 DAP Transmit-x AIF1 Playback val=1
alsa-sink-ADMAI-20291 [001] … 2756.228666: snd_soc_dapm_widget_event_done: widget=I2S1 DAP Transmit-x AIF1 Playback val=1
alsa-sink-ADMAI-20291 [001] … 2756.228667: snd_soc_dapm_widget_event_start: widget=I2S1 Transmit-I2S1 CIF Receive val=1
alsa-sink-ADMAI-20291 [001] … 2756.228670: snd_soc_dapm_widget_event_done: widget=I2S1 Transmit-I2S1 CIF Receive val=1
alsa-sink-ADMAI-20291 [001] … 2756.228671: snd_soc_dapm_widget_event_start: widget=I2S1 DAP Transmit-x AIF1 Playback val=2
alsa-sink-ADMAI-20291 [001] … 2756.228673: snd_soc_dapm_widget_event_done: widget=I2S1 DAP Transmit-x AIF1 Playback val=2
alsa-sink-ADMAI-20291 [001] … 2756.228674: snd_soc_dapm_widget_event_start: widget=I2S1 Transmit-I2S1 CIF Receive val=2
alsa-sink-ADMAI-20291 [001] … 2756.228675: snd_soc_dapm_widget_event_done: widget=I2S1 Transmit-I2S1 CIF Receive val=2
alsa-sink-ADMAI-20291 [001] … 2756.230608: snd_soc_dapm_widget_event_start: widget=I2S1 DAP TX val=1
alsa-sink-ADMAI-20291 [001] … 2756.232492: snd_soc_dapm_widget_event_done: widget=I2S1 DAP TX val=1
alsa-sink-ADMAI-20291 [001] … 2756.233738: snd_soc_dapm_widget_event_start: widget=x LOUT amp val=2
alsa-sink-ADMAI-20291 [001] … 2756.267324: snd_soc_dapm_widget_event_done: widget=x LOUT amp val=2
kworker/u8:1-25820 [001] … 2756.267379: snd_soc_bias_level_start: card=tegra-snd-t210ref-mobile-rt5640 val=3
kworker/u8:1-25820 [001] … 2756.267391: snd_soc_bias_level_done: card=tegra-snd-t210ref-mobile-rt5640 val=3
kworker/u8:1-25820 [001] … 2756.267419: snd_soc_bias_level_start: card=tegra-snd-t210ref-mobile-rt5640 val=3
kworker/u8:1-25820 [001] … 2756.267420: snd_soc_bias_level_done: card=tegra-snd-t210ref-mobile-rt5640 val=3
kworker/u8:1-25820 [001] … 2756.267430: snd_soc_bias_level_start: card=tegra-snd-t210ref-mobile-rt5640 val=3
kworker/u8:1-25820 [001] … 2756.267431: snd_soc_bias_level_done: card=tegra-snd-t210ref-mobile-rt5640 val=3
kworker/u8:1-25820 [001] … 2756.267458: snd_soc_bias_level_start: card=tegra-snd-t210ref-mobile-rt5640 val=3
kworker/u8:1-25820 [001] … 2756.267484: snd_soc_bias_level_done: card=tegra-snd-t210ref-mobile-rt5640 val=3
alsa-sink-ADMAI-20291 [001] … 2756.267573: snd_soc_dapm_done: card=tegra-snd-t210ref-mobile-rt5640

Please using jetson-io to configure the pinmux first.

https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/hw_setup_jetson_io.html#

Hi Shane,

Creating custom device tree overlay has helped.
sudo /opt/nvidia/jetson-io/config-by-function.py -o dtbo i2s1

I2S1 is alive again and I can hear the sound.
There is new issue I’m have right now. Seems like playback speed is like 0.5x of what it supposed to be and sound is distorted.

Please let me know if you have any ideas for troubleshooting.
Thank you.

@dima_t
Could you dump the clocks by below command to review.

sudo cat /sys/kernel/debug/clk/clk_summary

@ShaneCCC

Please find the 2 clk_summary logs attached.
v28 is where sound quality doesn’t have any issues.
v32 is the one with issues.

I’ve already noticed that on ver. 28 i2s1_sync = 24000000 and on ver. 32 i2s1_sync = 24576000.

What are these units, is 24000000 = 24 MHz?
Please let me know where it should be configured if it is a culprit.

clock_summary_v28.txt (63.3 KB)
clock_summary_v32.txt (56.5 KB)

Thank you.

Hi dima_t,

i2s0 is the relevant clock and it seems to be same in both the r28 and r32 dumps. Sync clks are not used in default DT configuration and assuming that you did not modify them either.

Answer below questions to help check this further and attach DT, machine driver patches made and the noisy recording

Which format are you trying to play? Is it 44.1K, 16 bit Stereo data?
Is the codec configured to operate in master or slave mode? What is the source of codec SYSCLK? Ensure that its same on both r32 and r28.
Is LRCK and BCLK reading same on both r28 and r32?

Thanks

Hi @atalambedu,

Please find answers to questions below

Sync clks are not used in default DT configuration and assuming that you did not modify them either. - No.

Which format are you trying to play? Is it 44.1K, 16 bit Stereo data? - Multiple files including 44.1K 16 bit stereo, (other rates have this issue as well) here is the sample file.

Is the codec configured to operate in master or slave mode? - Slave
What is the source of codec SYSCLK? - MCLK, source is the same for both but actual probed frequencies using scope don’t match.
Is LRCK and BCLK reading same on both r28 and r32? - LRCK is 44.1 kHz on both, BCLK is 1.41120 MHz on both.
MCLK is 11.2897 MHz probed on r28 as it supposed to be and it matches clock summary.
MCLK is 2.82241 MHz probed on r32 looks quite low, even though clock summary shows 11289600 Hz for extern1 (please correct me if extern1 != MCLK)

Here is DT and machine driver for r32.
tegra210-jetson-cv-base-p2597-2180-a00.dts (30.2 KB)
tegra_t210ref_rt5640.c (24.4 KB)

Hi dima_t,

MCLK should be 256*fs i.e 11.2897 MHz in case of 44100 playback and this could be causing the issues with sound on R32

Also, note that tegra_machine_driver_mobile.c is the relevant machine driver used on R32. So, if you had made any changes specific to the codec, please port them to this driver.

Refer codec porting guide and troubleshooting guide for help while porting

Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.