Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
resources:tools-software:linux-drivers:sound:adau1372 [08 Jun 2016 17:14] – [I2C] Lars-Peter Clausenresources:tools-software:linux-drivers:sound:adau1372 [13 Jun 2016 14:54] (current) – [TDM configuration] Lars-Peter Clausen
Line 14: Line 14:
  
 ^ Source ^ Mainlined? ^ ^ Source ^ Mainlined? ^
-| [[git.linux.org>sound/soc/codecs/adau1372.c|git]] | [[git.linux.org>sound/soc/codecs/adau1372.c|WIP]] |+| [[linux.github>asoc-adau1372?sound/soc/codecs/adau1372.c|git]] | [[git.linux.org>sound/soc/codecs/adau1372.c|WiP]] |
  
 ==== Files ==== ==== Files ====
  
 ^ Function ^ File ^ ^ Function ^ File ^
-| driver  | [[git.linux.org>sound/soc/codecs/adau1372.c|sound/soc/codecs/adau1372.c]] | +| driver  | [[linux.github>asoc-adau1372?sound/soc/codecs/adau1372.c|sound/soc/codecs/adau1372.c]] | 
-| driver  | [[git.linux.org>sound/soc/codecs/adau1372-i2c.c|sound/soc/codecs/adau1372-i2c.c]] | +| driver  | [[linux.github>asoc-adau1372?sound/soc/codecs/adau1372-i2c.c|sound/soc/codecs/adau1372-i2c.c]] | 
-| driver  | [[git.linux.org>sound/soc/codecs/adau1372-spi.c|sound/soc/codecs/adau1372-spi.c]] | +| driver  | [[linux.github>asoc-adau1372?sound/soc/codecs/adau1372-spi.c|sound/soc/codecs/adau1372-spi.c]] | 
-| include | [[git.linux.org>sound/soc/codecs/adau1372.h|sound/soc/codecs/adau1372.h]] |+| include | [[linux.github>asoc-adau1372?sound/soc/codecs/adau1372.h|sound/soc/codecs/adau1372.h]] |
  
 ====== Example device initialization ====== ====== Example device initialization ======
