ALSA: oxygen: update hardware comments
Reformat and update the comments that describe the hardware connections on the various models. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
e2943efa4f
commit
de66493693
|
@ -20,19 +20,25 @@
|
||||||
/*
|
/*
|
||||||
* CMI8788:
|
* CMI8788:
|
||||||
*
|
*
|
||||||
* SPI 0 -> 1st AK4396 (front)
|
* SPI 0 -> 1st AK4396 (front)
|
||||||
* SPI 1 -> 2nd AK4396 (surround)
|
* SPI 1 -> 2nd AK4396 (surround)
|
||||||
* SPI 2 -> 3rd AK4396 (center/LFE)
|
* SPI 2 -> 3rd AK4396 (center/LFE)
|
||||||
* SPI 3 -> WM8785
|
* SPI 3 -> WM8785
|
||||||
* SPI 4 -> 4th AK4396 (back)
|
* SPI 4 -> 4th AK4396 (back)
|
||||||
*
|
*
|
||||||
* GPIO 0 -> DFS0 of AK5385
|
* GPIO 0 -> DFS0 of AK5385
|
||||||
* GPIO 1 -> DFS1 of AK5385
|
* GPIO 1 -> DFS1 of AK5385
|
||||||
* GPIO 8 -> enable headphone amplifier on HT-Omega models
|
* GPIO 8 -> enable headphone amplifier on HT-Omega models
|
||||||
*
|
*
|
||||||
* CM9780:
|
* CM9780:
|
||||||
*
|
*
|
||||||
* GPO 0 -> route line-in (0) or AC97 output (1) to ADC input
|
* LINE_OUT -> input of ADC
|
||||||
|
*
|
||||||
|
* AUX_IN <- aux
|
||||||
|
* CD_IN <- CD
|
||||||
|
* MIC_IN <- mic
|
||||||
|
*
|
||||||
|
* GPO 0 -> route line-in (0) or AC97 output (1) to ADC input
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
|
|
|
@ -22,29 +22,28 @@
|
||||||
*
|
*
|
||||||
* CMI8788:
|
* CMI8788:
|
||||||
*
|
*
|
||||||
* I²C <-> CS4398 (front)
|
* I²C <-> CS4398 (addr 1001111) (front)
|
||||||
* <-> CS4362A (surround, center/LFE, back)
|
* <-> CS4362A (addr 0011000) (surround, center/LFE, back)
|
||||||
*
|
*
|
||||||
* GPI 0 <- external power present (DX only)
|
* GPI 0 <- external power present (DX only)
|
||||||
*
|
*
|
||||||
* GPIO 0 -> enable output to speakers
|
* GPIO 0 -> enable output to speakers
|
||||||
* GPIO 1 -> route output to front panel
|
* GPIO 1 -> route output to front panel
|
||||||
* GPIO 2 -> M0 of CS5361
|
* GPIO 2 -> M0 of CS5361
|
||||||
* GPIO 3 -> M1 of CS5361
|
* GPIO 3 -> M1 of CS5361
|
||||||
* GPIO 8 -> route input jack to line-in (0) or mic-in (1)
|
* GPIO 6 -> ?
|
||||||
*
|
* GPIO 7 -> ?
|
||||||
* CS4398:
|
* GPIO 8 -> route input jack to line-in (0) or mic-in (1)
|
||||||
*
|
|
||||||
* AD0 <- 1
|
|
||||||
* AD1 <- 1
|
|
||||||
*
|
|
||||||
* CS4362A:
|
|
||||||
*
|
|
||||||
* AD0 <- 0
|
|
||||||
*
|
*
|
||||||
* CM9780:
|
* CM9780:
|
||||||
*
|
*
|
||||||
* GPO 0 -> route line-in (0) or AC97 output (1) to CS5361 input
|
* LINE_OUT -> input of ADC
|
||||||
|
*
|
||||||
|
* AUX_IN <- aux
|
||||||
|
* MIC_IN <- mic
|
||||||
|
* FMIC_IN <- front mic
|
||||||
|
*
|
||||||
|
* GPO 0 -> route line-in (0) or AC97 output (1) to CS5361 input
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/pci.h>
|
#include <linux/pci.h>
|
||||||
|
|
|
@ -22,20 +22,26 @@
|
||||||
*
|
*
|
||||||
* CMI8788:
|
* CMI8788:
|
||||||
*
|
*
|
||||||
* SPI 0 -> 1st PCM1796 (front)
|
* SPI 0 -> 1st PCM1796 (front)
|
||||||
* SPI 1 -> 2nd PCM1796 (surround)
|
* SPI 1 -> 2nd PCM1796 (surround)
|
||||||
* SPI 2 -> 3rd PCM1796 (center/LFE)
|
* SPI 2 -> 3rd PCM1796 (center/LFE)
|
||||||
* SPI 4 -> 4th PCM1796 (back)
|
* SPI 4 -> 4th PCM1796 (back)
|
||||||
*
|
*
|
||||||
* GPIO 2 -> M0 of CS5381
|
* GPIO 2 -> M0 of CS5381
|
||||||
* GPIO 3 -> M1 of CS5381
|
* GPIO 3 -> M1 of CS5381
|
||||||
* GPIO 5 <- external power present (D2X only)
|
* GPIO 5 <- external power present (D2X only)
|
||||||
* GPIO 7 -> ALT
|
* GPIO 7 -> ALT
|
||||||
* GPIO 8 -> enable output to speakers
|
* GPIO 8 -> enable output to speakers
|
||||||
*
|
*
|
||||||
* CM9780:
|
* CM9780:
|
||||||
*
|
*
|
||||||
* GPO 0 -> route line-in (0) or AC97 output (1) to CS5381 input
|
* LINE_OUT -> input of ADC
|
||||||
|
*
|
||||||
|
* AUX_IN <- aux
|
||||||
|
* VIDEO_IN <- CD
|
||||||
|
* FMIC_IN <- mic
|
||||||
|
*
|
||||||
|
* GPO 0 -> route line-in (0) or AC97 output (1) to CS5381 input
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -44,52 +50,53 @@
|
||||||
*
|
*
|
||||||
* CMI8788:
|
* CMI8788:
|
||||||
*
|
*
|
||||||
* I²C <-> PCM1796 (front)
|
* I²C <-> PCM1796 (addr 1001100) (front)
|
||||||
*
|
*
|
||||||
* GPI 0 <- external power present
|
* GPI 0 <- external power present
|
||||||
*
|
*
|
||||||
* GPIO 0 -> enable output to speakers
|
* GPIO 0 -> enable HDMI (0) or speaker (1) output
|
||||||
* GPIO 2 -> M0 of CS5381
|
* GPIO 2 -> M0 of CS5381
|
||||||
* GPIO 3 -> M1 of CS5381
|
* GPIO 3 -> M1 of CS5381
|
||||||
* GPIO 8 -> route input jack to line-in (0) or mic-in (1)
|
* GPIO 4 <- daughterboard detection
|
||||||
|
* GPIO 5 <- daughterboard detection
|
||||||
|
* GPIO 6 -> ?
|
||||||
|
* GPIO 7 -> ?
|
||||||
|
* GPIO 8 -> route input jack to line-in (0) or mic-in (1)
|
||||||
*
|
*
|
||||||
* TXD -> HDMI controller
|
* UART <-> HDMI controller
|
||||||
* RXD <- HDMI controller
|
|
||||||
*
|
|
||||||
* PCM1796 front: AD1,0 <- 0,0
|
|
||||||
*
|
*
|
||||||
* CM9780:
|
* CM9780:
|
||||||
*
|
*
|
||||||
* GPO 0 -> route line-in (0) or AC97 output (1) to CS5381 input
|
* LINE_OUT -> input of ADC
|
||||||
|
*
|
||||||
|
* AUX_IN <- aux
|
||||||
|
* CD_IN <- CD
|
||||||
|
* MIC_IN <- mic
|
||||||
|
*
|
||||||
|
* GPO 0 -> route line-in (0) or AC97 output (1) to CS5381 input
|
||||||
*
|
*
|
||||||
* no daughterboard
|
* no daughterboard
|
||||||
* ----------------
|
* ----------------
|
||||||
*
|
*
|
||||||
* GPIO 4 <- 1
|
* GPIO 4 <- 1
|
||||||
*
|
*
|
||||||
* H6 daughterboard
|
* H6 daughterboard
|
||||||
* ----------------
|
* ----------------
|
||||||
*
|
*
|
||||||
* GPIO 4 <- 0
|
* GPIO 4 <- 0
|
||||||
* GPIO 5 <- 0
|
* GPIO 5 <- 0
|
||||||
*
|
*
|
||||||
* I²C <-> PCM1796 (surround)
|
* I²C <-> PCM1796 (addr 1001101) (surround)
|
||||||
* <-> PCM1796 (center/LFE)
|
* <-> PCM1796 (addr 1001110) (center/LFE)
|
||||||
* <-> PCM1796 (back)
|
* <-> PCM1796 (addr 1001111) (back)
|
||||||
*
|
|
||||||
* PCM1796 surround: AD1,0 <- 0,1
|
|
||||||
* PCM1796 center/LFE: AD1,0 <- 1,0
|
|
||||||
* PCM1796 back: AD1,0 <- 1,1
|
|
||||||
*
|
*
|
||||||
* unknown daughterboard
|
* unknown daughterboard
|
||||||
* ---------------------
|
* ---------------------
|
||||||
*
|
*
|
||||||
* GPIO 4 <- 0
|
* GPIO 4 <- 0
|
||||||
* GPIO 5 <- 1
|
* GPIO 5 <- 1
|
||||||
*
|
*
|
||||||
* I²C <-> CS4362A (surround, center/LFE, back)
|
* I²C <-> CS4362A (addr 0011000) (surround, center/LFE, back)
|
||||||
*
|
|
||||||
* CS4362A: AD0 <- 0
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -98,32 +105,35 @@
|
||||||
*
|
*
|
||||||
* CMI8788:
|
* CMI8788:
|
||||||
*
|
*
|
||||||
* I²C <-> PCM1792A
|
* I²C <-> PCM1792A (addr 1001100)
|
||||||
* <-> CS2000 (ST only)
|
* <-> CS2000 (addr 1001110) (ST only)
|
||||||
*
|
*
|
||||||
* ADC1 MCLK -> REF_CLK of CS2000 (ST only)
|
* ADC1 MCLK -> REF_CLK of CS2000 (ST only)
|
||||||
*
|
*
|
||||||
* GPI 0 <- external power present (STX only)
|
* GPI 0 <- external power present (STX only)
|
||||||
*
|
*
|
||||||
* GPIO 0 -> enable output to speakers
|
* GPIO 0 -> enable output to speakers
|
||||||
* GPIO 1 -> route HP to front panel (0) or rear jack (1)
|
* GPIO 1 -> route HP to front panel (0) or rear jack (1)
|
||||||
* GPIO 2 -> M0 of CS5381
|
* GPIO 2 -> M0 of CS5381
|
||||||
* GPIO 3 -> M1 of CS5381
|
* GPIO 3 -> M1 of CS5381
|
||||||
* GPIO 7 -> route output to speaker jacks (0) or HP (1)
|
* GPIO 4 <- daughterboard detection
|
||||||
* GPIO 8 -> route input jack to line-in (0) or mic-in (1)
|
* GPIO 5 <- daughterboard detection
|
||||||
|
* GPIO 6 -> ?
|
||||||
|
* GPIO 7 -> route output to speaker jacks (0) or HP (1)
|
||||||
|
* GPIO 8 -> route input jack to line-in (0) or mic-in (1)
|
||||||
*
|
*
|
||||||
* PCM1792A:
|
* PCM1792A:
|
||||||
*
|
*
|
||||||
* AD1,0 <- 0,0
|
* SCK <- CLK_OUT of CS2000 (ST only)
|
||||||
* SCK <- CLK_OUT of CS2000 (ST only)
|
|
||||||
*
|
|
||||||
* CS2000:
|
|
||||||
*
|
|
||||||
* AD0 <- 0
|
|
||||||
*
|
*
|
||||||
* CM9780:
|
* CM9780:
|
||||||
*
|
*
|
||||||
* GPO 0 -> route line-in (0) or AC97 output (1) to CS5381 input
|
* LINE_OUT -> input of ADC
|
||||||
|
*
|
||||||
|
* AUX_IN <- aux
|
||||||
|
* MIC_IN <- mic
|
||||||
|
*
|
||||||
|
* GPO 0 -> route line-in (0) or AC97 output (1) to CS5381 input
|
||||||
*
|
*
|
||||||
* H6 daughterboard
|
* H6 daughterboard
|
||||||
* ----------------
|
* ----------------
|
||||||
|
@ -133,15 +143,39 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Xonar HDAV1.3 Slim
|
* Xonar Xense
|
||||||
* ------------------
|
* -----------
|
||||||
*
|
*
|
||||||
* CMI8788:
|
* CMI8788:
|
||||||
*
|
*
|
||||||
* GPIO 1 -> enable output
|
* I²C <-> PCM1796 (addr 1001100) (front)
|
||||||
|
* <-> CS4362A (addr 0011000) (surround, center/LFE, back)
|
||||||
|
* <-> CS2000 (addr 1001110)
|
||||||
*
|
*
|
||||||
* TXD -> HDMI controller
|
* ADC1 MCLK -> REF_CLK of CS2000
|
||||||
* RXD <- HDMI controller
|
*
|
||||||
|
* GPI 0 <- external power present
|
||||||
|
*
|
||||||
|
* GPIO 0 -> enable output
|
||||||
|
* GPIO 1 -> route HP to front panel (0) or rear jack (1)
|
||||||
|
* GPIO 2 -> M0 of CS5381
|
||||||
|
* GPIO 3 -> M1 of CS5381
|
||||||
|
* GPIO 4 -> enable output
|
||||||
|
* GPIO 5 -> enable output
|
||||||
|
* GPIO 6 -> ?
|
||||||
|
* GPIO 7 -> route output to HP (0) or speaker (1)
|
||||||
|
* GPIO 8 -> route input jack to mic-in (0) or line-in (1)
|
||||||
|
*
|
||||||
|
* CM9780:
|
||||||
|
*
|
||||||
|
* LINE_OUT -> input of ADC
|
||||||
|
*
|
||||||
|
* AUX_IN <- aux
|
||||||
|
* VIDEO_IN <- ?
|
||||||
|
* FMIC_IN <- mic
|
||||||
|
*
|
||||||
|
* GPO 0 -> route line-in (0) or AC97 output (1) to CS5381 input
|
||||||
|
* GPO 1 -> route mic-in from input jack (0) or front panel header (1)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/pci.h>
|
#include <linux/pci.h>
|
||||||
|
|
|
@ -22,20 +22,41 @@
|
||||||
*
|
*
|
||||||
* CMI8788:
|
* CMI8788:
|
||||||
*
|
*
|
||||||
* SPI 0 -> WM8766 (surround, center/LFE, back)
|
* SPI 0 -> WM8766 (surround, center/LFE, back)
|
||||||
* SPI 1 -> WM8776 (front, input)
|
* SPI 1 -> WM8776 (front, input)
|
||||||
*
|
*
|
||||||
* GPIO 4 <- headphone detect, 0 = plugged
|
* GPIO 4 <- headphone detect, 0 = plugged
|
||||||
* GPIO 6 -> route input jack to mic-in (0) or line-in (1)
|
* GPIO 6 -> route input jack to mic-in (0) or line-in (1)
|
||||||
* GPIO 7 -> enable output to front L/R speaker channels
|
* GPIO 7 -> enable output to front L/R speaker channels
|
||||||
* GPIO 8 -> enable output to other speaker channels and front panel headphone
|
* GPIO 8 -> enable output to other speaker channels and front panel headphone
|
||||||
*
|
*
|
||||||
* WM8766:
|
* WM8776:
|
||||||
*
|
*
|
||||||
* input 1 <- line
|
* input 1 <- line
|
||||||
* input 2 <- mic
|
* input 2 <- mic
|
||||||
* input 3 <- front mic
|
* input 3 <- front mic
|
||||||
* input 4 <- aux
|
* input 4 <- aux
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Xonar HDAV1.3 Slim
|
||||||
|
* ------------------
|
||||||
|
*
|
||||||
|
* CMI8788:
|
||||||
|
*
|
||||||
|
* I²C <-> WM8776 (addr 0011010)
|
||||||
|
*
|
||||||
|
* GPIO 0 -> disable HDMI output
|
||||||
|
* GPIO 1 -> enable HP output
|
||||||
|
* GPIO 6 -> firmware EEPROM I²C clock
|
||||||
|
* GPIO 7 <-> firmware EEPROM I²C data
|
||||||
|
*
|
||||||
|
* UART <-> HDMI controller
|
||||||
|
*
|
||||||
|
* WM8776:
|
||||||
|
*
|
||||||
|
* input 1 <- mic
|
||||||
|
* input 2 <- aux
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/pci.h>
|
#include <linux/pci.h>
|
||||||
|
|
Loading…
Reference in New Issue