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.

AM3358: WL1835MOD audio patch for Kernel 5.4.20

Part Number: AM3358
Other Parts Discussed in Thread: WL1835MOD

Hi everyone,

We are working on a custom board using AM3358 and WL1835MOD. For different reasons, we had to change from Kernel 4.14 to 5.4.20 and now are facing some problems with the audio interface.

With Kernel 4.14, the audio interface works fine, we just apply the 0001-New-Feature-BT-PCM-integration-on-the-AM335x-EVM.PATCH and define the audio interface as follow:

wilink8_pcm: wilink8_pcm {

		#sound-dai-cells = <0>;

		compatible = "ti,wilink8_bt";

		status = "okay";

	};	



sound{

		compatible = "ti,wilink8-bt-audio";

		ti,model = "WILINK8_BT";

		ti,audio-codec = <&wilink8_pcm>;

		ti,mcasp-controller = <&mcasp0>;

		ti,codec-clock-rate = <24000000>;

	};



&mcasp0	{

	#sound-dai-cells = <0>;

	pinctrl-names = "default";

	pinctrl-0 = <&mcasp0_pins>;

	status = "okay";

	op-mode = <0>;	/* MCASP_I2S_MODE */

	tdm-slots = <5>;

	/* 4 serializers */

	serial-dir = <	/* 0: INACTIVE, 1: TX, 2: RX */

			2 0 1 0 /* ARX0, ARX1, ARX2 & ARX3 */

		>;

	tx-num-evt = <32>;

	rx-num-evt = <32>;

};

This patch is downloaded from e2e.ti.com/.../0001_2D00_New_2D00_Feature_2D00_BT_2D00_PCM_2D00_integration_2D00_on_2D00_the_2D00_AM335x_2D00_EVM.PATCH

The issue we are facing is that this patch does not work on Kernel 5, so we need your help to know how to adapt it.

Thanks in advance,