This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM625: Questions about HDMI audio

Part Number: AM625

Hello, TI expert! 

From this link we can get the following information: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-am625-sk-hdmi-audio.dts?h=ti-rt-linux-5.10.y

// SPDX-License-Identifier: GPL-2.0
/**
 * Audio playback via HDMI
 *
 * Copyright (C) 2022 Texas Instruments Incorporated - http://www.ti.com/
 */

/dts-v1/;
/plugin/;

/ {
	fragment@101 {
		target-path = "/";

		__overlay__ {
			hdmi_audio: sound-sii9022 {
				compatible = "simple-audio-card";
				simple-audio-card,name = "AM62x-Sil9022-HDMI";
				simple-audio-card,format = "i2s";
				simple-audio-card,bitclock-master = <&hdmi_dailink_master>;
				simple-audio-card,frame-master = <&hdmi_dailink_master>;
				simple-audio-card,mclk-fs = <2182>;

				hdmi_dailink_master: simple-audio-card,cpu {
					sound-dai = <&mcasp1>;
					system-clock-frequency = <24000000>;
					system-clock-direction-out;
				};

				simple-audio-card,codec {
					sound-dai = <&sii9022>;
				};
			};
		};
	};
};

&codec_audio {
	status = "disabled";
};

Question 1: Why is it configured as 2182 here, is there any basis?

simple-audio-card,mclk-fs = <2182>;

Question 2: If I take the output of the AUDIO_EXT_REFCLK1 as mclk, how can the device tree be modified?

Regards,

Li