From patchwork Wed Jun 16 08:28:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Takashi Sakamoto X-Patchwork-Id: 12324519 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AF410C48BE5 for ; Wed, 16 Jun 2021 08:31:28 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 268A061359 for ; Wed, 16 Jun 2021 08:31:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 268A061359 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sakamocchi.jp Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id A9401169E; Wed, 16 Jun 2021 10:30:36 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A9401169E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1623832286; bh=FTlOIWqEpD7NN1xkn8RVsYcTAztdq3GLhGTWk/kKnTQ=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=uWRwF0cX/sFHDtupEwTOAop0W7fPa1c9ppoTDOd5PCJ6ZbVs42y+4UcZ8wpMUHF8S ckdeonv71UHgE1AJtU01PHV+SUtLSatUB+mhn0pZJ3uw1NW17Pc2gwNNXvVmna5Lj5 BpxW+0NHojVZzV9HMXDEtDWgEa1HGfNuKvIJsfeY= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 922FFF804CB; Wed, 16 Jun 2021 10:29:43 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 43A68F80423; Wed, 16 Jun 2021 10:29:15 +0200 (CEST) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id ECF25F80148 for ; Wed, 16 Jun 2021 10:28:59 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz ECF25F80148 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=sakamocchi.jp header.i=@sakamocchi.jp header.b="mP4bsnwy"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="qpQ0UVV/" Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id F3CD711F1; Wed, 16 Jun 2021 04:28:53 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 16 Jun 2021 04:28:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakamocchi.jp; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=AcaoFCHxTL/PpX5+JIgg+T+Af2 mK7RQnFDDSXfUWEoU=; b=mP4bsnwykvaIA6UR73fLlkEz9jXPEURaZQ0qtUC9TW JLot+KjWNYBGsVF4KVFgqAfKbSPwNXoJtZ2zmxaTczzZAF5DPbM6pVNvhiIzI0Py gplw4OOHM40vBtAXQQHls6lpgyRzii/BE+8Am4+OhC8v3VCj8SQWlal29suOPr7u nmMq8ud5Ig/GBaqJTMmH+Aw+MPAYtSFpjwJtHagU6L8EhPCj1qU0Y+QLaRSyak3g Uyxy5CZnwhqtY3K97bAsisQeCAnUWv4NtidlLFi8R5YFyEQmvxXYH0U/ZfmCtyHf BBA4w1na+PZ+fGkyfuexRGHlX598nay4KM4KlJU/Kbnw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=AcaoFCHxTL/PpX5+J Igg+T+Af2mK7RQnFDDSXfUWEoU=; b=qpQ0UVV/vmlyMdwJeKWBfuLvpl2mP40An x662vbZxkOw5w0Ob0+xfKO1EPDRmU9gFa/7KIVKtfT3KVq54Z7cSwG1bDfs5n4tX 2uErA5WjuPEgjNxFQSyMaZCeyHLz6r7Eu7GxoNLDXj0p4lc/kCsqrHqBkVWC3EPi P+i9TbNgMVEaZYmtgpJPY4jI5KclCjCJTeSFd9doD7pKcaWLTWUE8KcHCCM02zab 1ZNhzD1bXUuNUlrUFukFkNo45IyyYLQai2CYwDrmycZWkZRztrF7ZRWq7UuiBvMN vragL/a6qL/DExeMJ01Kels5QLo6PF3oSUcxwivUO06z9j+65OWug== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedvledgtdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgggfestdekredtre dttdenucfhrhhomhepvfgrkhgrshhhihcuufgrkhgrmhhothhouceoohdqthgrkhgrshhh ihesshgrkhgrmhhotggthhhirdhjpheqnecuggftrfgrthhtvghrnhepteeiuefhjeekke efheetieekvdegfefhgffgvdeiheehhfehiedvhffgjeejuddunecuffhomhgrihhnpehk vghrnhgvlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehoqdhtrghkrghshhhisehsrghkrghmohgttghhihdrjhhp X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 16 Jun 2021 04:28:51 -0400 (EDT) From: Takashi Sakamoto To: tiwai@suse.de Subject: [PATCH 0/2] ALSA: firewire-motu: add support for MOTU 828 and 896 Date: Wed, 16 Jun 2021 17:28:45 +0900 Message-Id: <20210616082847.124688-1-o-takashi@sakamocchi.jp> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Cc: alsa-devel@alsa-project.org, clemens@ladisch.de X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Hi, This patchset is to add support for Mark of the unicorn (MOTU) 828 and 896, which were shipped two decades ago (2001) and already discontinued. (yes, it's 2021). It's reasonable to count them as first generation of MOTU FireWire series since they are based on QuickLogic QuickRAM FPGA apart from Altera or Xilinx FPGA in the latter generation. Unlike the latter generation, they doesn't allow software to configure internal multiplexer. I note that the sequence replay for media clock recovery[1] allows to support them. The device doesn't generate better sound with nominal (ideal) sequence of packets, thus the patches should be applied to development tree for v5.14 kernel. [1] [PATCH 0/3] ALSA: firewire-motu: media clock recovery for sph-aware devices https://lore.kernel.org/alsa-devel/20210602013406.26442-1-o-takashi@sakamocchi.jp/ Takashi Sakamoto (2): ALSA: firewire-motu: add support for MOTU 828 ALSA: firewire-motu: add support for MOTU 896 sound/firewire/Kconfig | 2 + sound/firewire/motu/Makefile | 3 +- sound/firewire/motu/motu-protocol-v1.c | 440 +++++++++++++++++++++++++ sound/firewire/motu/motu.c | 2 + sound/firewire/motu/motu.h | 24 ++ 5 files changed, 470 insertions(+), 1 deletion(-) create mode 100644 sound/firewire/motu/motu-protocol-v1.c