Commit 8c650087 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Jaroslav Kysela

ALSA: hda: Add support for ECS/PC Chips boards with Sigmatel codecs

Thanks to Sistema Fenix (http://www.sistemafenix.com.br/) and CDI Brasil
(www.cdibrasil.com.br/) for sponsoring this development.
Signed-off-by: default avatarGilberto <gilberto@sistemafenix.com.br>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
parent e8f9ae2a
...@@ -110,6 +110,7 @@ enum { ...@@ -110,6 +110,7 @@ enum {
STAC_MACBOOK_PRO_V2, STAC_MACBOOK_PRO_V2,
STAC_IMAC_INTEL, STAC_IMAC_INTEL,
STAC_IMAC_INTEL_20, STAC_IMAC_INTEL_20,
STAC_ECS_202,
STAC_922X_DELL_D81, STAC_922X_DELL_D81,
STAC_922X_DELL_D82, STAC_922X_DELL_D82,
STAC_922X_DELL_M81, STAC_922X_DELL_M81,
...@@ -1586,6 +1587,11 @@ static unsigned int intel_mac_v5_pin_configs[10] = { ...@@ -1586,6 +1587,11 @@ static unsigned int intel_mac_v5_pin_configs[10] = {
0x400000fc, 0x400000fb, 0x400000fc, 0x400000fb,
}; };
static unsigned int ecs202_pin_configs[10] = {
0x0221401f, 0x02a19020, 0x01a19020, 0x01114010,
0x408000f0, 0x01813022, 0x074510a0, 0x40c400f1,
0x9037012e, 0x40e000f2,
};
static unsigned int *stac922x_brd_tbl[STAC_922X_MODELS] = { static unsigned int *stac922x_brd_tbl[STAC_922X_MODELS] = {
[STAC_D945_REF] = ref922x_pin_configs, [STAC_D945_REF] = ref922x_pin_configs,
...@@ -1604,6 +1610,7 @@ static unsigned int *stac922x_brd_tbl[STAC_922X_MODELS] = { ...@@ -1604,6 +1610,7 @@ static unsigned int *stac922x_brd_tbl[STAC_922X_MODELS] = {
[STAC_MACBOOK_PRO_V2] = intel_mac_v3_pin_configs, [STAC_MACBOOK_PRO_V2] = intel_mac_v3_pin_configs,
[STAC_IMAC_INTEL] = intel_mac_v2_pin_configs, [STAC_IMAC_INTEL] = intel_mac_v2_pin_configs,
[STAC_IMAC_INTEL_20] = intel_mac_v3_pin_configs, [STAC_IMAC_INTEL_20] = intel_mac_v3_pin_configs,
[STAC_ECS_202] = ecs202_pin_configs,
[STAC_922X_DELL_D81] = dell_922x_d81_pin_configs, [STAC_922X_DELL_D81] = dell_922x_d81_pin_configs,
[STAC_922X_DELL_D82] = dell_922x_d82_pin_configs, [STAC_922X_DELL_D82] = dell_922x_d82_pin_configs,
[STAC_922X_DELL_M81] = dell_922x_m81_pin_configs, [STAC_922X_DELL_M81] = dell_922x_m81_pin_configs,
...@@ -1627,6 +1634,7 @@ static const char *stac922x_models[STAC_922X_MODELS] = { ...@@ -1627,6 +1634,7 @@ static const char *stac922x_models[STAC_922X_MODELS] = {
[STAC_MACBOOK_PRO_V2] = "macbook-pro", [STAC_MACBOOK_PRO_V2] = "macbook-pro",
[STAC_IMAC_INTEL] = "imac-intel", [STAC_IMAC_INTEL] = "imac-intel",
[STAC_IMAC_INTEL_20] = "imac-intel-20", [STAC_IMAC_INTEL_20] = "imac-intel-20",
[STAC_ECS_202] = "ecs202",
[STAC_922X_DELL_D81] = "dell-d81", [STAC_922X_DELL_D81] = "dell-d81",
[STAC_922X_DELL_D82] = "dell-d82", [STAC_922X_DELL_D82] = "dell-d82",
[STAC_922X_DELL_M81] = "dell-m81", [STAC_922X_DELL_M81] = "dell-m81",
...@@ -1713,6 +1721,33 @@ static struct snd_pci_quirk stac922x_cfg_tbl[] = { ...@@ -1713,6 +1721,33 @@ static struct snd_pci_quirk stac922x_cfg_tbl[] = {
"unknown Dell", STAC_922X_DELL_D81), "unknown Dell", STAC_922X_DELL_D81),
SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x01d7, SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x01d7,
"Dell XPS M1210", STAC_922X_DELL_M82), "Dell XPS M1210", STAC_922X_DELL_M82),
/* ECS/PC Chips boards */
SND_PCI_QUIRK(0x1019, 0x2144,
"ECS/PC chips", STAC_ECS_202),
SND_PCI_QUIRK(0x1019, 0x2608,
"ECS/PC chips", STAC_ECS_202),
SND_PCI_QUIRK(0x1019, 0x2633,
"ECS/PC chips P17G/1333", STAC_ECS_202),
SND_PCI_QUIRK(0x1019, 0x2811,
"ECS/PC chips", STAC_ECS_202),
SND_PCI_QUIRK(0x1019, 0x2812,
"ECS/PC chips", STAC_ECS_202),
SND_PCI_QUIRK(0x1019, 0x2813,
"ECS/PC chips", STAC_ECS_202),
SND_PCI_QUIRK(0x1019, 0x2814,
"ECS/PC chips", STAC_ECS_202),
SND_PCI_QUIRK(0x1019, 0x2815,
"ECS/PC chips", STAC_ECS_202),
SND_PCI_QUIRK(0x1019, 0x2816,
"ECS/PC chips", STAC_ECS_202),
SND_PCI_QUIRK(0x1019, 0x2817,
"ECS/PC chips", STAC_ECS_202),
SND_PCI_QUIRK(0x1019, 0x2818,
"ECS/PC chips", STAC_ECS_202),
SND_PCI_QUIRK(0x1019, 0x2819,
"ECS/PC chips", STAC_ECS_202),
SND_PCI_QUIRK(0x1019, 0x2820,
"ECS/PC chips", STAC_ECS_202),
{} /* terminator */ {} /* terminator */
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment