i.MX8QM audio mclk not enabled

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX8QM audio mclk not enabled

Jump to solution
3,831 Views
jsmith8831
Contributor III

Hello,

I have a custom board with i.MX8QM and I'm noticing that the mclk0 output is not enabled.  This worked fine on Linux 5.15, but now that I've upgraded to Linux 6.1 the mclk0 is no longer working.  Please see clock summary below... the frequency of the clock is correct, but it is not enabled.  How do I get the mclk to be enabled?

 

 

cat /sys/kernel/debug/clk/clk_summary   
                                 enable  prepare  protect                                duty  hardware
   clock                          count    count    count        rate   accuracy phase  cycle    enable
-------------------------------------------------------------------------------------------------------
 audio_rec_clk0_clk                   0        0        0    24576000          0     0  50000         Y
    aud_rec_clk0_lpcg_clk             0        0        0    24576000          0     0  50000         ?
       acm_aud_clk0_sel               0        0        0    24576000          0     0  50000         Y
       acm_aud_clk1_sel               0        0        0    24576000          0     0  50000         Y
       acm_mclkout0_sel               0        0        0    24576000          0     0  50000         Y
          mclkout0_lpcg_clk           0        0        0    24576000          0     0  50000         ?
       acm_mclkout1_sel               0        0        0    24576000          0     0  50000         Y
          mclkout1_lpcg_clk           0        0        0    24576000          0     0  50000         ?

 

 

 

Device tree:

 

 

sound_card: sound-card {
	compatible = "simple-audio-card";
	simple-audio-card,name = "PCM3168A";
	simple-audio-card,aux-devs = <&amp>;
	simple-audio-card,widgets =
			"Speaker", "Channel1out",
			"Speaker", "Channel2out",
			"Speaker", "Channel3out",
			"Speaker", "Channel4out",
			"Speaker", "Channel5out",
			"Speaker", "Channel6out",
			"Speaker", "Channel7out",
			"Speaker", "Channel8out",
			"Microphone", "Channel1in",
			"Microphone", "Channel2in",
			"Line", "Channel3in",
			"Line", "Channel4in",
			"Microphone", "Channel5in",
			"Microphone", "Channel6in";
	simple-audio-card,routing =
			"Channel1out", "AOUT1L",
			"Channel2out", "AOUT1R",
			"Channel3out", "AOUT2L",
			"Channel4out", "AOUT2R",
			"Channel5out", "AOUT3L",
			"Channel6out", "AOUT3R",
			"Channel7out", "AOUT4L",
			"Channel8out", "AOUT4R",
			"Channel1in", "AIN1L",
			"Channel2in", "AIN1R",
			"Channel3in", "AIN2L",
			"Channel4in", "AIN2R",
			"Channel5in", "AIN3L",
			"Channel6in", "AIN3R";

	simple-audio-card,dai-link@0 {
			format = "left_j";
			bitclock-master = <&snd_cpu>;
			frame-master = <&snd_cpu>;
			mclk-fs = <512>;

			snd_cpu: cpu {
					sound-dai = <&sai0>;
					clocks = <&mclkout0_lpcg 0>;
					dai-tdm-slot-num = <8>;
					dai-tdm-slot-width = <32>;
			};

			pcm3168_dac: codec {
					sound-dai = <&pcm3168a 0>;
					dai-tdm-slot-num = <8>;
					dai-tdm-slot-width = <32>;
			};
	};

	simple-audio-card,dai-link@2 {
			format = "left_j";
			bitclock-master = <&mic_cpu>;
			frame-master = <&mic_cpu>;
			mclk-fs = <512>;

			mic_cpu: cpu {
					sound-dai = <&sai0>;
					clocks = <&mclkout0_lpcg 0>;
					dai-tdm-slot-num = <8>;
					dai-tdm-slot-width = <32>;
			};

			pcm3168_adc: codec {
					sound-dai = <&pcm3168a 1>;
					dai-tdm-slot-num = <8>;
					dai-tdm-slot-width = <32>;
			};
	};
};

