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.

TLV320AIC3101: Linux amixer settings for HP outputs

Part Number: TLV320AIC3101
Other Parts Discussed in Thread: TLV320AIC3104, , TPS65217

Hello, 

I have designed a custom board with the TLV320AIC3101. The board serves as an add-on board for a PocketBeagle single board computer, based on TI's AM335x SoC. The board I made is 90% based on a so called Audio Cape that utilizes TLV320AIC3104 chip for audio inouts. My sound speakers are connected to the HPLOUT and HPROUT pins, driven single-ended. 

The board bring-up turned out well, I used existing Linux drivers as well as the device tree overlay, and the codec got recognized. That is, the boot log shows no errors, and the aplay -l prints it as a default sound card. This indicates that the I2C interface is fine. The other command, aplay sound_sample.wav exits after the sound is played, what gives me the reason to believe that clocks, ie I2S is also working fine. 

However, I don't get any sound at the outputs. I tried to play with the amixer to find the right settings.

Now, looking at the block diagram of the codec, I am trying to figure out what settings get the outputs right. With a simple controls listed using amixer scontrols, I am thinking like follows:

* 'HP' is on, so that the HP outputs are turned on
* 'HP DAC', that is DAC volume control is turned on to max
* 'Left DAC Mux' is set to DAC_L2, since I want the sound directly from the DAC, no mixing with other channels
* 'Right DAC Mux' is DAC_R2, same reason as above
* 'Left HP Power Down mode' is set to high impedance as well as the 'Right HP Power Down mode'

I cant think of the other settings that would be relevant in this application. However, the sound doesn't play. Any suggestions would be very helpful.

Best regards