From patchwork Thu May 30 01:30:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13679610 Received: from OS0P286CU010.outbound.protection.outlook.com (mail-japanwestazon11010000.outbound.protection.outlook.com [52.101.228.0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9648D33FD; Thu, 30 May 2024 01:30:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.228.0 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717032606; cv=fail; b=IQ23lxjuBiC7+zeTjIIRfm7WOwsbX9P+XoMaAyg/cSwkGDBz/AGtrWafWVy+wewVZFb8b9EMPDRAD74yd8MfUdRO5RqrrVf/GrAfZZ83qgOnEvrhZn1p5MlIWBElIToaoGFabSXBy/QHcq4Wfpl8h7D/NaiHt3K9Sj2WVKgx8Qo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717032606; c=relaxed/simple; bh=gb8047m6aUcDhBvJPYS6TSjIVhl4bb/0b9SN+1QCZQc=; h=Message-ID:From:Subject:To:In-Reply-To:References:Content-Type: Date:MIME-Version; b=s+Iw+aaPdRmNHscmRSgE/h38pPu1xYAIsQbF1Kyph0a+njejzCmnppWGqisZmF2NJ3kpzx8cbYKMKIKP1q4MsftqF7nsJ7ZFA9aHGGbXlE9D05BgE7LyCe28Ls+OQY0+ssGY3n1hlf5s68w/Vavaqw2qE1u28NdjBbolPltqLoY= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=Y4pNtfkS; arc=fail smtp.client-ip=52.101.228.0 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="Y4pNtfkS" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oMiLw+bY9DTuPkrwNk/KKR27uLp4SsUZGf7vvFc1kUDil1LI+J8WhXeF2F+py4zfaYWpRIY4qzNfdEC+7zHoDQGVoxoW14nssBDJsLqYZcRE0MnyqBEC20IWeC8xA4CyuSQQN+mKkw0X7EO9KYSIlct57C32XsRAgdekr05WxwnstvaeoBh8tQpgsEk3ttd5meSex+wpljkBaf8rCeSucVTUkmp3tz+0J/53/wuX/yIFiKIibSX/U2q7FTvDvV6PU3CgJNrVqgx64JWbSIlW2bJG94DO9nLtOOOvBNHaJ12VRySLHWXY0ksrt1dyywxafHjHU32nGz7/a6Y8t+hItw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=A5PYpk7tkhmFTYRbLnNJKmUxx1nBChLrAzjRVlM5fNQJRTH1uHnkgAm51rNLLBmOs/o1NRQs3kghQ4P41cL6baQbNwhOsOK2AiYjI+oCsmTYI7nYk18JAHSKoGHoX75jwfhzv9rc+E2JkaYihh7nAlKE42PD2nKw8wsnCaIcA3slcNfdBxDE/kz6hQHj2HxjSOeUXyV9z2oNSn4+d78hERNpCBrsdGefPba8t9WpZwBU+SO0bZSzu61qr1dGiBK5uxvGgsCEBeXmcOhmxZu4SxLGvju5STuoxXocrSm2q4B+/o3DKCwyPTikqE/HcPLwoKGmlrc1VQWgf5puV8nB7g== 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=Y4pNtfkS003u2C2NmWMSEDcxnxbMh2d47syKTiGk3ci83+Kxl0wwiGKStZ7ngku6SGGwshoI+ploDcktLmw7PaIKTCMjrznKJUbOUnIVNAyq2mAPbKrv/7kq0KlDRIpati5N4eykS+0CQKQXvsA/heyOoQ7w2ICmqGDe8Hm5aI0= 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 OS0PR01MB5524.jpnprd01.prod.outlook.com (2603:1096:604:a6::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.21; Thu, 30 May 2024 01:30:02 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%4]) with mapi id 15.20.7633.018; Thu, 30 May 2024 01:30:02 +0000 Message-ID: <87mso8ozmv.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [RFC 12/12] ASoC: doc: remove dpcm_xxx flags User-Agent: Wanderlust/2.15.9 Emacs/29.3 Mule/6.0 To: =?iso-8859-2?q?=22Amadeusz_S=B3awi=F1ski=22?= , Alexandre Belloni , Alper Nebi Yasak , AngeloGioacchino Del Regno , Banajit Goswami , Bard Liao , Brent Lu , Cezary Rojewski , Charles Keepax , Claudiu Beznea , Cristian Ciocaltea , Daniel Baluta , Hans de Goede , Jaroslav Kysela , Jerome Brunet , Jiawei Wang , Jonathan Corbet , Kai Vehmanen , Kevin Hilman , Liam Girdwood , Mark Brown , Maso Huang , Matthias Brugger , Neil Armstrong , Nicolas Ferre , Peter Ujfalusi , Pierre-Louis Bossart , Ranjani Sridharan , Sascha Hauer , Shawn Guo , Shengjiu Wang , Srinivas Kandagatla , Sylwester Nawrocki , Takashi Iwai , Vinod Koul , Xiubo Li , alsa-devel@alsa-project.org, imx@lists.linux.dev, linux-doc@vger.kernel.org, linux-sound@vger.kernel.org In-Reply-To: <874jagqe9w.wl-kuninori.morimoto.gx@renesas.com> References: <874jagqe9w.wl-kuninori.morimoto.gx@renesas.com> Date: Thu, 30 May 2024 01:30:01 +0000 X-ClientProxiedBy: TYCP286CA0062.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:31a::7) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OS0PR01MB5524:EE_ X-MS-Office365-Filtering-Correlation-Id: e3b70210-3470-4b8b-75fb-08dc804806e3 X-LD-Processed: 53d82571-da19-47e4-9cb4-625a166a4a2a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|7416005|366007|1800799015|52116005|921011|38350700005; X-Microsoft-Antispam-Message-Info: JhGh0vN6zwXbmcAoFSQ64g5hIpYwJgzFsPg4kWGQjDMquuEUfVbFlF4oi+1/lqTZZsQNSheDXO0b1e7mQu8BZR2TflGXMXdfe0X8UzJp7tI82AluluTO+86A8YmfX2kp7+aWyAenzVIa8QzK0sXTX4cSKSp306b2pFT1NVhc3tFdSNLhx92afFB06Y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dpk0J1ofWUkZ25t/Q549VSlWcXWsCYkMLAP/n61EybN5k0IXOuZiEqS2q/72kVmCQq9OzjStmfyfvXP2mMKTZqpsjhv2ppE/CW+ga7EgnK6md9cH4cgg= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYCPR01MB10914.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(7416005)(366007)(1800799015)(52116005)(921011)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: c7dKLCvnKJ0cmGcQCzeNE8guQyKlKR9uD/8XBHvyp9kPq2wXNAJUDgIndtEtoh9lNgkZ0QXqI+TJELtrTT1Qqt9zYRjcBG4d01PlmUwvDi8PGTWjEwzyhnDdsCpX1m22bIJzfUBJ55UE6kt6mg4ftfkwfnmPfEPuJzjKcJINU4POZ63xBgnqgJBhnUSF6NaphPYo9yy8+r/0d9ODmh9nJqAVvhbH/dlZUYiexyYjLi/qgQk/Yj29wHCSVwtiIvA2YHmSqXiYY8FN0zjkBd0E9ke9JxcFUTD+aF0NrzOs1pac2kcH3KwWd5C9C+SuLoKTEbIsz89FFHppi+ZAg/rH2tBdv1HnrPaUm33M9uvCBRziKarLpZRN3jrIy8IykUGqDcLsqooSsBlxdnnar7xYMixvdtu+DPduGFRmQD7A8W6trAcDqGXof1NuI07K3SyLDWDVZvdSFIaiHOwGDLFw9PTkwsdirPO2UsIgUTIVhaOlWmb6ONjIN5HJG/+ZvBnI6OpnfzJU8VvvcOcIiJOAk8bN5wqpYjjjAnRCOnLIfOnEiBIt8l4p1Zi+eR81oQCYLPjxf8nfQcfwHra2zMPWJz0cD4AoUfJu33EO4m6+ewTYchCFB3aIrt7Upui1T0tErHVwbUHWos9/mWHllwGBd6I5mJolz4Lw3uGOIiOYDnWzGlErIj7D/lXN5e0krpg53AzLErTeNJCSWmmMRfBLTqahb00wjE+BfZiSjxguouv+G0MhKu2diTFFx15kNLE8XjGaqJT/cRoh5RkuVGQCO+T22v63c2YoeUQ5EXUQtr6EwgglwP1Goijxq7yxWHgRP5MJF3uQyRFGkh+qhcR3UaTun7I3oNG85VXuMzeEvyiqkc0NuwF0dTH5vVr+b8bFoeohuw8yIrLORHzXKyWZD1TFk0XHm1cOE5TQISq8S1ybnvsQFDrtkPKAfQj3jLZhmTZX3YI7jSfUHEBhExpt6XKPYxRo5AF6KJx/0SFRB5zZ0qO5yFYS4xnpGyBYIZn86469p4LKuwUsp0Gd9rQIBNgkJyp/uIejgdOiPOvkedoqSfSGG7kSEoIBQBidfotsb0T6goVEDDnJbUWFlL7KE+S0m095xyDqN2cdFDwtpmAjH7fHPG0XbByndZ1W/XEQchulUbbLFCKIcWNzy1KBgoJQN4F8d++9Kqy78Ji0rrttAa4o4I7skmCDLVJvwkTgCpOtCFHZJ+3X+ZqPyQChKOXgv81uhfLXcJo5KFOQhfhIGsvFcASdfW5TMyKtjfLuwRHcxzYTIdqDGz+cqUHcwhhUivTXRUrCJXXfjHVaQWP7m+qCOotnSbxhStAmKfAH+ZFOpE+RIMIZNELP4g80unTM0KBnHpArYLOMw8bPsQYLvM5xxBnhSz2LCQd9loZRlE298dqRgcCPLIvDQl7/U0pmbVpQQRDlsS2V+VHyNtoV00QTZTE1s2scnUvIM2YKuT/F9p0FG7m4oidrD0EwRRzKGKxifRJlYMDqKfwesNJ9k/VgIJnYEJ6P0eap7JVcU6RultQf7KedRSOczHnfF+PnYy9bACAoloe17CrAR3AkRltWm9PTtPdu4zoOov8g03j0mgdBpO2CpJjNaa+NIkflT1fFct3lg0ZiChmT7MY= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: e3b70210-3470-4b8b-75fb-08dc804806e3 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 May 2024 01:30:02.2611 (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: JD6HhrfAQUfdVDUCjAjQF7UHXOTt4IEO+5a0r5VPW6/Qjt05LpYbXab6tSF6qqSzWnPCec3WMuN3Uj4nvYTnBFHXvQdGb7rPIqcR6VB+LTrUtwMZtmE2Y9L+2zJI8Abf X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS0PR01MB5524 X-Patchwork-State: RFC 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