• TI Thinks Resolved

Linux/TLV320AIC3106: NOISY INPUT ON LINE 2L

Intellectual 570 points

Replies: 1

Views: 43

Part Number: TLV320AIC3106

Tool/software: Linux

Hello Team,

I am using audio codec tlv320aic3106 and giving a differential input on LINE2L+ and LINE2L- and I want a speaker out on HPLOUT and HPROUT with HPLCOM . My dts routing is

ti,audio-routing =
                    "Headphone Jack",       "HPLOUT",
                    "Headphone Jack",       "HPROUT",
                    "LINE2L",               "Line In",
                    "LINE2R",               "Line In";
         };

Using alsa control i am making the changes like below

amixer cset numid=62 differential >/dev/null //left line2l mux

amixer cset numid=59 1 > /dev/null  //pga mixer line2l

Can you tell me what i am doing is correct or do i need to disable or enable some other paths as well.

Below are the default on switches in my file system.


Simple mixer control 'Right PGA Mixer Line1R',0    
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

Simple mixer control 'Left PGA Mixer Line1L',0   
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

Simple mixer control 'Right Line Mixer DACR1',0   
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]


Simple mixer control 'Right HP Mixer DACR1',0      
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
 

Simple mixer control 'Mono Mixer DACR1',0    
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
 

 
Simple mixer control 'Right HPCOM Mixer DACR1',0   
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

Simple mixer control 'Left HPCOM Mixer DACL1',0   
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

Simple mixer control 'Mono Mixer DACL1',0    
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
 


Simple mixer control 'Left PGA Mixer Line2L',0   
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
 

 
Simple mixer control 'Left Line Mixer DACL1',0    
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
 

 
Simple mixer control 'Left HP Mixer DACL1',0    
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on] 


Simple mixer control 'Mono',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
 
 Simple mixer control 'HPCOM',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]

Simple mixer control 'Line',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]

Simple mixer control 'HP',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]


Simple mixer control 'PGA',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 119
  Front Left: Capture 32 [27%] [16.00dB] [on]
  Front Right: Capture 32 [27%] [16.00dB] [on]

Kindly help me with the routing used for differential line2l.

With regards ,

Pranav