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: 11668 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp2159160vqx; Wed, 5 Jul 2023 14:58:43 -0700 (PDT) X-Google-Smtp-Source: APBJJlEnd8yum7Tznh463teDHabceNmIbEtzVFwYb/pgPFSfTPgwFsbbQGzGPoXZXzWjmtcUj1w5 X-Received: by 2002:a05:6870:ec86:b0:1aa:9eb6:974d with SMTP id eo6-20020a056870ec8600b001aa9eb6974dmr330107oab.41.1688594323354; Wed, 05 Jul 2023 14:58:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688594323; cv=none; d=google.com; s=arc-20160816; b=DzoIN9NJpyO3lQouoCo0eD38sCNMpvpsMYcgfUAam0i7xq6ICo0VloydULdTtGgMJP Bjm8sVKFeS+cucR9/JoQOQxMDfEkEDdwnxEa/W4QA9grQBHRE9C0nlyQnq8nD8dVWiR0 zS91Cd6Q/WgJZZeFc+E+VOmQcVcKcgHkC/HrdtsmDnI3ocOAs1kpDZpaj35mR9mxUkbd W508KjMYaTdjhYuQyGr0CvTFpZUzIrk9AIQ1ukd1VZPRCu2pBw/aZJcU5vXPgURilvwh 2qRrobOzZ1yoYHoxhmp4eGzLqQWF/5nIh8ZNOQqMbykr0obB2SMQ8avPA4A9eImnqbZb AHeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=AkylOwiPdLOTjqE/j4/x1rBlYhR7wHmCUbtP121vr1c=; fh=WpwulVhbj4/4SUydfqjIitCcTK++J8QA/iGpwX/VPoo=; b=wbd2C5a0pkjPCcXapPNTAxSo+bUCF2lc+KPavl/upV8IJUf4kfJ27vlTOC0/m75VAb JG2OGE6OR4fWWZ8XdXgU0UsTRwKGcA58PJ2aky4a1Z4PxGFwbDXSiTA2eQCHsd8r3kg7 /uWXQwGWrCc5NyhjjsYEHOKgiuE0X7bau1sNJBcRdc/ZVu4vWqY6g89xDbW1Lzu5dB/9 JWLNMnvUeitlLgI/sb+mMdTQdECmPRoCvWeDHzDAkofnaOoZWiV/kKv4klFoGNoUML51 29YgtdXMxqVlzB8uhlnfMpe8F572EihmsM6gWMcrvZDLNg8tTRTl7/HOoevAoRm9I/Rv MPng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=PVOMhYla; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b4-20020a17090a6ac400b0025e2c7b1808si187409pjm.53.2023.07.05.14.58.30; Wed, 05 Jul 2023 14:58:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=PVOMhYla; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230305AbjGEVsI (ORCPT + 99 others); Wed, 5 Jul 2023 17:48:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229634AbjGEVsH (ORCPT ); Wed, 5 Jul 2023 17:48:07 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D8BF198D for ; Wed, 5 Jul 2023 14:48:06 -0700 (PDT) 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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770589506058163047?= X-GMAIL-MSGID: =?utf-8?q?1770619481009544356?= 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(-)