Part Number: PROCESSOR-SDK-AM437X
Other Parts Discussed in Thread: TLV320AIC3106, TPS63031, AM4372
Tool/software: Linux
I am using last release of rt-linux sdk "ti-processor-sdk-linux-rt-am437x-evm-04.01.00.06". I have a custom board based on am437x-gp-evm. we are using "TLV320AIC3106IRGZT" audio codec.
I have done pin-muxing changes for mcasp0, and its proper as it is working on linux sdk "ti-processor-sdk-linux-am437x-evm-02.00.01.07".
Here is the 'sound' node and 'tlv320aic3106' node in dts file i am using:
sound0: sound@0 {
compatible = "simple-audio-card";
simple-audio-card,name = "AM437x-GP-EVM";
simple-audio-card,widgets =
"Microphone", "Microphone Jack",
"Headphone", "Headphone Jack",
"Line", "Line In";
simple-audio-card,routing =
"Mono Out", "MONO_LOUT",
"LINE1L", "Mic Bias";
simple-audio-card,format = "dsp_b";
simple-audio-card,bitclock-master = <&sound0_master>;
simple-audio-card,frame-master = <&sound0_master>;
simple-audio-card,bitclock-inversion;
simple-audio-card,cpu {
sound-dai = <&mcasp1>;
system-clock-frequency = <12000000>;
};
sound0_master: simple-audio-card,codec {
sound-dai = <&tlv320aic3106>;
system-clock-frequency = <12000000>;
};
};
tlv320aic3106: tlv320aic3106@1b {
#sound-dai-cells = <0>;
compatible = "ti,tlv320aic3106";
reg = <0x1b>;
status = "okay";
ai3x-micbias-vg = <MICBIAS_2_0V>;
gpio = <&gpio2 3 GPIO_ACTIVE_LOW>;
/* Regulators */
IOVDD-supply = <&evm_v3_3d>; /* V3_3D -> <tps63031> EN: V1_8D -> VBAT */
AVDD-supply = <&evm_v3_3d>; /* v3_3AUD -> V3_3D -> ... */
DRVDD-supply = <&evm_v3_3d>; /* v3_3AUD -> V3_3D -> ... */
DVDD-supply = <&ldo1>; /* V1_8D -> LDO1 */
};
&mcasp1 {
#sound-dai-cells = <0>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&mcasp1_pins>;
pinctrl-1 = <&mcasp1_sleep_pins>;
status = "okay";
op-mode = <0>; /* MCASP_IIS_MODE */
tdm-slots = <2>;
/* 4 serializers */
serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
1 2 0 0
>;
tx-num-evt = <32>;
rx-num-evt = <32>;
};
In dmesg i can see the driver is loading properly and codec mapping is ok.
[ 1.714138] asoc-simple-card sound0: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
[ 4.052082] ALSA device list:
[ 4.055267] #0: AM437x-GP-EVM
But there is no audio output when I am trying to play wav file using "aplay" or "AAC*" examples given in multimedia tab of matrix gui.
Any help what could be the problem.

