This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:tools-software:linux-drivers:sound:adau1372 [08 Jun 2016 17:14] – [I2C] Lars-Peter Clausen | resources: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> | + | | [[linux.github>asoc-adau1372? |
==== Files ==== | ==== Files ==== | ||
^ Function ^ File ^ | ^ Function ^ File ^ | ||
- | | driver | + | | driver |
- | | driver | + | | driver |
- | | driver | + | | driver |
- | | include | [[git.linux.org> | + | | include | [[linux.github>asoc-adau1372? |
====== 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: \\ " | ||
+ | | ADC 0+1 High-Pass-Filter | High-Pass-Filter configuration for the first and second ADC path. Available settings: \\ " | ||
+ | | 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: \\ " | ||
+ | | ADC 2+3 High-Pass-Filter | High-Pass-Filter configuration for the third and fourth ADC path. Available settings: \\ " | ||
+ | | 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: \\ " | ||
+ | | AFE 2+3 Bias | Analog Front-End 2 and Analog Front-End 3 bias current setting. Available settings: \\ " | ||
+ | | 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: \\ " | ||
+ | | 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: \\ " | ||
+ | | Decimator 2+3 Capture Mux | Decimator 2 and 3 input select. Available settings: \\ " | ||
+ | | Headphone Bias | Headphone output bias current setting. Available settings: \\ " | ||
+ | | Input ASRC Playback Mux | Input sample-rate-converter input select: Available settings: \\ " | ||
+ | | Microphone Bias | Microphone input bias current setting. Available settings: \\ " | ||
+ | | Output ASRC0 Mux | Output sample-rate-converter 0 input select. Available settings: \\ " | ||
+ | | 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: \\ " | ||
+ | | 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 | + | | SND_SOC_DAIFMT_I2S |
| SND_SOC_DAIFMT_RIGHT_J | no | Right Justified mode | | | SND_SOC_DAIFMT_RIGHT_J | no | Right Justified mode | | ||
| SND_SOC_DAIFMT_LEFT_J | | SND_SOC_DAIFMT_LEFT_J | ||
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 | ||