From patchwork Wed Jul 5 21:47:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 13303013 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 6C191EB64DA for ; Wed, 5 Jul 2023 21:49:32 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 8C8C91DC; Wed, 5 Jul 2023 23:48:39 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8C8C91DC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1688593769; bh=X4jBCjEotkAu/UwZyifyK18UpJoKiAqALQAD8kiDayU=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=OJ5NYwuDvN0UaJrhjn5zAbGnwbUfGUU4pyvzN+s8D9oZi0gj/5SWwP8FKzSKwxeiK +jFRl14OJXkQvgtF3VPTwpLY01PxRhdrNW8TU9ui5jWqeNBKckGL88o7huw+gp4ZnK Sc41/TVj9MwxAgMeVeAB4+zlRnJ7zMV49/Jp3zLM= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6B3F0F800E4; Wed, 5 Jul 2023 23:48:14 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id B2414F80132; Wed, 5 Jul 2023 23:48:13 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 60278F80132; Wed, 5 Jul 2023 23:48:10 +0200 (CEST) Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id A807DF80104 for ; Wed, 5 Jul 2023 23:48:06 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A807DF80104 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=collabora.com header.i=@collabora.com header.a=rsa-sha256 header.s=mail header.b=PVOMhYla Received: from localhost (unknown [188.24.137.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madras.collabora.co.uk (Postfix) with ESMTPSA id CAD0C6600B9D; Wed, 5 Jul 2023 22:48:04 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1688593685; bh=X4jBCjEotkAu/UwZyifyK18UpJoKiAqALQAD8kiDayU=; h=From:To:Cc:Subject:Date:From; b=PVOMhYlaWetjlWsJLadfVSwt3pZfTmynd2X90/laNnM/kG4oDAEGKBCxhe68J9ltT mCSaW9RqEljCBwxlS5CikQZ/vnprYZ9fhgWuOR8dS9WOKzTyCu+wtXCaw8IlRc+wGd 5r5N4dXrqaThPQvBYv5nlVnFgYKZVrjjzkrt+fX08Zgl59haLGx+JNAHEj7muxCNLv odO1ykHA7H0qnhGQD37xMvwT0D/LbFsuHSmsrQdKsVnKIAnoiW6x2mjk7hOZAP9qy0 99m1eqvFp4IFdojEYdXRTxp5uAHKWXTvId4aiHEkgyg7HJfqPUhSJQil1W3iozr1hh XEhE9Ybh970uw== From: Cristian Ciocaltea To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Syed Saba Kareem , Vijendar Mukunda , Arnd Bergmann , Randy Dunlap , Charles Keepax , Kuninori Morimoto Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: [PATCH v3 0/3] AMD Vangogh support for NAU8821/MAX98388 Date: Thu, 6 Jul 2023 00:47:57 +0300 Message-ID: <20230705214800.193244-1-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Message-ID-Hash: XVJ67NRJZYD3SBXJUW37SPHJYN6O2MXE X-Message-ID-Hash: XVJ67NRJZYD3SBXJUW37SPHJYN6O2MXE X-MailFrom: cristian.ciocaltea@collabora.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: This patch series extends the Vangogh machine driver to support a variant based on the Nuvoton NAU88L21 Codec and the Analog Devices MAX98388 Speaker Amplifier. Changes in v3: * Dropped acp5x_max98388_hw_params() in PATCH 3/3 and rely on dai_link to set format, according to Mark's review * v2: https://lore.kernel.org/all/20230705134341.175889-1-cristian.ciocaltea@collabora.com/ Changes in v2: * Reworked series to ensure the existing devices based on the CS35L41 codec continue to work fine * Rebased onto next-20230703 Cristian Ciocaltea (3): ASoC: amd: vangogh: Make use of DRV_NAME ASoC: amd: vangogh: Use dmi_first_match() for DMI quirk handling ASoC: amd: vangogh: Add support for NAU8821/MAX98388 variant sound/soc/amd/Kconfig | 5 +- sound/soc/amd/vangogh/acp5x-mach.c | 149 +++++++++++++++++++++++++---- 2 files changed, 131 insertions(+), 23 deletions(-)