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.

linux driver for tlv320aic3101

Other Parts Discussed in Thread: TLV320AIC3101

Hi all,

In our custom dm8168 board,we use tlv320aic3101 audio chip to capture audio with LINE in interface ,and output audio with LINE out interface .

But after do some setting using amixer command:

amixer cset -c 0 numid=36,iface=MIXER,name='AGC Switch' 1
amixer cset -c 0 numid=93,iface=MIXER,name='Left PGA Mixer Line1L Switch' 1
amixer cset -c 0 numid=94,iface=MIXER,name='Left PGA Mixer Line1R Switch' 1
amixer cset -c 0 numid=95,iface=MIXER,name='Left PGA Mixer Line2L Switch' 0
amixer cset -c 0 numid=87,iface=MIXER,name='Right PGA Mixer Line2R Switch' 0
amixer cset -c 0 numid=96,iface=MIXER,name='Left PGA Mixer Mic3L Switch' 0
amixer cset -c 0 numid=97,iface=MIXER,name='Left PGA Mixer Mic3R Switch' 0
amixer cset -c 0 numid=88,iface=MIXER,name='Right PGA Mixer Mic3L Switch' 0
amixer cset -c 0 numid=89,iface=MIXER,name='Right PGA Mixer Mic3R Switch' 0
amixer cset -c 0 numid=85,iface=MIXER,name='Right PGA Mixer Line1R Switch' 1
amixer cset -c 0 numid=86,iface=MIXER,name='Right PGA Mixer Line1L Switch' 1
amixer cset -c 0 numid=39,iface=MIXER,name='ADC HPF Cut-off' 0

There is no output from LINE out interface,but our audio encode program can capture audio from line in.

and after do some setting using i2c utils as following command

i2c_rdwr.out -I2C 1 -w 0x18 0x5b 0x80

i2c_rdwr.out -I2C 1 -w 0x18 0x5d 0x1b

i2c_rdwr.out -I2C 1 -w 0x18 0x51 0x80

i2c_rdwr.out -I2C 1 -w 0x18 0x56 0x1b

Audio can output from LINE out interface,but a string thing happen,we connect Left channel of Line IN, disconnect Right channel of Line in, But both channel of LINE out has auido output.

 I try to config tlv320aic3101 alone whith above steps (not execute the audio encode program or any other program),anything is OK.

We use DVRRDK_04.00.00.0 , I am sure I have reconfig the kernel according to the document :TI81XX_PSP_AUDIO_Driver_User_Guide