&sai0 {
	#sound-dai-cells = <0>;
	assigned-clocks = <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_PLL>,
			<&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_SLV_BUS>,
			<&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_MST_BUS>,
			<&sai0_lpcg 0>;
	assigned-clock-rates = <786432000>, <49152000>, <12288000>, <49152000>;
	clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_sai0>;
	status = "okay";
};

&i2c0 {
	#address-cells = <1>;
	#size-cells = <0>;
	clock-frequency = <100000>;
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_i2c0>;
	status = "okay";

	// Audio Codec (8-channel output, 6-channel input)
	pcm3168a: audio-codec@44 {
		compatible = "ti,pcm3168a";
		reg = <0x44>;
		reset-gpios = <&lsio_gpio4 24 GPIO_ACTIVE_LOW>;
		clocks = <&mclkout0_lpcg 0>;
		clock-names = "scki";
		clock-frequency = <24576000>;
		assigned-clocks = <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_PLL>,
			<&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_SLV_BUS>,
			<&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_MST_BUS>,
			<&mclkout0_lpcg 0>;
		assigned-clock-rates = <786432000>, <49152000>, <24576000>, <49152000>;
		#sound-dai-cells = <1>;
		VDD1-supply = <&reg_3v3>;
		VDD2-supply = <&reg_3v3>;
		VCCAD1-supply = <&reg_5v0>;
		VCCAD2-supply = <&reg_5v0>;
		VCCDA1-supply = <&reg_5v0>;
		VCCDA2-supply = <&reg_5v0>;
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_codec_clk &pinctrl_audio_reset>;
	};
};

pinctrl_codec_clk: codec_clk {
	fsl,pins = <
		IMX8QM_MCLK_OUT0_AUD_ACM_MCLK_OUT0		0xc0000020
	>;
};

 

 

 

 

 

Tags (3)
0 Kudos
Reply
1 Solution
3,767 Views
jsmith8831
Contributor III

I figured out the problem.  In the audio amplifier node I had an incorrect setting in the 6.1 kernel which caused this to not work.  Strange that there wasn't an error in the dmesg, but after fixing this incorrect configuration the mclk started working.  Thank you for your help!

View solution in original post

0 Kudos
Reply
5 Replies
3,808 Views
joanxie
NXP TechSupport
NXP TechSupport

the same device tree works on 5.15, but failed on 6.1? do you mind sharing your logfile? 

0 Kudos
Reply
3,798 Views
jsmith8831
Contributor III

Hi @joanxie,

That's correct.  The same device tree that works on 5.15 does not work on 6.1.  There are minor changes in the 6.1 device tree due to compatibility (mainly the pcie), but otherwise largely the same device tree.  I've attached the output from dmesg.

 

 

0 Kudos
Reply
3,776 Views
joanxie
NXP TechSupport
NXP TechSupport

thanks for your information, do you mind sharing the dump clock and logfile for 5.15 bsp? let me double check it?

0 Kudos
Reply
3,767 Views
jsmith8831
Contributor III

Hi @joanxie,

Here is the output of the clock and dmesg from 5.15:

 

root@neuralplex:~# cat /sys/kernel/debug/clk/clk_summary 
                                 enable  prepare  protect                                duty  hardware
   clock                          count    count    count        rate   accuracy phase  cycle    enable
-------------------------------------------------------------------------------------------------------
 audio_rec_clk0_clk                   1        1        0    24576000          0     0  50000         Y
    aud_rec_clk0_lpcg_clk             1        1        0    24576000          0     0  50000         ?
       acm_aud_clk0_sel               0        0        0    24576000          0     0  50000         Y
       acm_aud_clk1_sel               0        0        0    24576000          0     0  50000         Y
       acm_mclkout0_sel               1        1        0    24576000          0     0  50000         Y
          mclkout0_lpcg_clk           1        1        0    24576000          0     0  50000         ?
       acm_mclkout1_sel               0        0        0    24576000          0     0  50000         Y
          mclkout1_lpcg_clk           0        0        0    24576000          0     0  50000         ?

 

 

0 Kudos
Reply
3,768 Views
jsmith8831
Contributor III

