diff options
author | Pavel Hofman <pavel.hofman@ivitera.com> | 2012-01-10 14:28:48 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-01-11 02:57:54 -0500 |
commit | 52cd0a76fd7e7b47f0b0ad594ad5fd3b69949f76 (patch) | |
tree | d63986ab21f74b042150738e1c3cc1eb3e0ca6a8 /sound/pci/ice1712/ice1724.c | |
parent | 2b151ef734b1be749e355f32f94f649acfde0f48 (diff) |
ALSA: ice1724 - Support for ooAoo SQ210a
This card shares PCI ids with Chaintec AV710. Therefore, it will not be
detected automatically, it can only be activated by the module parameter
model=sq210a.
Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ice1712/ice1724.c')
-rw-r--r-- | sound/pci/ice1712/ice1724.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sound/pci/ice1712/ice1724.c b/sound/pci/ice1712/ice1724.c index 352f3fffa645..92362973764d 100644 --- a/sound/pci/ice1712/ice1724.c +++ b/sound/pci/ice1712/ice1724.c | |||
@@ -2185,6 +2185,40 @@ static struct snd_kcontrol_new snd_vt1724_mixer_pro_peak __devinitdata = { | |||
2185 | 2185 | ||
2186 | static struct snd_ice1712_card_info no_matched __devinitdata; | 2186 | static struct snd_ice1712_card_info no_matched __devinitdata; |
2187 | 2187 | ||
2188 | |||
2189 | /* | ||
2190 | ooAoo cards with no controls | ||
2191 | */ | ||
2192 | static unsigned char ooaoo_sq210_eeprom[] __devinitdata = { | ||
2193 | [ICE_EEP2_SYSCONF] = 0x4c, /* 49MHz crystal, no mpu401, no ADC, | ||
2194 | 1xDACs */ | ||
2195 | [ICE_EEP2_ACLINK] = 0x80, /* I2S */ | ||
2196 | [ICE_EEP2_I2S] = 0x78, /* no volume, 96k, 24bit, 192k */ | ||
2197 | [ICE_EEP2_SPDIF] = 0xc1, /* out-en, out-int, out-ext */ | ||
2198 | [ICE_EEP2_GPIO_DIR] = 0x00, /* no GPIOs are used */ | ||
2199 | [ICE_EEP2_GPIO_DIR1] = 0x00, | ||
2200 | [ICE_EEP2_GPIO_DIR2] = 0x00, | ||
2201 | [ICE_EEP2_GPIO_MASK] = 0xff, | ||
2202 | [ICE_EEP2_GPIO_MASK1] = 0xff, | ||
2203 | [ICE_EEP2_GPIO_MASK2] = 0xff, | ||
2204 | |||
2205 | [ICE_EEP2_GPIO_STATE] = 0x00, /* inputs */ | ||
2206 | [ICE_EEP2_GPIO_STATE1] = 0x00, /* all 1, but GPIO_CPLD_RW | ||
2207 | and GPIO15 always zero */ | ||
2208 | [ICE_EEP2_GPIO_STATE2] = 0x00, /* inputs */ | ||
2209 | }; | ||
2210 | |||
2211 | |||
2212 | struct snd_ice1712_card_info snd_vt1724_ooaoo_cards[] __devinitdata = { | ||
2213 | { | ||
2214 | .name = "ooAoo SQ210a", | ||
2215 | .model = "sq210a", | ||
2216 | .eeprom_size = sizeof(ooaoo_sq210_eeprom), | ||
2217 | .eeprom_data = ooaoo_sq210_eeprom, | ||
2218 | }, | ||
2219 | { } /* terminator */ | ||
2220 | }; | ||
2221 | |||
2188 | static struct snd_ice1712_card_info *card_tables[] __devinitdata = { | 2222 | static struct snd_ice1712_card_info *card_tables[] __devinitdata = { |
2189 | snd_vt1724_revo_cards, | 2223 | snd_vt1724_revo_cards, |
2190 | snd_vt1724_amp_cards, | 2224 | snd_vt1724_amp_cards, |
@@ -2199,6 +2233,7 @@ static struct snd_ice1712_card_info *card_tables[] __devinitdata = { | |||
2199 | snd_vt1724_wtm_cards, | 2233 | snd_vt1724_wtm_cards, |
2200 | snd_vt1724_se_cards, | 2234 | snd_vt1724_se_cards, |
2201 | snd_vt1724_qtet_cards, | 2235 | snd_vt1724_qtet_cards, |
2236 | snd_vt1724_ooaoo_cards, | ||
2202 | NULL, | 2237 | NULL, |
2203 | }; | 2238 | }; |
2204 | 2239 | ||