ALSA: firewire-tascam: add support for FW-1804
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 5 Feb 2016 00:56:06 +0000 (09:56 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 5 Feb 2016 11:46:07 +0000 (12:46 +0100)
This model supports:
 * maximum 12 PCM channels for PCM playback
 * maximum 18 PCM channels for PCM capture
 * 4 ports for MIDI playback
 * 4 ports for MIDI capture
 * control and status messages in tx isochronous packets
 * up to 96.0 kHz

This commit adds support for the model. As the other supported models,
all of available PCM channels are always enabled.

As I described in commit c0949b278515da94, Ilya Zimnovich had investigated
TASCAM FireWire series in 2011 with his FW-1804. In his report, this model
has internal multiplexer and any software implementation can control it.
Following to the design of ALSA firewire stack, this commit won't
implement it. It should be in userspace via Linux fw character device.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/tascam/tascam.c

index ee0bc18..dcb11c2 100644 (file)
@@ -33,7 +33,16 @@ static struct snd_tscm_spec model_specs[] = {
                .midi_playback_ports = 2,
                .is_controller = true,
        },
-       /* FW-1804 may be supported. */
+       {
+               .name = "FW-1804",
+               .has_adat = true,
+               .has_spdif = true,
+               .pcm_capture_analog_channels = 8,
+               .pcm_playback_analog_channels = 2,
+               .midi_capture_ports = 2,
+               .midi_playback_ports = 4,
+               .is_controller = false,
+       },
 };
 
 static int identify_model(struct snd_tscm *tscm)