Line 89: Line 89:
  
 ===== ALSA Controls ===== ===== ALSA Controls =====
 +|< - 16em >|
 ^ Name ^ Description ^ Configuration ^ ^ Name ^ Description ^ Configuration ^
 +| ADC 0 Capture Switch | Digital mute control for the first ADC path. | 
 +| ADC 0 Capture Volume | Digital attenuation volume control for the first ADC path. | 
 +| ADC 0+1 Bias | ADC0 and ADC1 bias current setting. Available settings: \\ "Normal operation" \\ "Enhanced performance" \\ "Power saving"
 +| ADC 0+1 High-Pass-Filter | High-Pass-Filter configuration for the first and second ADC path. Available settings: \\ "Off" \\ "1 Hz" \\ "4 Hz" \\ "8 Hz" | 
 +| ADC 1 Capture Switch | Digital mute control for the second ADC path. | 
 +| ADC 1 Capture Volume | Digital attenuation volume control for the second ADC path. | 
 +| ADC 2 Capture Switch | Digital mute control for the third ADC path. | 
 +| ADC 2 Capture Volume | Digital attenuation volume control for the third ADC path. | 
 +| ADC 2+3 Bias | ADC2 and ADC3 bias current setting. Available settings: \\ "Normal operation" \\ "Enhanced performance" \\ "Power saving"
 +| ADC 2+3 High-Pass-Filter | High-Pass-Filter configuration for the third and fourth ADC path. Available settings: \\ "Off" \\ "1 Hz" \\ "4 Hz" \\ "8 Hz" | 
 +| ADC 3 Capture Switch | Digital mute control for the fourth ADC path. | 
 +| ADC 3 Capture Volume | Digital attenuation volume control for the fourth ADC path. | 
 +| AFE 0+1 Bias | Analog Front-End 0 and Analog Front-End 1 bias current setting. Available settings: \\ "Normal operation" \\ "Extreme power saving" \\ "Enhanced performance" \\ "Power saving"
 +| AFE 2+3 Bias | Analog Front-End 2 and Analog Front-End 3 bias current setting. Available settings: \\ "Normal operation" \\ "Extreme power saving" \\ "Enhanced performance" \\ "Power saving"
 +| DAC 0 Mux | Source select for the first DAC. Available settings: \\ "Input ASRC0" \\ "Input ASRC1" | 
 +| DAC 0 Playback Switch | Digital mute control for the first DAC path. | 
 +| DAC 0 Playback Volume | Digital attenuation volume control for the first DAC path. | 
 +| DAC 0+1 Bias | DAC bias current setting. Available settings: \\ "Normal operation" \\ "Power saving" \\ "Superior performance" \\ "Enhanced performance"
 +| DAC 1 Mux | Source select for the second DAC. Available settings: \\ "Input ASRC0" \\ "Input ASRC1" | 
 +| DAC 1 Playback Switch | Digital mute control for the second DAC path. | 
 +| DAC 1 Playback Volume | Digital attenuation volume control for the second DAC path. | 
 +| Decimator 0+1 Capture Mux | Decimator 0 and 1 input select. Available settings: \\ "ADC" \\ "DMIC"
 +| Decimator 2+3 Capture Mux | Decimator 2 and 3 input select. Available settings: \\ "ADC" \\ "DMIC"
 +| Headphone Bias | Headphone output bias current setting. Available settings: \\ "Normal operation" \\ "Extreme power saving" \\ "Enhanced performance" \\ "Power saving"
 +| Input ASRC Playback Mux | Input sample-rate-converter input select: Available settings: \\ "Serial Input 0+1" \\ "Serial Input 2+3" \\ "Serial Input 4+5" \\ "Serial Input 6+7" | 
 +| Microphone Bias | Microphone input bias current setting. Available settings: \\ "Normal operation" \\ "Extreme power saving" \\ "Enhanced performance" \\ "Power saving"
 +| Output ASRC0 Mux | Output sample-rate-converter 0 input select. Available settings: \\ "Decimator0" \\ "Decimator1" \\ "Decimator2" \\ "Decimator3"
 +| Output ASRC1 Mux | Output sample-rate-converter 1 input select. Available settings: See Output ASRC0 Mux | 
 +| Output ASRC2 Mux | Output sample-rate-converter 2 input select. Available settings: See Output ASRC0 Mux | 
 +| Output ASRC3 Mux | Output sample-rate-converter 3 input select. Available settings: See Output ASRC0 Mux | 
 +| PGA 0 Boost Capture Volume | Input PGA 0 additional 10dB gain volume. | 
 +| PGA 0 Capture Switch | Input PGA 0 mute control. | 
 +| PGA 0 Capture Volume | Input PGA 0 gain volume control. | 
 +| PGA 1 Boost Capture Volume | Input PGA 1 additional 10dB gain volume. | 
 +| PGA 1 Capture Switch | Input PGA 1 mute control. | 
 +| PGA 1 Capture Volume | Input PGA 1 gain volume control. | 
 +| PGA 2 Boost Capture Volume | Input PGA 2 additional 10dB gain volume. | 
 +| PGA 2 Capture Switch | Input PGA 2 mute control. | 
 +| PGA 2 Capture Volume | Input PGA 2 gain volume control. | 
 +| PGA 3 Boost Capture Volume | Input PGA 3 additional 10dB gain volume. | 
 +| PGA 3 Capture Switch | Input PGA 3 mute control. | 
 +| PGA 3 Capture Volume | Input PGA 3 gain volume control. | 
 +| Serial Output 0 Capture Mux | Serial output channel 0 input select. Available settings: \\ "Output ASRC0" \\ "Output ASRC1" \\ "Output ASRC2" \\ "Output ASRC3" \\ "Serial Input 0" \\ "Serial Input 1" \\ "Serial Input 2" \\ "Serial Input 3" \\ "Serial Input 4" \\ "Serial Input 5" \\ "Serial Input 6" \\ "Serial Input 7" | 
 +| Serial Output 1 Capture Mux | Serial output channel 1 input select. Available settings: See Serial Output 0 Capture Mux | 
 +| Serial Output 2 Capture Mux | Serial output channel 2 input select. Available settings: See Serial Output 0 Capture Mux | 
 +| Serial Output 3 Capture Mux | Serial output channel 3 input select. Available settings: See Serial Output 0 Capture Mux | 
 +| Serial Output 4 Capture Mux | Serial output channel 4 input select. Available settings: See Serial Output 0 Capture Mux | 
 +| Serial Output 5 Capture Mux | Serial output channel 5 input select. Available settings: See Serial Output 0 Capture Mux | 
 +| Serial Output 6 Capture Mux | Serial output channel 6 input select. Available settings: See Serial Output 0 Capture Mux | 
 +| Serial Output 7 Capture Mux | Serial output channel 7 input select. Available settings: See Serial Output 0 Capture Mux |
 ===== DAI configuration ===== ===== DAI configuration =====
  
Line 101: Line 150:
  
 ^ Name ^ Supported by driver ^ Description ^ ^ Name ^ Supported by driver ^ Description ^
-| SND_SOC_DAIFMT_I2S     | yes | I2S Justified mode |+| SND_SOC_DAIFMT_I2S     | yes | I2S mode |
 | SND_SOC_DAIFMT_RIGHT_J | no | Right Justified mode | | SND_SOC_DAIFMT_RIGHT_J | no | Right Justified mode |
 | SND_SOC_DAIFMT_LEFT_J  | yes | Left Justified mode  | | SND_SOC_DAIFMT_LEFT_J  | yes | Left Justified mode  |
Line 128: Line 177:
  
   * The number of slots can be either 2, 4 or 8.   * The number of slots can be either 2, 4 or 8.
-  * The slot width can be 16 or 24.+  * The slot width can be 16 or 32.
   * The slot mask can select any combination of channels on both TX and RX   * The slot mask can select any combination of channels on both TX and RX
  
resources/tools-software/linux-drivers/sound/adau1372.1465398878.txt.gz · Last modified: 08 Jun 2016 17:14 by Lars-Peter Clausen