OpenCloudOS-Kernel/sound/firewire/motu
Takashi Sakamoto 23c671be97 ALSA: firewire-motu: add support for MOTU 896HD
Mark of the Unicorn (MOTU) shipped 896HD 2003 as one of models in second
generation of its FireWire series, and already discontinued it. The model
consists of below ICs:

 * Texas Instruments TSB41AB2
 * Phillips Semiconductors PDI1394L40
 * Altera cyclone EP1C3
 * Texas Instruments TMS320VC5402

It supports sampling transmission frequency up to 192.0 kHz. The packet
format differs depending on both of sampling transfer frequency and enabling
ADAT channels. The model doesn't support MIDI message transmission.

This commit adds support for it.

$ python3 crpp < /sys/bus/firewire/devices/fw1/config_rom
               ROM header and bus information block
               -----------------------------------------------------------------
400  04101b66  bus_info_length 4, crc_length 16, crc 7014
404  31333934  bus_name "1394"
408  20001000  irmc 0, cmc 0, isc 1, bmc 0, cyc_clk_acc 0, max_rec 1 (4)
40c  0001f200  company_id 0001f2     |
410  0001dbce  device_id 000001dbce  | EUI-64 0001f2000001dbce

               root directory
               -----------------------------------------------------------------
414  0004c65c  directory_length 4, crc 50780
418  030001f2  vendor
41c  0c0083c0  node capabilities per IEEE 1394
420  8d000006  --> eui-64 leaf at 438
424  d1000001  --> unit directory at 428

               unit directory at 428
               -----------------------------------------------------------------
428  0003dcc1  directory_length 3, crc 56513
42c  120001f2  specifier id
430  13000005  version
434  17102800  model

               eui-64 leaf at 438
               -----------------------------------------------------------------
438  000264f2  leaf_length 2, crc 25842
43c  0001f200  company_id 0001f2     |
440  0001dbce  device_id 000001dbce  | EUI-64 0001f2000001dbce

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20210823085741.33864-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2021-08-23 10:58:40 +02:00
..
Makefile ALSA: firewire-motu: add support for MOTU 828 2021-06-17 11:37:08 +02:00
amdtp-motu-trace.h ASoC: Updates for v5.3 2019-07-08 14:45:34 +02:00
amdtp-motu.c ALSA: firewire-motu: sequence replay for source packet header 2021-06-02 08:59:46 +02:00
motu-hwdep.c ALSA: Convert strlcpy to strscpy when return value is unused 2021-01-08 09:30:05 +01:00
motu-midi.c ALSA: firewire-motu: share PCM buffer size for both direction 2019-10-18 04:35:51 +02:00
motu-pcm.c ALSA: firewire-motu: use table-based calculation of packet formats for proc 2020-05-22 16:52:16 +02:00
motu-proc.c ALSA: firewire-motu: use table-based calculation of packet formats for proc 2020-05-22 16:52:16 +02:00
motu-protocol-v1.c ALSA: firewire-motu: fix register handling for 896 2021-06-23 10:17:29 +02:00
motu-protocol-v2.c ALSA: firewire-motu: add support for MOTU 896HD 2021-08-23 10:58:40 +02:00
motu-protocol-v3.c ALSA: firewire-motu: use macro instead of magic number for clock source in v3 protocol 2021-06-23 10:17:27 +02:00
motu-stream.c ALSA: firewire-motu: fix error return code in snd_motu_stream_reserve_duplex() 2021-06-04 08:47:53 +02:00
motu-transaction.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 345 2019-06-05 17:37:08 +02:00
motu.c ALSA: firewire-motu: add support for MOTU 896HD 2021-08-23 10:58:40 +02:00
motu.h ALSA: firewire-motu: add support for MOTU 896HD 2021-08-23 10:58:40 +02:00