Message ID | 20230517115219.532-2-trevor.wu@mediatek.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1081238vqo; Wed, 17 May 2023 05:06:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ54jXhoAopQ0pD7dPE3vogTLu6Fr56b/8uUPTyUIHMo8ctPILhz+qotzy6JBtCY7wODjRLa X-Received: by 2002:a05:6a20:3c9e:b0:103:f80c:78d4 with SMTP id b30-20020a056a203c9e00b00103f80c78d4mr28187350pzj.1.1684325184270; Wed, 17 May 2023 05:06:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684325184; cv=none; d=google.com; s=arc-20160816; b=q+PPB2IqIKZ19jJvJdO2ZmSBkn5g1y6vtC0lyARk86te1udyxpysqo50QQFIMzTdIi 8G9INor2nBUfWJhfiqhw7qzzkkJgzahFZ+UA7Rt/UO5BJEPRYhWunQOC+ymZrDk12tnV Vi7SWQaOdsk9afUluoedinMv1H7CBv96OY7WM75jrMbpkxxfY06oJLqyb6/H1MUzAPpV T7qkVflbozzGhqNyR/ia0UtqSVh/NGo5YUCeyKRpIJAEilbeeTErEVpuWGAfK1eG8tV7 aZbJCmS/2QUWB8DZcvlLArnrNpqkQoSm5BxYWY8T2R10yeyQ5iPXxdc6p8mCZhjVedot jQGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Hnp/57gXsk+TNT/fI9Yb95VTEke89vqAlK7MkECjAkM=; b=EhjV8oti6F/m/rGbjJ5yLPOyUpoDQQ/lboDhnHW24ROPzM8Q1quWB55XA2DM7kp32B H1M+bEUiLTrppYQk0jeMlq8Fbyl+3z1mQCnV6YmRJJYocdjhqWlA/bml+7wp2lNyF5pO yMtWiQX53+NJELSuPtXWLSM0X98OPnwvYbhc41a4PdWWe8czObtgyEtntrsPJ4MpMQtf +hlAfPNorPMAx0oaGl+LTHIw7H2en9sGFHCtlOGFo8A7rO710O4i+r/jaULikq3Gvvz8 jedrDoQbVsy6zZzbP5SuTsFCiHespu/YNEmKOnndRd9MqCpgCuS3wLlX20btXMa0Ydjq opaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=ELnfav6L; 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 x29-20020aa7957d000000b0063b5875dd22si21649727pfq.308.2023.05.17.05.06.07; Wed, 17 May 2023 05:06:24 -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=@mediatek.com header.s=dk header.b=ELnfav6L; 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 S229756AbjEQLwm (ORCPT <rfc822;pacteraone@gmail.com> + 99 others); Wed, 17 May 2023 07:52:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229999AbjEQLwc (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 17 May 2023 07:52:32 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1680655AC for <linux-kernel@vger.kernel.org>; Wed, 17 May 2023 04:52:30 -0700 (PDT) X-UUID: 481362b4f4a911edb20a276fd37b9834-20230517 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=Hnp/57gXsk+TNT/fI9Yb95VTEke89vqAlK7MkECjAkM=; b=ELnfav6LkboVr2GTecY/zJ1/9cm8y8w5WYrkUG/rzgVv0trmI9Dr4/YMAAFPoRKaBlZ3k1BJQl3JMD7RoPJ5HbqbyzCLWDZ+cQ29eCeHKswJ3582Zi79B/wA3MpEZERZTN2TnzpBayjFRHxIE/9JGKtTxeMHsSMlwGU/naRvaE8=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.25,REQID:39c008f1-94fb-46b9-868f-54b347aed779,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:d5b0ae3,CLOUDID:8c1c26c1-e32c-4c97-918d-fbb3fc224d4e,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0 X-CID-BVR: 0,NGT X-CID-BAS: 0,NGT,0,_ X-UUID: 481362b4f4a911edb20a276fd37b9834-20230517 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw02.mediatek.com (envelope-from <trevor.wu@mediatek.com>) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 933927146; Wed, 17 May 2023 19:52:21 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Wed, 17 May 2023 19:52:20 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Wed, 17 May 2023 19:52:20 +0800 From: Trevor Wu <trevor.wu@mediatek.com> To: <broonie@kernel.org>, <lgirdwood@gmail.com>, <tiwai@suse.com>, <perex@perex.cz>, <matthias.bgg@gmail.com>, <angelogioacchino.delregno@collabora.com> CC: <trevor.wu@mediatek.com>, <bicycle.tsai@mediatek.com>, <ting-fang.hou@mediatek.com>, <alsa-devel@alsa-project.org>, <linux-mediatek@lists.infradead.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org> Subject: [RESEND 1/4] ASoC: mediatek: mt6359: add supply for MTKAIF Date: Wed, 17 May 2023 19:52:16 +0800 Message-ID: <20230517115219.532-2-trevor.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230517115219.532-1-trevor.wu@mediatek.com> References: <20230517115219.532-1-trevor.wu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain 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, SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766142964171788787?= X-GMAIL-MSGID: =?utf-8?q?1766142964171788787?= |
Series |
ASoC: mt6359: kselftest fix and driver extension
|
|
Commit Message
Trevor Wu (吳文良)
May 17, 2023, 11:52 a.m. UTC
There are three output data pins MISO0, MISO1 and MISO2 for mt6359.
UL_SRC should be enabled when MISO0 or MISO1 is used, and UL_SRC_34
should be enabled when MISO2 is used.
Signed-off-by: Trevor Wu <trevor.wu@mediatek.com>
---
sound/soc/codecs/mt6359.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sound/soc/codecs/mt6359.c b/sound/soc/codecs/mt6359.c index cb487e63615c..d6a93da2644e 100644 --- a/sound/soc/codecs/mt6359.c +++ b/sound/soc/codecs/mt6359.c @@ -2358,6 +2358,10 @@ static const struct snd_soc_dapm_route mt6359_dapm_routes[] = { {"MISO2_MUX", "UL2_CH1", "UL2_SRC_MUX"}, {"MISO2_MUX", "UL2_CH2", "UL2_SRC_MUX"}, + {"MISO0_MUX", NULL, "UL_SRC"}, + {"MISO1_MUX", NULL, "UL_SRC"}, + {"MISO2_MUX", NULL, "UL_SRC_34"}, + {"UL_SRC_MUX", "AMIC", "ADC_L"}, {"UL_SRC_MUX", "AMIC", "ADC_R"}, {"UL_SRC_MUX", "DMIC", "DMIC0_MUX"},