I figured out the problem.  In the audio amplifier node I had an incorrect setting in the 6.1 kernel which caused this to not work.  Strange that there wasn't an error in the dmesg, but after fixing this incorrect configuration the mclk started working.  Thank you for your help!

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2030921%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Ei.MX8QM%20audio%20mclk%20not%20enabled%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2030921%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20have%20a%20custom%20board%20with%20i.MX8QM%20and%20I'm%20noticing%20that%20the%20mclk0%20output%20is%20not%20enabled.%26nbsp%3B%20This%20worked%20fine%20on%20Linux%205.15%2C%20but%20now%20that%20I've%20upgraded%20to%20Linux%206.1%20the%20mclk0%20is%20no%20longer%20working.%26nbsp%3B%20Please%20see%20clock%20summary%20below...%20the%20frequency%20of%20the%20clock%20is%20correct%2C%20but%20it%20is%20not%20enabled.%26nbsp%3B%20How%20do%20I%20get%20the%20mclk%20to%20be%20enabled%3F%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3Ecat%20%2Fsys%2Fkernel%2Fdebug%2Fclk%2Fclk_summary%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20enable%20%20prepare%20%20protect%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20duty%20%20hardware%0A%20%20%20clock%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20count%20%20%20%20count%20%20%20%20count%20%20%20%20%20%20%20%20rate%20%20%20accuracy%20phase%20%20cycle%20%20%20%20enable%0A-------------------------------------------------------------------------------------------------------%0A%20audio_rec_clk0_clk%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%200%20%20%20%2024576000%20%20%20%20%20%20%20%20%20%200%20%20%20%20%200%20%2050000%20%20%20%20%20%20%20%20%20Y%0A%20%20%20%20aud_rec_clk0_lpcg_clk%20%20%20%20%20%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%200%20%20%20%2024576000%20%20%20%20%20%20%20%20%20%200%20%20%20%20%200%20%2050000%20%20%20%20%20%20%20%20%20%3F%0A%20%20%20%20%20%20%20acm_aud_clk0_sel%20%20%20%20%20%20%20%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%200%20%20%20%2024576000%20%20%20%20%20%20%20%20%20%200%20%20%20%20%200%20%2050000%20%20%20%20%20%20%20%20%20Y%0A%20%20%20%20%20%20%20acm_aud_clk1_sel%20%20%20%20%20%20%20%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%200%20%20%20%2024576000%20%20%20%20%20%20%20%20%20%200%20%20%20%20%200%20%2050000%20%20%20%20%20%20%20%20%20Y%0A%20%20%20%20%20%20%20acm_mclkout0_sel%20%20%20%20%20%20%20%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%200%20%20%20%2024576000%20%20%20%20%20%20%20%20%20%200%20%20%20%20%200%20%2050000%20%20%20%20%20%20%20%20%20Y%0A%20%20%20%20%20%20%20%20%20%20mclkout0_lpcg_clk%20%20%20%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%200%20%20%20%2024576000%20%20%20%20%20%20%20%20%20%200%20%20%20%20%200%20%2050000%20%20%20%20%20%20%20%20%20%3F%0A%20%20%20%20%20%20%20acm_mclkout1_sel%20%20%20%20%20%20%20%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%200%20%20%20%2024576000%20%20%20%20%20%20%20%20%20%200%20%20%20%20%200%20%2050000%20%20%20%20%20%20%20%20%20Y%0A%20%20%20%20%20%20%20%20%20%20mclkout1_lpcg_clk%20%20%20%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%200%20%20%20%2024576000%20%20%20%20%20%20%20%20%20%200%20%20%20%20%200%20%2050000%20%20%20%20%20%20%20%20%20%3F%3C%2FCODE%3E%3C%2FPRE%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CP%3EDevice%20tree%3A%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3Esound_card%3A%20sound-card%20%7B%0A%09compatible%20%3D%20%22simple-audio-card%22%3B%0A%09simple-audio-card%2Cname%20%3D%20%22PCM3168A%22%3B%0A%09simple-audio-card%2Caux-devs%20%3D%20%26lt%3B%26amp%3B%26gt%3B%3B%0A%09simple-audio-card%2Cwidgets%20%3D%0A%09%09%09%22Speaker%22%2C%20%22Channel1out%22%2C%0A%09%09%09%22Speaker%22%2C%20%22Channel2out%22%2C%0A%09%09%09%22Speaker%22%2C%20%22Channel3out%22%2C%0A%09%09%09%22Speaker%22%2C%20%22Channel4out%22%2C%0A%09%09%09%22Speaker%22%2C%20%22Channel5out%22%2C%0A%09%09%09%22Speaker%22%2C%20%22Channel6out%22%2C%0A%09%09%09%22Speaker%22%2C%20%22Channel7out%22%2C%0A%09%09%09%22Speaker%22%2C%20%22Channel8out%22%2C%0A%09%09%09%22Microphone%22%2C%20%22Channel1in%22%2C%0A%09%09%09%22Microphone%22%2C%20%22Channel2in%22%2C%0A%09%09%09%22Line%22%2C%20%22Channel3in%22%2C%0A%09%09%09%22Line%22%2C%20%22Channel4in%22%2C%0A%09%09%09%22Microphone%22%2C%20%22Channel5in%22%2C%0A%09%09%09%22Microphone%22%2C%20%22Channel6in%22%3B%0A%09simple-audio-card%2Crouting%20%3D%0A%09%09%09%22Channel1out%22%2C%20%22AOUT1L%22%2C%0A%09%09%09%22Channel2out%22%2C%20%22AOUT1R%22%2C%0A%09%09%09%22Channel3out%22%2C%20%22AOUT2L%22%2C%0A%09%09%09%22Channel4out%22%2C%20%22AOUT2R%22%2C%0A%09%09%09%22Channel5out%22%2C%20%22AOUT3L%22%2C%0A%09%09%09%22Channel6out%22%2C%20%22AOUT3R%22%2C%0A%09%09%09%22Channel7out%22%2C%20%22AOUT4L%22%2C%0A%09%09%09%22Channel8out%22%2C%20%22AOUT4R%22%2C%0A%09%09%09%22Channel1in%22%2C%20%22AIN1L%22%2C%0A%09%09%09%22Channel2in%22%2C%20%22AIN1R%22%2C%0A%09%09%09%22Channel3in%22%2C%20%22AIN2L%22%2C%0A%09%09%09%22Channel4in%22%2C%20%22AIN2R%22%2C%0A%09%09%09%22Channel5in%22%2C%20%22AIN3L%22%2C%0A%09%09%09%22Channel6in%22%2C%20%22AIN3R%22%3B%0A%0A%09simple-audio-card%2Cdai-link%400%20%7B%0A%09%09%09format%20%3D%20%22left_j%22%3B%0A%09%09%09bitclock-master%20%3D%20%26lt%3B%26amp%3Bsnd_cpu%26gt%3B%3B%0A%09%09%09frame-master%20%3D%20%26lt%3B%26amp%3Bsnd_cpu%26gt%3B%3B%0A%09%09%09mclk-fs%20%3D%20%26lt%3B512%26gt%3B%3B%0A%0A%09%09%09snd_cpu%3A%20cpu%20%7B%0A%09%09%09%09%09sound-dai%20%3D%20%26lt%3B%26amp%3Bsai0%26gt%3B%3B%0A%09%09%09%09%09clocks%20%3D%20%26lt%3B%26amp%3Bmclkout0_lpcg%200%26gt%3B%3B%0A%09%09%09%09%09dai-tdm-slot-num%20%3D%20%26lt%3B8%26gt%3B%3B%0A%09%09%09%09%09dai-tdm-slot-width%20%3D%20%26lt%3B32%26gt%3B%3B%0A%09%09%09%7D%3B%0A%0A%09%09%09pcm3168_dac%3A%20codec%20%7B%0A%09%09%09%09%09sound-dai%20%3D%20%26lt%3B%26amp%3Bpcm3168a%200%26gt%3B%3B%0A%09%09%09%09%09dai-tdm-slot-num%20%3D%20%26lt%3B8%26gt%3B%3B%0A%09%09%09%09%09dai-tdm-slot-width%20%3D%20%26lt%3B32%26gt%3B%3B%0A%09%09%09%7D%3B%0A%09%7D%3B%0A%0A%09simple-audio-card%2Cdai-link%402%20%7B%0A%09%09%09format%20%3D%20%22left_j%22%3B%0A%09%09%09bitclock-master%20%3D%20%26lt%3B%26amp%3Bmic_cpu%26gt%3B%3B%0A%09%09%09frame-master%20%3D%20%26lt%3B%26amp%3Bmic_cpu%26gt%3B%3B%0A%09%09%09mclk-fs%20%3D%20%26lt%3B512%26gt%3B%3B%0A%0A%09%09%09mic_cpu%3A%20cpu%20%7B%0A%09%09%09%09%09sound-dai%20%3D%20%26lt%3B%26amp%3Bsai0%26gt%3B%3B%0A%09%09%09%09%09clocks%20%3D%20%26lt%3B%26amp%3Bmclkout0_lpcg%200%26gt%3B%3B%0A%09%09%09%09%09dai-tdm-slot-num%20%3D%20%26lt%3B8%26gt%3B%3B%0A%09%09%09%09%09dai-tdm-slot-width%20%3D%20%26lt%3B32%26gt%3B%3B%0A%09%09%09%7D%3B%0A%0A%09%09%09pcm3168_adc%3A%20codec%20%7B%0A%09%09%09%09%09sound-dai%20%3D%20%26lt%3B%26amp%3Bpcm3168a%201%26gt%3B%3B%0A%09%09%09%09%09dai-tdm-slot-num%20%3D%20%26lt%3B8%26gt%3B%3B%0A%09%09%09%09%09dai-tdm-slot-width%20%3D%20%26lt%3B32%26gt%3B%3B%0A%09%09%09%7D%3B%0A%09%7D%3B%0A%7D%3B%0A%0A%26amp%3Bsai0%20%7B%0A%09%23sound-dai-cells%20%3D%20%26lt%3B0%26gt%3B%3B%0A%09assigned-clocks%20%3D%20%26lt%3B%26amp%3Bclk%20IMX_SC_R_AUDIO_PLL_0%20IMX_SC_PM_CLK_PLL%26gt%3B%2C%0A%09%09%09%26lt%3B%26amp%3Bclk%20IMX_SC_R_AUDIO_PLL_0%20IMX_SC_PM_CLK_SLV_BUS%26gt%3B%2C%0A%09%09%09%26lt%3B%26amp%3Bclk%20IMX_SC_R_AUDIO_PLL_0%20IMX_SC_PM_CLK_MST_BUS%26gt%3B%2C%0A%09%09%09%26lt%3B%26amp%3Bsai0_lpcg%200%26gt%3B%3B%0A%09assigned-clock-rates%20%3D%20%26lt%3B786432000%26gt%3B%2C%20%26lt%3B49152000%26gt%3B%2C%20%26lt%3B12288000%26gt%3B%2C%20%26lt%3B49152000%26gt%3B%3B%0A%09clock-names%20%3D%20%22bus%22%2C%20%22mclk0%22%2C%20%22mclk1%22%2C%20%22mclk2%22%2C%20%22mclk3%22%3B%0A%09pinctrl-names%20%3D%20%22default%22%3B%0A%09pinctrl-0%20%3D%20%26lt%3B%26amp%3Bpinctrl_sai0%26gt%3B%3B%0A%09status%20%3D%20%22okay%22%3B%0A%7D%3B%0A%0A%26amp%3Bi2c0%20%7B%0A%09%23address-cells%20%3D%20%26lt%3B1%26gt%3B%3B%0A%09%23size-cells%20%3D%20%26lt%3B0%26gt%3B%3B%0A%09clock-frequency%20%3D%20%26lt%3B100000%26gt%3B%3B%0A%09pinctrl-names%20%3D%20%22default%22%3B%0A%09pinctrl-0%20%3D%20%26lt%3B%26amp%3Bpinctrl_i2c0%26gt%3B%3B%0A%09status%20%3D%20%22okay%22%3B%0A%0A%09%2F%2F%20Audio%20Codec%20(8-channel%20output%2C%206-channel%20input)%0A%09pcm3168a%3A%20audio-codec%4044%20%7B%0A%09%09compatible%20%3D%20%22ti%2Cpcm3168a%22%3B%0A%09%09reg%20%3D%20%26lt%3B0x44%26gt%3B%3B%0A%09%09reset-gpios%20%3D%20%26lt%3B%26amp%3Blsio_gpio4%2024%20GPIO_ACTIVE_LOW%26gt%3B%3B%0A%09%09clocks%20%3D%20%26lt%3B%26amp%3Bmclkout0_lpcg%200%26gt%3B%3B%0A%09%09clock-names%20%3D%20%22scki%22%3B%0A%09%09clock-frequency%20%3D%20%26lt%3B24576000%26gt%3B%3B%0A%09%09assigned-clocks%20%3D%20%26lt%3B%26amp%3Bclk%20IMX_SC_R_AUDIO_PLL_0%20IMX_SC_PM_CLK_PLL%26gt%3B%2C%0A%09%09%09%26lt%3B%26amp%3Bclk%20IMX_SC_R_AUDIO_PLL_0%20IMX_SC_PM_CLK_SLV_BUS%26gt%3B%2C%0A%09%09%09%26lt%3B%26amp%3Bclk%20IMX_SC_R_AUDIO_PLL_0%20IMX_SC_PM_CLK_MST_BUS%26gt%3B%2C%0A%09%09%09%26lt%3B%26amp%3Bmclkout0_lpcg%200%26gt%3B%3B%0A%09%09assigned-clock-rates%20%3D%20%26lt%3B786432000%26gt%3B%2C%20%26lt%3B49152000%26gt%3B%2C%20%26lt%3B24576000%26gt%3B%2C%20%26lt%3B49152000%26gt%3B%3B%0A%09%09%23sound-dai-cells%20%3D%20%26lt%3B1%26gt%3B%3B%0A%09%09VDD1-supply%20%3D%20%26lt%3B%26amp%3Breg_3v3%26gt%3B%3B%0A%09%09VDD2-supply%20%3D%20%26lt%3B%26amp%3Breg_3v3%26gt%3B%3B%0A%09%09VCCAD1-supply%20%3D%20%26lt%3B%26amp%3Breg_5v0%26gt%3B%3B%0A%09%09VCCAD2-supply%20%3D%20%26lt%3B%26amp%3Breg_5v0%26gt%3B%3B%0A%09%09VCCDA1-supply%20%3D%20%26lt%3B%26amp%3Breg_5v0%26gt%3B%3B%0A%09%09VCCDA2-supply%20%3D%20%26lt%3B%26amp%3Breg_5v0%26gt%3B%3B%0A%09%09pinctrl-names%20%3D%20%22default%22%3B%0A%09%09pinctrl-0%20%3D%20%26lt%3B%26amp%3Bpinctrl_codec_clk%20%26amp%3Bpinctrl_audio_reset%26gt%3B%3B%0A%09%7D%3B%0A%7D%3B%0A%0Apinctrl_codec_clk%3A%20codec_clk%20%7B%0A%09fsl%2Cpins%20%3D%20%26lt%3B%0A%09%09IMX8QM_MCLK_OUT0_AUD_ACM_MCLK_OUT0%09%090xc0000020%0A%09%26gt%3B%3B%0A%7D%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2033449%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20i.MX8QM%20audio%20mclk%20not%20enabled%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2033449%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20figured%20out%20the%20problem.%26nbsp%3B%20In%20the%20audio%20amplifier%20node%20I%20had%20an%20incorrect%20setting%20in%20the%206.1%20kernel%20which%20caused%20this%20to%20not%20work.%26nbsp%3B%20Strange%20that%20there%20wasn't%20an%20error%20in%20the%20dmesg%2C%20but%20after%20fixing%20this%20incorrect%20configuration%20the%20mclk%20started%20working.%26nbsp%3B%20Thank%20you%20for%20your%20help!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2033251%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20i.MX8QM%20audio%20mclk%20not%20enabled%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2033251%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F39586%22%20target%3D%22_blank%22%3E%40joanxie%3C%2FA%3E%2C%3C%2FP%3E%3CP%3EHere%20is%20the%20output%20of%20the%20clock%20and%20dmesg%20from%205.15%3A%3C%2FP%3E%3CBR%20%2F%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3Eroot%40neuralplex%3A~%23%20cat%20%2Fsys%2Fkernel%2Fdebug%2Fclk%2Fclk_summary%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20enable%20%20prepare%20%20protect%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20duty%20%20hardware%0A%20%20%20clock%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20count%20%20%20%20count%20%20%20%20count%20%20%20%20%20%20%20%20rate%20%20%20accuracy%20phase%20%20cycle%20%20%20%20enable%0A-------------------------------------------------------------------------------------------------------%0A%20audio_rec_clk0_clk%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%201%20%20%20%20%20%20%20%201%20%20%20%20%20%20%20%200%20%20%20%2024576000%20%20%20%20%20%20%20%20%20%200%20%20%20%20%200%20%2050000%20%20%20%20%20%20%20%20%20Y%0A%20%20%20%20aud_rec_clk0_lpcg_clk%20%20%20%20%20%20%20%20%20%20%20%20%201%20%20%20%20%20%20%20%201%20%20%20%20%20%20%20%200%20%20%20%2024576000%20%20%20%20%20%20%20%20%20%200%20%20%20%20%200%20%2050000%20%20%20%20%20%20%20%20%20%3F%0A%20%20%20%20%20%20%20acm_aud_clk0_sel%20%20%20%20%20%20%20%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%200%20%20%20%2024576000%20%20%20%20%20%20%20%20%20%200%20%20%20%20%200%20%2050000%20%20%20%20%20%20%20%20%20Y%0A%20%20%20%20%20%20%20acm_aud_clk1_sel%20%20%20%20%20%20%20%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%200%20%20%20%2024576000%20%20%20%20%20%20%20%20%20%200%20%20%20%20%200%20%2050000%20%20%20%20%20%20%20%20%20Y%0A%20%20%20%20%20%20%20acm_mclkout0_sel%20%20%20%20%20%20%20%20%20%20%20%20%20%20%201%20%20%20%20%20%20%20%201%20%20%20%20%20%20%20%200%20%20%20%2024576000%20%20%20%20%20%20%20%20%20%200%20%20%20%20%200%20%2050000%20%20%20%20%20%20%20%20%20Y%0A%20%20%20%20%20%20%20%20%20%20mclkout0_lpcg_clk%20%20%20%20%20%20%20%20%20%20%201%20%20%20%20%20%20%20%201%20%20%20%20%20%20%20%200%20%20%20%2024576000%20%20%20%20%20%20%20%20%20%200%20%20%20%20%200%20%2050000%20%20%20%20%20%20%20%20%20%3F%0A%20%20%20%20%20%20%20acm_mclkout1_sel%20%20%20%20%20%20%20%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%200%20%20%20%2024576000%20%20%20%20%20%20%20%20%20%200%20%20%20%20%200%20%2050000%20%20%20%20%20%20%20%20%20Y%0A%20%20%20%20%20%20%20%20%20%20mclkout1_lpcg_clk%20%20%20%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%200%20%20%20%2024576000%20%20%20%20%20%20%20%20%20%200%20%20%20%20%200%20%2050000%20%20%20%20%20%20%20%20%20%3F%3C%2FCODE%3E%3C%2FPRE%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2032839%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20i.MX8QM%20audio%20mclk%20not%20enabled%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2032839%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ethanks%20for%20your%20information%2C%20do%20you%20mind%20sharing%20the%20dump%20clock%20and%20logfile%20for%205.15%20bsp%3F%20let%20me%20double%20check%20it%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2031910%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20i.MX8QM%20audio%20mclk%20not%20enabled%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2031910%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F39586%22%20target%3D%22_blank%22%3E%40joanxie%3C%2FA%3E%2C%3C%2FP%3E%3CP%3EThat's%20correct.%26nbsp%3B%20The%20same%20device%20tree%20that%20works%20on%205.15%20does%20not%20work%20on%206.1.%26nbsp%3B%20There%20are%20minor%20changes%20in%20the%206.1%20device%20tree%20due%20to%20compatibility%20(mainly%20the%20pcie)%2C%20but%20otherwise%20largely%20the%20same%20device%20tree.%26nbsp%3B%20I've%20attached%20the%20output%20from%20dmesg.%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2031815%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20i.MX8QM%20audio%20mclk%20not%20enabled%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2031815%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ethe%20same%20device%20tree%20works%20on%205.15%2C%20but%20failed%20on%206.1%3F%20do%20you%20mind%20sharing%20your%20logfile%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E