From patchwork Mon Sep 30 02:14:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 831954 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F25CCCF6498 for ; Mon, 30 Sep 2024 02:17:55 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 3CC7AEDB; Mon, 30 Sep 2024 04:17:44 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 3CC7AEDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1727662674; bh=gb8047m6aUcDhBvJPYS6TSjIVhl4bb/0b9SN+1QCZQc=; h=From:Subject:To:Cc:In-Reply-To:References:Date:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=Mfpobfe88JuQ9KsoLOcfXyAMmGA/ce+Y27ed9MtMX12VdOP3lSRaehz8+69MdptXg eiWBwuk4Hb4rFdot35guuzIWZ4CkkmtaYQAAWZ69vaXx9I3GH4+v0mhc7XmDb50pL8 dTlkVfaZbbACihyikYKBO9oEgAxBlCLaf+GXQMcs= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 740E2F80527; Mon, 30 Sep 2024 04:14:53 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 0165DF80800; Mon, 30 Sep 2024 04:14:53 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B8417F8074C; Mon, 30 Sep 2024 04:14:48 +0200 (CEST) Received: from OS0P286CU011.outbound.protection.outlook.com (mail-japanwestazlp170100001.outbound.protection.outlook.com [IPv6:2a01:111:f403:c406::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E580BF80726 for ; Mon, 30 Sep 2024 04:14:45 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E580BF80726 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=renesas.com header.i=@renesas.com header.a=rsa-sha256 header.s=selector1 header.b=H90PoayG ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ENDH94pRw4fhR8xNXvy0TfBAM6ckSveyRR/5kWgtVPvzgxEZAeJ7cnEUsvnmy9EuT6+0JYmFJbPj0QUcgS9ncy5kFwdthx9zDyjiioh01Fdv9Cy13m4otZqOwc7/n3a3uxrI2BpO2Wx1+FCGWzSa+FZOYvduN+76BSc78TfU5dT7W14pxtFxnClyZ9bOnaO+ssHUN3Kp39iED9270OikhLVzheK1j5fvHufwo0pTRVgQmtclfWOpeTfiw323RiBDpCwvcONyEDJcnB7JHqqxjtScCrDmn0L0YyXyM9zFN/ZxlEjYAG5VAo6qV+rMeHSJncqBnputzQQ636wCfG+47g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zF9L7c8BWVpiszPzAdAnNL/OjGbbyqG4WtEn5uBwTt8=; b=jx1jWUSfhXm/VrBfVptZZgVa68q265Z03gccx/J2dbcuvVI7bHMKY8bTGXMUGj2fqj4IrNRFSb4VvVo1NIUQmfPzYjlzfUuexZUxPCmhfQCEWExTyEltrQ8i442SwzgbD1vb7W8y/4fR1KReC7Njfaw4EOpf5tRYhPE8A5RXe/GF/HGBP9zivg2lmPEu+GeR2GRfgGRbOFpI4x4b4mN/oLh3OaS3m1vVujVCJkKfb9NkUs4Oo1RV+iWCrVpzQYEDzL5drmvZWAOFnucT7soiS4Y449ErqseKP0ujNSDHCFPCf5nTyGW+Rt8KNXkIhY7ApPOx+6mz2DHka8E1X7VhNw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zF9L7c8BWVpiszPzAdAnNL/OjGbbyqG4WtEn5uBwTt8=; b=H90PoayGKjYGoRaegGys9B6wAfEFF+oX/6ug2I3BDdjgjZjT/aAmvayRhTn0ks9PoE6U+SUxkFJ9/IL5QxxJAd9BJmgNW5VCqQmGgeTyfnMeB6GDDMYxwZbzjJmDrze/H1yLjAsQTXjmjOf0FPhr5yIWMzU/QCEOnhpR3ghc2c8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) by OS3PR01MB5798.jpnprd01.prod.outlook.com (2603:1096:604:c3::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.26; Mon, 30 Sep 2024 02:14:42 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%5]) with mapi id 15.20.8005.024; Mon, 30 Sep 2024 02:14:42 +0000 Message-ID: <87a5fplwfh.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v2 12/13] ASoC: doc: remove dpcm_xxx flags User-Agent: Wanderlust/2.15.9 Emacs/29.3 Mule/6.0 To: Mark Brown Cc: alsa-devel@alsa-project.org, linux-sound@vger.kernel.org In-Reply-To: <87r091lwhg.wl-kuninori.morimoto.gx@renesas.com> References: <87r091lwhg.wl-kuninori.morimoto.gx@renesas.com> Date: Mon, 30 Sep 2024 02:14:42 +0000 X-ClientProxiedBy: TYCP286CA0111.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:29c::16) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OS3PR01MB5798:EE_ X-MS-Office365-Filtering-Correlation-Id: bbdf3f13-bbd6-40e8-6201-08dce0f5a55e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|366016|376014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: YQUSoiCjuni0ICf4y7YPdA16+HcMjDUDN/nkiqhUAjd3WOQw0JfMd69LC2o0D0CIgl7+cmIOGz7KFGbLTMPpM5Z9Xj5a7bN6B3NL+1O2oriseN30Orr5JVstXpg53H2aTfIxKQOBe8iy7cExNAyatvX7xW/FpdzxPjtdYXmj7/9yMhXSMkNerlb2jbLTm1zVc0yvJBsBt7xEkweFxzWP3WSt2wgzauwu116FE5jYAYzREn/M1Nj3cV9eOn5WIn6Xb6BBAgiR2wh6DfbO/3FCA3dKJ+v51H0cKEegzC7X+cgZSCtvhtQ7gMQsH/PihUgTjDGteP00VNNbZxUrMu8/h4Co43fkp6ifQPhv+8PF0ERoJgf8/yiXjUv1oc+XUwnw5gSll06ZcLjI1x5tjRyX4R5a3g5k6A+jlw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IPV:NLI; SFV:NSPM; H:TYCPR01MB10914.jpnprd01.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014)(52116014)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: fPbJgpM9EOB291cTUQl9lW8cxgjmCRu3Qz097Dh1Czzz4owTsLA4PF9kB0egGs1yHNDSH6VHAkqux8ODoGupd6EXuOU21Wz97L11EssfUGprA5CKDXgluxe/12VUAWt0sODdlRCzUx1gQ/6YLMkdMY93EggNhS+8s/K1l14QY2vC3rB0cILJtvWkQW9jDI5RUvssQbXQ/9FxJgxCqWQwwpH5bpV7UnTQvVQWVw/KAEIOmgAa39dTgkJ8kaPwuG2meQEHDJ3B3nPIFT9hNcOVbDrA/mRf/2KvHDAlZDuLw/VSKVrQmWcA3rP00qqKa4wU4N1Z+NRFbQhCStS4WcNVi4svy5GuXEpJo4EB2gUFsRJ84+5m7dTv2vLCnqU3iAAOxkmGN9o2rF8IgYFJmQU2CIUG8qs+AcRENraCraXYuB8YiHLy0WHwMouXJtba1cq8SK4CC5r5ZPhAhINHumaaLDjgnR9baKZQKOyFiMvPzkj415slK5/CnbeHaT2pZPeKGAEYVJMW6Yph6BwfWFnlf89TLqjZ6FnIZF1qxizvGMbjl3XjAHQv15rk18xMdDk2s063VWC69db72wDXhJpDEm03/CYjtyhcnXsWnou4gWbzW5PWcyJIk2wDdqyxQxWe5WX9RPrd/jTyEur+jY5WsDbrKFVpPw1ljQmlDzPin1HLFH5keC7nl2WtiSKYT1njZBjDU9+Yy4ghe+CBbCdX1MXwQUpvRzIY6WHysJ9YeQM0M7Hu0/SWGOD0BNOFqPaS/pIAZM5P1SMHD9//B1ZQrVBXmH5v+un1r0g1yEfFKokY8sAJpCjxsw6P8aAM6bX07UlbsVi7VRMLllCuGajdcdMcu4lyWuOwfpG4RViJI8egKn8EfdPkHofL7uEy6yygSvNzUEh/1tO2DsgYHAgZTtjuaR5TR28+KBITYh1X1tjddCmpJBUNv+912Kh8z7FjVD4Cn8a09E+bPupf8DIh3xcdhiSRrTqC9pDtk9Re564/3DmGcmEOgxmzD6M9Zasuh7yCdQWE1yryUN14KmDxwqo8NZKtPhsfn2t9pw0t+DgSGCavvygFJS+96ztllKUa7UTNwrUGtlNnlPxwvN1SwgKCeUWKS93wuln25SoRamTPHwX+3hA3VjcT2z0VOXfz6OleVYenEekbZN/Ew02Gqxkqu1WzRNFrdWaAOM7OgpOnXuOevhK41wairyyNQOKJvaAu4yLTn8dsexPM5hrGhqRLio16qdQDMwdoLeVZ20zpzXuM9fcNGtcGSi5gQ6GhVKcf293fD1+0JbFwGMfh+hbQJ1dLg3wZROlURIPDHrYJeBfO2zSe5UhyJgO3dfH5NWLmVlIjGorPXlx4/fE1iGfapiELH5GVOZdJ1aoIVkO9PmqzgFlsXJ+azdHMPLKXjTQeW8hzEdmVqmaIlD++9wVNvVuY4aaTzUy37JooiNTdKGKME4OrjHRzHqUa4AYRTlJ6+3EmCAM+2Ei0FSYo3XPpp496vsM1UNpcNtMtlzj3KgNvy2IrNQGIH+mzciecgoFksI0w5CbejtZffzq8azYgsQw4P87AoHGWGOTOWaLNIWAyBcBsGypI+GxTXqbBwV+CFw0Sx1d/2LRAV2EpWxq8ui79Kj/OAOqa1o9pRbM= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: bbdf3f13-bbd6-40e8-6201-08dce0f5a55e X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2024 02:14:42.6490 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: hL+xHdJOEAsEvZPOxNNm0rvi8nrcPY/tPvgMONl2jLEuxO7LQmf41DdNN71FZW3loxIYfHWYpqY4vVtBchKAMAmHQnpXEiNzgYtYU1YzKdOo7zdnWi6vAJ6UhZ7wyOkh X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3PR01MB5798 Message-ID-Hash: LJDMXIKGCT3TOIMP2FLCBEX3NWGV26CU X-Message-ID-Hash: LJDMXIKGCT3TOIMP2FLCBEX3NWGV26CU X-MailFrom: kuninori.morimoto.gx@renesas.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: dpcm_xxx flags are no longer needed. Let's remove it. Signed-off-by: Kuninori Morimoto --- Documentation/sound/soc/dpcm.rst | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Documentation/sound/soc/dpcm.rst b/Documentation/sound/soc/dpcm.rst index 2d7ad1d915043..02419a6f82132 100644 --- a/Documentation/sound/soc/dpcm.rst +++ b/Documentation/sound/soc/dpcm.rst @@ -157,15 +157,13 @@ FE DAI links are defined as follows :- .codec_dai_name = "snd-soc-dummy-dai", .dynamic = 1, .trigger = {SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST}, - .dpcm_playback = 1, }, .....< other FE and BE DAI links here > }; This FE DAI link is pretty similar to a regular DAI link except that we also -set the DAI link to a DPCM FE with the ``dynamic = 1``. The supported FE stream -directions should also be set with the ``dpcm_playback`` and ``dpcm_capture`` -flags. There is also an option to specify the ordering of the trigger call for +set the DAI link to a DPCM FE with the ``dynamic = 1``. +There is also an option to specify the ordering of the trigger call for each FE. This allows the ASoC core to trigger the DSP before or after the other components (as some DSPs have strong requirements for the ordering DAI/DSP start and stop sequences). @@ -189,15 +187,12 @@ The BE DAIs are configured as follows :- .ignore_pmdown_time = 1, .be_hw_params_fixup = hswult_ssp0_fixup, .ops = &haswell_ops, - .dpcm_playback = 1, - .dpcm_capture = 1, }, .....< other BE DAI links here > }; This BE DAI link connects DAI0 to the codec (in this case RT5460 AIF1). It sets -the ``no_pcm`` flag to mark it has a BE and sets flags for supported stream -directions using ``dpcm_playback`` and ``dpcm_capture`` above. +the ``no_pcm`` flag to mark it has a BE. The BE has also flags set for ignoring suspend and PM down time. This allows the BE to work in a hostless mode where the host CPU is not transferring data