Commit 43e80011 authored by Jaroslav Kysela's avatar Jaroslav Kysela

[ALSA] Adds AC'97 support to Aureon cards.

ICE1712 driver
This patch adds support of the STAC9744 chip located on Aureon cards,
enabling volume control for analogue input channels.
It also adds the posibility of listening to both the analogue inputs
and the digital audio.
Signed-off-by: default avatarPeter Christensen <peter@developers.dk>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent db565a88
This diff is collapsed.
......@@ -47,6 +47,11 @@ extern struct snd_ice1712_card_info snd_vt1724_aureon_cards[];
#define AUREON_DIGITAL_SEL1 (1 << 15)
#define AUREON_HP_SEL (1 << 14)
#define AUREON_WM_CS (1 << 12)
#define AUREON_AC97_COMMIT (1 << 11)
#define AUREON_AC97_ADDR (1 << 10)
#define AUREON_AC97_DATA_LOW (1 << 9)
#define AUREON_AC97_DATA_HIGH (1 << 8)
#define AUREON_AC97_DATA_MASK 0xFF
/* Prodigy has different pin assignment for chip select */
#define PRODIGY_CS8415_CS (1 << 23)
......
......@@ -362,6 +362,8 @@ struct _snd_ice1712 {
union {
/* additional i2c devices for EWS boards*/
snd_i2c_device_t *i2cdevs[3];
/* AC97 register cache for Aureon */
unsigned short stac9744[64];
/* Hoontech-specific setting */
struct hoontech_spec {
unsigned char boxbits[4];
......
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