From patchwork Wed Dec 28 11:57:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Allen-KH Cheng X-Patchwork-Id: 37184 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1856420wrt; Wed, 28 Dec 2022 04:05:31 -0800 (PST) X-Google-Smtp-Source: AMrXdXtTFVMXxELVEft9MFRgbGI9xpMpnZ1YWGvvPN40moDBhT24IEkyqk47gdUgA2iW0QQcCA5T X-Received: by 2002:a17:906:ecf7:b0:7c4:f6e4:3e92 with SMTP id qt23-20020a170906ecf700b007c4f6e43e92mr26905719ejb.31.1672229131824; Wed, 28 Dec 2022 04:05:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672229131; cv=none; d=google.com; s=arc-20160816; b=WxsAi4RqtH44D071tOQY+OxF/X4DBwKUljUjAR36fQ+Z7+lUoXqrFCwCZSIYzpu2vh PS/4VMTYtFrchyo/6vvXmlARumpHrh6QyZt3RlbJ6Xr2Bs3gUhyu5UQN7SfSmAcz03HM uQBqJ899b9EEdX3umaR4LaobP9plYEgA2xIT2lf7dE4GTJxiMGevx6bPVQIiNDAny7yl Zcw7LIG0kO2ms27m42JvXjHMjNXEq9dVg7nBzuzhpG6Joo8wjmBjIWSWmngXiEl8SBNn 2oDI3Om+GO5fd0T3WY7YrcgdsT2qPel7pEUOcP+rcHrps3xMxbS5wpddTg/BhFitrVPc HeGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=uLwMw4epyrb3bzZyb5+8pjUhv+yHD++6G25hkeYYrj0=; b=Qw2z2j8lL5D5JRZBrPq6U9lDqLQjnnxLNheC+WO5M9HPbcSmoLFEmqYaLp8U+sF4Xd 4RZLwtoXRH+gEUOyNe77dHWP0ZL7BRxD0n0WzlwRst0ojQ95lUO+udYID89rteaYoSmo ni4vtLVaGVzkFtXlIn7HXBc1vGm0+/0hbZ1HkJ4kO4xAhz3+/TVaTnis1ROUFUWt9zT7 S8aF47f6r4UONGNkxUzqHjslXh2Yqkm4/rV+FwR7gk/VYAn1c+NyCbtZko20SQ+AEgpi ffJ9fXown78coBpnImtJ4W+HIGxr8xaCj8kGzCg/x+Bcl2aZzt+ZrAmYC03BM0l+RoOA 3bMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=NCZt4ihu; 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=mediatek.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xe3-20020a170907318300b0084c504a1160si7422393ejb.786.2022.12.28.04.05.07; Wed, 28 Dec 2022 04:05:31 -0800 (PST) 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=@mediatek.com header.s=dk header.b=NCZt4ihu; 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=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232655AbiL1L6Q (ORCPT + 99 others); Wed, 28 Dec 2022 06:58:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232525AbiL1L6O (ORCPT ); Wed, 28 Dec 2022 06:58:14 -0500 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1E7B1056E for ; Wed, 28 Dec 2022 03:58:08 -0800 (PST) X-UUID: 084aed19b8264decb81260d38f24f147-20221228 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=uLwMw4epyrb3bzZyb5+8pjUhv+yHD++6G25hkeYYrj0=; b=NCZt4ihup3c3Jw9yWV8K8KB4/xVGG+H2g1bFZukiyLX68sUD6qq/jqOgzhhltrVVq2oRniLgsQ6w3bIGY23qT5ClDeYSBL3Ri8AEo/jf6WbTPYIyd1ZVsy7bR5Sce4VCaw9vs0V1K+nCdD6oUSzicvhvmZPbnYtxg+297L9hn90=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.14,REQID:41a09822-6b0b-4d31-aad4-ab0b9c6c8e6f,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Release_Ham,ACTIO N:release,TS:90 X-CID-INFO: VERSION:1.1.14,REQID:41a09822-6b0b-4d31-aad4-ab0b9c6c8e6f,IP:0,URL :0,TC:0,Content:-5,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTIO N:quarantine,TS:90 X-CID-META: VersionHash:dcaaed0,CLOUDID:d6cca38a-8530-4eff-9f77-222cf6e2895b,B ulkID:2212281958050O1CFDRD,BulkQuantity:0,Recheck:0,SF:38|28|17|19|48,TC:n il,Content:0,EDM:-3,IP:nil,URL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: 084aed19b8264decb81260d38f24f147-20221228 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 405851096; Wed, 28 Dec 2022 19:58:02 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.186) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Wed, 28 Dec 2022 19:58:01 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Wed, 28 Dec 2022 19:58:01 +0800 From: Allen-KH Cheng To: Mark Brown , Jaroslav Kysela , "Takashi Iwai" , Liam Girdwood , Matthias Brugger , AngeloGioacchino Del Regno , Jiaxin Yu , Tzung-Bi Shih CC: , , , , , Allen-KH Cheng Subject: [PATCH] ASoC: mediatek: mt8186: Add machine support for max98357a Date: Wed, 28 Dec 2022 19:57:56 +0800 Message-ID: <20221228115756.28014-1-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_SPF_TEMPERROR,UNPARSEABLE_RELAY 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?1753459334426981195?= X-GMAIL-MSGID: =?utf-8?q?1753459334426981195?= Add support for mt8186 with mt6366 and max98357a. Signed-off-by: Allen-KH Cheng --- sound/soc/mediatek/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/soc/mediatek/Kconfig b/sound/soc/mediatek/Kconfig index 363fa4d47680..7bdb0ded831c 100644 --- a/sound/soc/mediatek/Kconfig +++ b/sound/soc/mediatek/Kconfig @@ -182,9 +182,10 @@ config SND_SOC_MT8186_MT6366_DA7219_MAX98357 If unsure select "N". config SND_SOC_MT8186_MT6366_RT1019_RT5682S - tristate "ASoC Audio driver for MT8186 with RT1019 RT5682S codec" + tristate "ASoC Audio driver for MT8186 with RT1019 RT5682S MAX98357A/MAX98360 codec" depends on I2C && GPIOLIB depends on SND_SOC_MT8186 && MTK_PMIC_WRAP + select SND_SOC_MAX98357A select SND_SOC_MT6358 select SND_SOC_RT1015P select SND_SOC_RT5682S