linux-sg2042/sound/pci/ice1712
Maximilian Rehkopf af9b70ac00 [ALSA] Add Aux input switch control for Aureon Universe
This patch adds a mixer control which allows the user to switch the Aux
playback between the internal Aux jack, Wavetable, and Rear Line-In on
Aureon Universe cards.

For switching, a PCA9554 (8-line GPIO with I2C interface) and a 74HC4052
(dual 4-way mux/demux) are used.  Output 0 and 1 of the PCA9554 are
connected to the select pins of the 74HC4052. The I2C interface of the
PCA9554 is connected to the card's internal SPI bus which is also used
to control the WM8770 and CS8415. SPI and I2C on the same lines...

To communicate with the PCA9554 the WM8770 and CS8415 are disabled and
an I2C Stop Condition is generated before the Start Condition (needed
for synchronisation because other SPI traffic appear to confuse the
PCA9554). Then a normal I2C data transfer takes place.  Programming must
be done ridiculously slow; in theory, 4.7us is the minimum delay time
for normal-speed I2C according to the datasheet, but even with 10us
switching was unreliable.  The Windows driver from Terratec does the
programming very slowly, too (checked with an oscilloscope).

PCA9554 datasheet:
http://www.semiconductors.philips.com/acrobat/datasheets/PCA9554_9554A_6.pdf

74HC4052 datasheet:
http://www.semiconductors.philips.com/acrobat/datasheets/74HC_HCT4052_4.pdf

Signed-off-by: Maximilian Rehkopf <otakon@gmx.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-03-31 17:59:01 +02:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ak4xxx.c [ALSA] Remove xxx_t typedefs: PCI ICE1712 2006-01-03 12:19:11 +01:00
amp.c [ALSA] Remove xxx_t typedefs: PCI ICE1724 2006-01-03 12:19:13 +01:00
amp.h [ALSA] ice1724 - Add support of Chaintech AV-710 2005-05-29 10:15:24 +02:00
aureon.c [ALSA] Add Aux input switch control for Aureon Universe 2006-03-31 17:59:01 +02:00
aureon.h [ALSA] ice1724 - Add support of Prodigy-7.1LT 2006-03-22 10:23:23 +01:00
delta.c [ALSA] sound/pci/ice1712/delta.c: make 2 functions static 2006-03-22 10:38:34 +01:00
delta.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
envy24ht.h [ALSA] Remove xxx_t typedefs: PCI ICE1724 2006-01-03 12:19:13 +01:00
ews.c [ALSA] ice1712 - Fix Front Digital Input of Terratec DMX 6Fire 2006-01-03 12:29:33 +01:00
ews.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hoontech.c [ALSA] semaphore -> mutex (PCI part) 2006-03-22 10:25:29 +01:00
hoontech.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ice1712.c [ALSA] ice1712 - Fix wrong register value for DMX 6FIRE 2006-03-31 17:58:56 +02:00
ice1712.h [ALSA] Add Aux input switch control for Aureon Universe 2006-03-31 17:59:01 +02:00
ice1724.c [ALSA] semaphore -> mutex (PCI part) 2006-03-22 10:25:29 +01:00
juli.c [ALSA] Remove xxx_t typedefs: PCI ICE1724 2006-01-03 12:19:13 +01:00
juli.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
phase.c [ALSA] semaphore -> mutex (PCI part) 2006-03-22 10:25:29 +01:00
phase.h [ALSA] Provides preliminary support for the Terratec Phase 28 card 2005-05-29 09:58:58 +02:00
pontis.c [ALSA] semaphore -> mutex (PCI part) 2006-03-22 10:25:29 +01:00
pontis.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prodigy192.c [ALSA] Remove xxx_t typedefs: PCI ICE1724 2006-01-03 12:19:13 +01:00
prodigy192.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
revo.c [ALSA] ice1724 - Add support of M-Audio Revolution 5.1 2006-01-03 12:30:18 +01:00
revo.h [ALSA] ice1724 - Add support of M-Audio Revolution 5.1 2006-01-03 12:30:18 +01:00
stac946x.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vt1720_mobo.c [ALSA] Remove xxx_t typedefs: PCI ICE1724 2006-01-03 12:19:13 +01:00
vt1720_mobo.h [ALSA] Update documentation for ice1712 and ice1724 2005-05-29 10:14:42 +02:00