diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2009-09-28 05:17:36 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-09-28 05:54:20 -0400 |
commit | dc0adf48daa81b05765d3c5ebab76321f77e9d21 (patch) | |
tree | ffe681631797c7a66d9e64516e745e8fea100f2a | |
parent | 3d8bb454c4fbe18cea1adfd4183a4a9ef5f0ef04 (diff) |
sound: oxygen: more hardware documentation
Add some comments describing the hardware pin routing.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/pci/oxygen/hifier.c | 6 | ||||
-rw-r--r-- | sound/pci/oxygen/oxygen.c | 6 | ||||
-rw-r--r-- | sound/pci/oxygen/xonar_cs43xx.c | 4 | ||||
-rw-r--r-- | sound/pci/oxygen/xonar_pcm179x.c | 17 |
4 files changed, 33 insertions, 0 deletions
diff --git a/sound/pci/oxygen/hifier.c b/sound/pci/oxygen/hifier.c index 9026a143a5ec..19e9e0123304 100644 --- a/sound/pci/oxygen/hifier.c +++ b/sound/pci/oxygen/hifier.c | |||
@@ -17,6 +17,12 @@ | |||
17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
18 | */ | 18 | */ |
19 | 19 | ||
20 | /* | ||
21 | * CMI8788: | ||
22 | * | ||
23 | * SPI 0 -> AK4396 | ||
24 | */ | ||
25 | |||
20 | #include <linux/delay.h> | 26 | #include <linux/delay.h> |
21 | #include <linux/pci.h> | 27 | #include <linux/pci.h> |
22 | #include <sound/control.h> | 28 | #include <sound/control.h> |
diff --git a/sound/pci/oxygen/oxygen.c b/sound/pci/oxygen/oxygen.c index 72db4c39007f..53dff7193f31 100644 --- a/sound/pci/oxygen/oxygen.c +++ b/sound/pci/oxygen/oxygen.c | |||
@@ -18,6 +18,8 @@ | |||
18 | */ | 18 | */ |
19 | 19 | ||
20 | /* | 20 | /* |
21 | * CMI8788: | ||
22 | * | ||
21 | * SPI 0 -> 1st AK4396 (front) | 23 | * SPI 0 -> 1st AK4396 (front) |
22 | * SPI 1 -> 2nd AK4396 (surround) | 24 | * SPI 1 -> 2nd AK4396 (surround) |
23 | * SPI 2 -> 3rd AK4396 (center/LFE) | 25 | * SPI 2 -> 3rd AK4396 (center/LFE) |
@@ -27,6 +29,10 @@ | |||
27 | * GPIO 0 -> DFS0 of AK5385 | 29 | * GPIO 0 -> DFS0 of AK5385 |
28 | * GPIO 1 -> DFS1 of AK5385 | 30 | * GPIO 1 -> DFS1 of AK5385 |
29 | * GPIO 8 -> enable headphone amplifier on HT-Omega models | 31 | * GPIO 8 -> enable headphone amplifier on HT-Omega models |
32 | * | ||
33 | * CM9780: | ||
34 | * | ||
35 | * GPO 0 -> route line-in (0) or AC97 output (1) to ADC input | ||
30 | */ | 36 | */ |
31 | 37 | ||
32 | #include <linux/delay.h> | 38 | #include <linux/delay.h> |
diff --git a/sound/pci/oxygen/xonar_cs43xx.c b/sound/pci/oxygen/xonar_cs43xx.c index 0fa05ed6681d..a8ec4e8271a4 100644 --- a/sound/pci/oxygen/xonar_cs43xx.c +++ b/sound/pci/oxygen/xonar_cs43xx.c | |||
@@ -41,6 +41,10 @@ | |||
41 | * CS4362A: | 41 | * CS4362A: |
42 | * | 42 | * |
43 | * AD0 <- 0 | 43 | * AD0 <- 0 |
44 | * | ||
45 | * CM9780: | ||
46 | * | ||
47 | * GPO 0 -> route line-in (0) or AC97 output (1) to CS5361 input | ||
44 | */ | 48 | */ |
45 | 49 | ||
46 | #include <linux/pci.h> | 50 | #include <linux/pci.h> |
diff --git a/sound/pci/oxygen/xonar_pcm179x.c b/sound/pci/oxygen/xonar_pcm179x.c index 07aaa893d323..97574dbec2b6 100644 --- a/sound/pci/oxygen/xonar_pcm179x.c +++ b/sound/pci/oxygen/xonar_pcm179x.c | |||
@@ -32,6 +32,10 @@ | |||
32 | * GPIO 5 <- external power present (D2X only) | 32 | * GPIO 5 <- external power present (D2X only) |
33 | * GPIO 7 -> ALT | 33 | * GPIO 7 -> ALT |
34 | * GPIO 8 -> enable output to speakers | 34 | * GPIO 8 -> enable output to speakers |
35 | * | ||
36 | * CM9780: | ||
37 | * | ||
38 | * GPO 0 -> route line-in (0) or AC97 output (1) to CS5381 input | ||
35 | */ | 39 | */ |
36 | 40 | ||
37 | /* | 41 | /* |
@@ -54,6 +58,10 @@ | |||
54 | * | 58 | * |
55 | * PCM1796 front: AD1,0 <- 0,0 | 59 | * PCM1796 front: AD1,0 <- 0,0 |
56 | * | 60 | * |
61 | * CM9780: | ||
62 | * | ||
63 | * GPO 0 -> route line-in (0) or AC97 output (1) to CS5381 input | ||
64 | * | ||
57 | * no daughterboard | 65 | * no daughterboard |
58 | * ---------------- | 66 | * ---------------- |
59 | * | 67 | * |
@@ -107,6 +115,15 @@ | |||
107 | * PCM1792A: | 115 | * PCM1792A: |
108 | * | 116 | * |
109 | * AD1,0 <- 0,0 | 117 | * AD1,0 <- 0,0 |
118 | * SCK <- CLK_OUT of CS2000 (ST only) | ||
119 | * | ||
120 | * CS2000: | ||
121 | * | ||
122 | * AD0 <- 0 | ||
123 | * | ||
124 | * CM9780: | ||
125 | * | ||
126 | * GPO 0 -> route line-in (0) or AC97 output (1) to CS5381 input | ||
110 | * | 127 | * |
111 | * H6 daughterboard | 128 | * H6 daughterboard |
112 | * ---------------- | 129 | * ---------------- |