From patchwork Tue Jan 23 16:56:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Herve Codina X-Patchwork-Id: 19343 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp477636dyi; Tue, 23 Jan 2024 09:10:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IGRFgdwe4ie/8vo6BVrhPfdJXoK5WnTyRvNmo+dMM58UKRAZS4ok2op8Zgq2uqF9r6VQIcb X-Received: by 2002:a17:903:1ca:b0:1d7:6c58:a654 with SMTP id e10-20020a17090301ca00b001d76c58a654mr1515689plh.8.1706029818403; Tue, 23 Jan 2024 09:10:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706029818; cv=pass; d=google.com; s=arc-20160816; b=Y3v/JD0hp85D54IJ4fEfxUvo66IqhUFhYN80e5TPfTm/dqDKkehlqtZqpQ+lAZbSw3 l7HoOnPStxCm825RE8230+m9k1K7hcxSqagDPd5TTwNTZY2UxJbdlYWkEZ9v8HOosHuX f9g2XcAoJ8YiIhjSja4Ft07ktgigRKOQK9GTTA5xdCW8b7g2y33c7I0nVtwARxVHZCbH ldPKgDPj2FwL+1FkIEi55c3XF013dV8uVFirh6XkW18dKbS9EB9LslGXeyZH1eWzoTLH ZVxE9kmHPaCl1VvW77gnOHL/3h4rThmzVEi02vQ5KbYqUhsGlUjvIEdxZNYvozqksFjH OYqg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=y6zKOydFE4YNS4qWuRmXdt0aeAzHKR+ZP0mVpRlo5LQ=; fh=ikkIFFEFV32KlhZ9eEUJ3ONrtjSaaJuRbOhkLqk4uEI=; b=g7/WxLzdnabVVZVTi3xTYafRH+35gVTEYY/AbFE4zLtUtwXaaAzPOKZsMKAWqCAW2N Usz5X4CWAShN/HhUgD3AN/5EzEwq9yA6QAeFr/YgFfvTs+iJqb/utbDjt2l+HTitVgq8 DV2MvRzWj32Srq/gTGTiLWM1rz9+KOBxl0+Kod49kBdg+FKOpPFy7D8XmGkbiXMODprM 0X7RXIwcKBRtxaZD+MXObvST5z09vmSmPGEXcJ3mdUclim6dGKQHOzu2eN03ZBSy2jMZ VgWUaiUDAfB0qC2+d0zHgqiXGGjBYHkD1n0OZhmj6ReEXcyOyki6OgSJZKXUE2p9WTDT Xf1A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=LGTP6V3f; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-35723-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35723-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k10-20020a170902c40a00b001d6f28b7031si10340503plk.193.2024.01.23.09.10.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 09:10:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-35723-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=LGTP6V3f; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-35723-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35723-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5BA17289C0C for ; Tue, 23 Jan 2024 17:00:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 836CF82D74; Tue, 23 Jan 2024 16:56:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="LGTP6V3f" Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E11587F7ED for ; Tue, 23 Jan 2024 16:56:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.197 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706028985; cv=none; b=AdhLCgHmc2k3deo5r/CBlHPE/8MuSYw432uTWmwuuP90MFjDiSaNMSfgH38XByGDdmNpoKaar8mwUggE1z+lzoMjSCzsYQSAvgtM0dBroM4k5HMnqJFJGFQd7HsFugMfz0JF+LFqm6Vmw1waZqN/qQS5Qt6iNCDBIsVyu466USQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706028985; c=relaxed/simple; bh=NpWVul+0kJHPkFkDMQv/ztRnm6Ag7wfkANj8KnoCCSk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=E/kjXpPJldc5rqVdvjkmrZ2J32ZCwav+QcoUwQIdY4Km1oDw3FSYpneJu+esRFneQtvqdTGuB9WeJiBwQxWpscUOo2UQQeiNpx95MoL/FqdkuO3NwtmMLwPI9u70KzNhpzOqFZlz4V+YNkPeTOfLBRPLgSY1tZdZZkQD6loU4BA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=LGTP6V3f; arc=none smtp.client-ip=217.70.183.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPA id 1BC9F1C000B; Tue, 23 Jan 2024 16:56:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1706028980; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=y6zKOydFE4YNS4qWuRmXdt0aeAzHKR+ZP0mVpRlo5LQ=; b=LGTP6V3fmTY22gfMaEsa+k1HpmooZzFOlniOvPPRxw3CfReSZ6dtn0D3jn0MGbW/VRusmW cTxZLkolgUyq2mhVAPzoqPvI0pCuYXZqywGt3DB4+V9L/P1R312nRpPrgxOa+0BtMrN3ue R9gqHlYRVm2243FMF+jIjs8HIU7eT0DExDLyfrfDpR6pICuJ1o4sIcoXrXntN94Z7bXg1s unpHHqpA+7iDKe532C2a5OaRKyT2dxPyfeguysRHmfGl95URWiQd27rWu37HJ+6J+0LUgj yDbdFSC8oFhzvAplmF/0XXwqyyoDwREF3fyIwXVNDclKVtv7iyAhCUNn2dAEGw== From: Herve Codina To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Herve Codina , Christophe Leroy , Thomas Petazzoni Subject: [PATCH 0/1] Add support for the framer codec Date: Tue, 23 Jan 2024 17:56:12 +0100 Message-ID: <20240123165615.250303-1-herve.codina@bootlin.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-GND-Sasl: herve.codina@bootlin.com X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788901923294127492 X-GMAIL-MSGID: 1788901923294127492 Hi, This patch introduces the framer codec support. The patch was previously sent as part of a full feature series and was previously reviewed in that context: "Add support for QMC HDLC, framer infrastructure and PEF2256 framer" [1] In order to ease the merge, the full feature series has been split and needed parts were merged in v6.8-rc1: - "Prepare the PowerQUICC QMC and TSA for the HDLC QMC driver" [2] - "Add support for framer infrastructure and PEF2256 framer" [3] The part related to QMC HDLC was sent upstream recently and is under review [4]. This patch is the last one of the full feature series that was not merged nor re-sent recently. Best regards, Hervé [1]: https://lore.kernel.org/linux-kernel/20231115144007.478111-1-herve.codina@bootlin.com/ [2]: https://lore.kernel.org/linux-kernel/20231205152116.122512-1-herve.codina@bootlin.com/ [3]: https://lore.kernel.org/linux-kernel/20231128132534.258459-1-herve.codina@bootlin.com/ [4]: https://lore.kernel.org/linux-kernel/20240123164912.249540-1-herve.codina@bootlin.com/ Patch extracted: - Patch 1 : full feature series patch 26 Herve Codina (1): ASoC: codecs: Add support for the framer codec sound/soc/codecs/Kconfig | 15 ++ sound/soc/codecs/Makefile | 2 + sound/soc/codecs/framer-codec.c | 413 ++++++++++++++++++++++++++++++++ 3 files changed, 430 insertions(+) create mode 100644 sound/soc/codecs/framer-codec.c