From patchwork Wed Jul 5 13:43:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 11644 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp1889985vqx; Wed, 5 Jul 2023 07:02:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4sBi1ITNu+jbXWZSNpObq0wieWegc123JlqoM09XxkvYvVxvgm+VWCI6xBSz8qpAuuOg2K X-Received: by 2002:a05:6808:191c:b0:3a3:6e43:e681 with SMTP id bf28-20020a056808191c00b003a36e43e681mr18520136oib.58.1688565736719; Wed, 05 Jul 2023 07:02:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688565736; cv=none; d=google.com; s=arc-20160816; b=qHfRSxSiYKsyeFjHwS/LF7y3f00/zYDDPKBesJJiSWHd+L9HwOVYrGs0vug8PDtXmj GFgHb90RRmINzwSrdAPJgahnuRZfR5VZoi/99zfdKf4BzTdGT2YGlB+dXqCAM60FQGHN FWV6EBL92kIfNBsXIUJrqfUcb7uZnwSDOTiKpayMBWFTwaMUMiuF/L+QPW+NYSrFVO7/ O5lylR8528pJvHY/DsEf80OrqhKJPBcT823TUE75g9hFt1kYW+iVchIAlWLBCKS0ppxH R2vmL1GZlL5l7b+C3V5N7iabrtZ4tfriae8RViGfMNEvZ+g5OILpe+HxYe/LI1crrEKU bUuw== 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=x1YNPfvWPO+vXzXw+j/Li5vMPJL8Rbu6EoKltQ3fGKw=; fh=cr2FL92h8TijVQGAjIwEJg7SUp/pazMAzWM7wR+E2Os=; b=rpg0hHise1aU1RPGKlN1jRQA8robdT87Bug/UMAfghpOWyibD79LVHN33bq79HClbU STreYJcFSF+2dN9g4qLcRfNgPglnBQWZtfKP04NzMhDXf801Z4pvYOzNwiV7hHyUXs0/ OrEtoXH2wHJWEq3EglRMLO+LJ6EPHuDpy1N5cAO5ggpe7KbmqTgBWO0R2i6nhCbpS+KS lOhXj1LbzZGAPh/81GZro+Q/Lm6xfewEpEXc7mhjXwlxIpKyiNn1+LC3+ZIU+fCN/U1V uux2qjQZmv5omP/KrTZ/Wza2LezsncOls4X/0t3fozwLJDmMBbsI76T6ZrqZyEsoQxDL aFkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=gwDn4hyI; 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 bj21-20020a056808199500b003a1ed48ea72si10036869oib.275.2023.07.05.07.02.01; Wed, 05 Jul 2023 07:02:16 -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=gwDn4hyI; 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 S231984AbjGENnu (ORCPT + 99 others); Wed, 5 Jul 2023 09:43:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229455AbjGENns (ORCPT ); Wed, 5 Jul 2023 09:43:48 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D041ABA for ; Wed, 5 Jul 2023 06:43:47 -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 E18C766020F5; Wed, 5 Jul 2023 14:43:45 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1688564626; bh=5bjQOEUku2okttevc3PZVpNPoxW8myAeEIowZbKzBIU=; h=From:To:Cc:Subject:Date:From; b=gwDn4hyIXaJbyClgM1YhDa4/fU1uqKrOviP1psPa+4LrL1wjZHA4ROIzF9LACNKaH vX2Y8tw4GWgXzyj/nZQPTXz7HSMAoVTRiBtquILhZDFSFw9SmHYhfpNKaWxbdp5mtH HlM73JCEOguZzO4W6HVR7Vn/ado3CZPPfuQlN9gK0EC4XKs2EMrSQhAY5RKmv5pFD+ lV8BnFfSAfJoXJ35FyzBcF8KPsckZhpr3ZlyXoLmni2BXJXJGj8YtgIj1mpSIhc66a SJjW0GO51MlXAxFrcG8XUUZN3tYcQdAEk05/Db6JkZqQKfaM22wb8lS6jHj1pkWxKH oWBsXkBj5hp6g== 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 v2 0/3] AMD Vangogh support for NAU8821/MAX98388 Date: Wed, 5 Jul 2023 16:43:38 +0300 Message-ID: <20230705134341.175889-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?1770589506058163047?= 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 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 | 167 +++++++++++++++++++++++++---- 2 files changed, 149 insertions(+), 23 deletions(-)