Hi
i am working on enabling DMIC in tlv320aic32x4 codec
we are using open source driver from below link
http://lxr.free-electrons.com/source/sound/soc/codecs/tlv320aic32x4.c?v=3.10
Below changes we have added in driver for enabling DMIC
pr_info("Hardcoding for DMIC\n");
snd_soc_write(codec, 55,0x0E);
snd_soc_write(codec, 56,0x02);
snd_soc_write(codec, 81,0x14);
below is the audio routing have done as per attached schematic
audio-routing =
"Headphone Jack", "HPL",
"Headphone Jack", "HPR",
"IN3R", "Mic Jack",
"SCLK", "Mic Bias",
"MICBIAS", "AMIC",
Below are the Tinymix detail
ctl type num name value
0 INT 2 PCM Playback Volume 0 0
1 INT 2 HP Driver Gain Volume 0 0
2 INT 2 LO Driver Gain Volume 0 0
3 BOOL 2 HP DAC Playback Switch Off Off
4 BOOL 2 LO DAC Playback Switch Off Off
5 BOOL 2 Mic PGA Switch Off Off
6 BOOL 1 ADCFGA Left Mute Switch Off
7 BOOL 1 ADCFGA Right Mute Switch Off
8 INT 2 ADC Level Volume 0 0
9 INT 2 PGA Level Volume 0 0
10 INT 1 Auto-mute Switch 0
11 BOOL 1 AGC Left Switch Off
12 BOOL 1 AGC Right Switch Off
13 INT 2 AGC Target Level 0 0
14 INT 2 AGC Gain Hysteresis 0 0
15 INT 2 AGC Hysteresis 0 0
16 INT 2 AGC Noise Threshold 0 0
17 INT 2 AGC Max PGA 127 127
18 INT 2 AGC Attack Time 0 0
19 INT 2 AGC Decay Time 0 0
20 INT 2 AGC Noise Debounce 0 0
21 INT 2 AGC Signal Debounce 0 0
22 BOOL 1 Right Input Mixer IN1_R P Switch Off
23 BOOL 1 Right Input Mixer IN2_R P Switch Off
24 BOOL 1 Right Input Mixer IN3_R P Switch On
25 BOOL 1 Left Input Mixer IN1_L P Switch Off
26 BOOL 1 Left Input Mixer IN2_L P Switch Off
27 BOOL 1 Left Input Mixer IN3_L P Switch Off
28 BOOL 1 LOR Output Mixer R_DAC Switch Off
29 BOOL 1 HPR Output Mixer R_DAC Switch Off
30 BOOL 1 HPR Output Mixer IN1_R Switch Off
31 BOOL 1 LOL Output Mixer L_DAC Switch Off
32 BOOL 1 HPL Output Mixer L_DAC Switch Off
33 BOOL 1 HPL Output Mixer IN1_L Switch Off
I am using tinycap command to capture the audio
I can see data by probing the data lines
But still not able to hear anything while playing the captured file back
Note: Audio playing works properly already tested
So where can be the problem,Is there anything we are missing which we need to take care
Any help is appreciated!!