From patchwork Tue Jul 25 03:53:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?VHJldm9yIFd1ICjlkLPmlofoia8p?= X-Patchwork-Id: 12548 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp2225646vqg; Mon, 24 Jul 2023 21:22:25 -0700 (PDT) X-Google-Smtp-Source: APBJJlFL8wynqILoRfam8HV8GWm+JzAgSU6InFWAA9GQ9ZukY7gIoV5w5j84YgkE1DojRZF0ma1L X-Received: by 2002:a50:ed0f:0:b0:522:3abb:5bba with SMTP id j15-20020a50ed0f000000b005223abb5bbamr2764385eds.24.1690258945581; Mon, 24 Jul 2023 21:22:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690258945; cv=none; d=google.com; s=arc-20160816; b=BTgcXLDCIeL8SH7hhbeMhklIiF+G96lWoKWJnZMs5gE9jxAQv3tbquGKxEnzqP8ad5 bPrVtLHfJRjVOTm+EPnXtfzEYfP0XeXkMM1OoEYj4enAEepIL3gw/83Z03Ue1RmTKrxY eNOLA3Zks4fNbhEnPMl5MGn+UlsDtKoTPqeUtKbkhXrNht//wdUI38DK4/jkXAUVqfE+ SeSmqb7vKS8cbw+Z+x1NKTzM9cSgUe6Wqr24s+euwt9b4Xci5/VvltIme/PuB1OyI/uj SZPZv7r+/eoijygFf1Ok0I3NITF0d5QS7MPsd1k3rsS7/Zi1P4f7sqP36nP7+FxCskdO ef0g== 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=GT7MVmGfmYJO+iyx5SqU3s70fue5yYzobJ0JNZMapSA=; fh=OefNpeZjFU3zRj2edEV1JgSnXinLzjcidQ7oAoONT8A=; b=PmUhXNr8L6sTc9rn6eI4M2ysFgqQ1EbYS5PdH5qJpy2cfwdc/zlMXrfld6VoHnc1Fs 582RHwsF56FmIUvqA9SUzaDyArJhfbq6Go+p80qUFSZlL1H0vaCJIU6MUEUkcxRw9TAG NHCju+U0nVGV4I1izpnGb94Sod0D1c9R+0zB+4h1HOiWDdgxv1WJETs5bw0BkVhhbp1C nkSHvq2ertSyJ8COhj3YD0n35x5G+rl1tmktyq0QjgNo6Kvs6wiuZr3BlXMJtyhMYOfo 4mZH3yolD/DVNNfu/146q7cfVXxMS+ItnudqgBCX5W9H1pfgWkb50OJF9EicOTo4rXfq jeVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=AJYrwr4f; 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 h14-20020aa7c60e000000b005224df8cb79si310598edq.364.2023.07.24.21.21.58; Mon, 24 Jul 2023 21:22:25 -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=AJYrwr4f; 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 S231264AbjGYDxV (ORCPT + 99 others); Mon, 24 Jul 2023 23:53:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229685AbjGYDxS (ORCPT ); Mon, 24 Jul 2023 23:53:18 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5589119A0 for ; Mon, 24 Jul 2023 20:53:13 -0700 (PDT) X-UUID: c40b62562a9e11ee9cb5633481061a41-20230725 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=GT7MVmGfmYJO+iyx5SqU3s70fue5yYzobJ0JNZMapSA=; b=AJYrwr4fSaw82DL0QlyNceZzyhIu48/yyYLBIXrKrRWIoJ+5XQw3sh5cMES7KgkqoIvIHC3+bVj++vM1BxWa5dGRo6beToO+nSiBqKU/xPEBPus6pI/fg+3b8JLrn44cslGYTXHbiFQ5WVxIQDh2DSRNYzhi9rHqL+Xg6uy+3X8=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.29,REQID:8e8da262-0489-4f7d-ae96-0339aa0eb4fa,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:e7562a7,CLOUDID:565549d2-cd77-4e67-bbfd-aa4eaace762f,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,LES:1,SPR:NO, DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: c40b62562a9e11ee9cb5633481061a41-20230725 Received: from mtkmbs11n2.mediatek.inc [(172.21.101.187)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 950931459; Tue, 25 Jul 2023 11:53:07 +0800 Received: from mtkmbs13n2.mediatek.inc (172.21.101.108) by MTKMBS14N1.mediatek.inc (172.21.101.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Tue, 25 Jul 2023 11:53:06 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Tue, 25 Jul 2023 11:53:06 +0800 From: Trevor Wu To: , , , , , CC: , , , , Subject: [PATCH 0/3] ASoC: mt8188-mt6359: add SOF support Date: Tue, 25 Jul 2023 11:53:01 +0800 Message-ID: <20230725035304.2864-1-trevor.wu@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,SPF_HELO_PASS, T_SCC_BODY_TEXT_LINE,T_SPF_TEMPERROR,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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772364964358555944 X-GMAIL-MSGID: 1772364964358555944 This series introduces dynamic pinctrl and adds support for the SOF on the mt8188-mt6359 machine driver. Trevor Wu (3): ASoC: mediatek: mt8188-mt6359: support dynamic pinctrl ASoC: mediatek: common: revise SOF common code ASoC: mediatek: mt8188-mt6359: add SOF support .../soc/mediatek/common/mtk-dsp-sof-common.c | 106 ++++++-- .../soc/mediatek/common/mtk-dsp-sof-common.h | 8 + sound/soc/mediatek/mt8188/mt8188-mt6359.c | 238 +++++++++++++++++- 3 files changed, 325 insertions(+), 27 deletions(-)