From patchwork Thu May 31 11:06:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 137363 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp6449760lji; Thu, 31 May 2018 04:06:43 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLyeyKBc8h53+jRIObERu3C3G1hOM7qNKIKQsec4tR0/YuPjQsplf4RKqCrCl4s570DHjGm X-Received: by 2002:adf:83c6:: with SMTP id 64-v6mr5342501wre.270.1527764803899; Thu, 31 May 2018 04:06:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527764803; cv=none; d=google.com; s=arc-20160816; b=QVwvXK9+nffqYhjdx5V8GY5bi1A4UpkhOqx4mv/R40FhKSo2IHb2CQATaAdQJRBu44 XTAhU+yK3OPP25u/1l82x2rDMccE03yuLjOO3nDfvgHOD9N95GYwzfKcSoddJCU8oXBZ NFWTSYH1NsCvzMLknEqcG4VuWA9sTNbrjQgzS991AkPsF6f5TXODdPMhVYQMRbJ2LQut xX+6jc79ur//T9vHym6XxKvsuiNoVwD/ot4Z9lmMSP7YQ7XKYLFud2CpGQlJLKI9SYLz 42EvlKuhyTvGdtn9NyUp7iNZg95sF6nzMxuFXDaVvCOdSk7TjAguYWyjHPYRa9qPhVf6 y2qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=BYutAsLlh03UUD3dIh3Oe33LuYj68xXPZrjzyD4Yj6w=; b=qhxnD98pWJJPytChcnaGoo2KOI3ZAyE0iRobC4Y1KoE+k2/Mt8gayV1+MR/bT8Fl7w CPYPb/rf7CA/2ZfZVmhsaVByQEt0PQyN0WCTJYIFdskdLcLlkhY2vr424EQ3HQp2KfJP feDKfCoCfHeynC+UrD8Y20uR0s7U3qboz3eZyVoOPlpHVtbeN4cV65j1kZ5OfFqtFbH4 8VU3hKG+UYVPum2Uq6yL0LvHmvxgRLpWvHATpm0IWjIKz9tHGoMBUyRwQjUk3O9Ro0kB F7og8aNxrLY0DZLnmxRtkTYDBiktty114aVCXVlDvjgydG8MaStRIdrmn3m95bqUz5kV eQng== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=K5A22ftO; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id w3-v6si716055wmf.163.2018.05.31.04.06.43; Thu, 31 May 2018 04:06:43 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=K5A22ftO; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id DC1EC26790D; Thu, 31 May 2018 13:06:36 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 88EB1267906; Thu, 31 May 2018 13:06:33 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id DF216267904 for ; Thu, 31 May 2018 13:06:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=qRZ9pPbUBYfc5EdD9MP4t4dTIYMMkqEQdOlGa69ByUs=; b=K5A22ftO4tXe fadqBtj9fybS7ZfMy8cO5Pu5SboAOCPaCX0/OlRdPIE0Fe9aAfgDDW8ByJO2T212zL2ZKYNhcnpgz 3fWJ870XFoDjKQ6PldR85QRNQwwPC0eXM0TIQE+KU78MogtYcNnV96q6Ot0DHfTzdlt+A9VJKp7um dsrxo=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fOLPO-0000At-Lo; Thu, 31 May 2018 11:06:18 +0000 Received: from broonie by debutante with local (Exim 4.91) (envelope-from ) id 1fOLPO-0001wK-7q; Thu, 31 May 2018 12:06:18 +0100 From: Mark Brown To: Kai Chieh Chuang In-Reply-To: <1527729981-4802-3-git-send-email-kaichieh.chuang@mediatek.com> Message-Id: Date: Thu, 31 May 2018 12:06:18 +0100 Cc: alsa-devel@alsa-project.org, broonie@kernel.org, linux-mediatek@lists.infradead.org, wsd_upstream@mediatek.com, kaichieh.chuang@mediatek.com Subject: [alsa-devel] Applied "ASoC: mt6797-mt6351: add hostless phone call path" to the asoc tree X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: mt6797-mt6351: add hostless phone call path has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark >From 983333c0f6c4c6b4dab1257d14d16c31912d7561 Mon Sep 17 00:00:00 2001 From: Kai Chieh Chuang Date: Thu, 31 May 2018 09:26:21 +0800 Subject: [PATCH] ASoC: mt6797-mt6351: add hostless phone call path Signed-off-by: KaiChieh Chuang Signed-off-by: Mark Brown --- sound/soc/mediatek/mt6797/mt6797-mt6351.c | 46 +++++++++++++++++++++++ 1 file changed, 46 insertions(+) -- 2.17.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/mediatek/mt6797/mt6797-mt6351.c b/sound/soc/mediatek/mt6797/mt6797-mt6351.c index 9e5866d6819a..b1558c57b9ca 100644 --- a/sound/soc/mediatek/mt6797/mt6797-mt6351.c +++ b/sound/soc/mediatek/mt6797/mt6797-mt6351.c @@ -89,6 +89,32 @@ static struct snd_soc_dai_link mt6797_mt6351_dai_links[] = { .dynamic = 1, .dpcm_capture = 1, }, + { + .name = "Hostless_LPBK", + .stream_name = "Hostless_LPBK", + .cpu_dai_name = "Hostless LPBK DAI", + .codec_name = "snd-soc-dummy", + .codec_dai_name = "snd-soc-dummy-dai", + .trigger = {SND_SOC_DPCM_TRIGGER_PRE, + SND_SOC_DPCM_TRIGGER_PRE}, + .dynamic = 1, + .dpcm_playback = 1, + .dpcm_capture = 1, + .ignore_suspend = 1, + }, + { + .name = "Hostless_Speech", + .stream_name = "Hostless_Speech", + .cpu_dai_name = "Hostless Speech DAI", + .codec_name = "snd-soc-dummy", + .codec_dai_name = "snd-soc-dummy-dai", + .trigger = {SND_SOC_DPCM_TRIGGER_PRE, + SND_SOC_DPCM_TRIGGER_PRE}, + .dynamic = 1, + .dpcm_playback = 1, + .dpcm_capture = 1, + .ignore_suspend = 1, + }, /* BE */ { .name = "Primary Codec", @@ -99,6 +125,26 @@ static struct snd_soc_dai_link mt6797_mt6351_dai_links[] = { .dpcm_capture = 1, .ignore_suspend = 1, }, + { + .name = "PCM 1", + .cpu_dai_name = "PCM 1", + .codec_name = "snd-soc-dummy", + .codec_dai_name = "snd-soc-dummy-dai", + .no_pcm = 1, + .dpcm_playback = 1, + .dpcm_capture = 1, + .ignore_suspend = 1, + }, + { + .name = "PCM 2", + .cpu_dai_name = "PCM 2", + .codec_name = "snd-soc-dummy", + .codec_dai_name = "snd-soc-dummy-dai", + .no_pcm = 1, + .dpcm_playback = 1, + .dpcm_capture = 1, + .ignore_suspend = 1, + }, }; static struct snd_soc_card mt6797_mt6351_card = {