From patchwork Tue Oct 15 00:56:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13835591 Received: from TY3P286CU002.outbound.protection.outlook.com (mail-japaneastazon11010039.outbound.protection.outlook.com [52.101.229.39]) (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 B86C850285 for ; Tue, 15 Oct 2024 00:56:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.229.39 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728953808; cv=fail; b=Afg9HR7Q9tFJZghULQG5kwDQIvL2oIsQLNUGTh9fdvYoXvGFm+NChECxgank0q/oqlj6xX0zsFDKv2AycKY0/SqPnolhDVKfpAM5q3pGDUY1j1hqQ0o/CJbmx0mgC10WOszEaXhFtvuEBx9ZUpn664jtIJmcBrynDRw/0u58NEc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728953808; c=relaxed/simple; bh=gb8047m6aUcDhBvJPYS6TSjIVhl4bb/0b9SN+1QCZQc=; h=Message-ID:From:Subject:To:Cc:In-Reply-To:References:Content-Type: Date:MIME-Version; b=eyrW5EWPqCCK2+5Mx0fSrAZMFjdQje8Qi/COOhb8eoy0rGS8C4XUvCkU6idwpLF/Ggc7icMmfsJFdCf1P8YnXk0sHNZm4HdhnbJSXlPUk9sDbeMkImKu/Kzj37evAqUFyF8MaRdYu/lc8BgcyRAZ/bBYgusDF6Nfr65DWoUu5S0= 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=nIwkuqb4; arc=fail smtp.client-ip=52.101.229.39 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="nIwkuqb4" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=q29kckRr4xdwVOMtrUFOMe2hCYmGaf9mctgRsoXHmHutpLiup3HlWMNfhT8GtcBQmGhBN1LsqvUhYwQshUZPl/FTMF36HUUAJMAAhdd7SEgcSEsxkZfxydXvZ1by+fZ8bJwvjfdn5da7f+Ziz27baOx98bI8yGBdxjZ/09QrvRR3CpTIZvqpec9tLlnA/xH/WOWAdo+ht2rOaIjmV4OkjGmxCwZleFDmoYjqRkrYqop3tsg1Ym/6OWyEOTOevlN9F8VQc2OFIOX++7WSjaz3s2HneW82q/zYxbT1O+vyU18Q9vW5LpTxIpbZcuJEbREZigNnPfyLqZei4oblZHhGKA== 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=j6i12dTcC1dwTtatfAs+MGjV64lYfAz9kcVC+LzW7S6upEhXY49oD7V3+P7FxBgFLFPsyQYOiVptR+RieN0ZMCI7tr2yT9QlCSfnwVDJnYIzyt6c29gKIEHUniYxlAaiFr2PXFtQ5FdKGbFhuKJuQhiHjpsfwFRcA93slS1hIhcsvQC30cM0eDZMMmoL3GdLO7pJ59XvCm0m8nm//87fMqS9zfGXlFIFOS4CdURDlErEP95hES4UXANHGCva1M5WvYpQIUYZBkSa3v5HIJRmcH7O1Ps+07xAoG1MjrbVQb5i4YLpA9qGBr8gVhUeW45rXRoHRHGlldjS9GgLYgQ2rA== 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=nIwkuqb4m7IvBpmtsRnlYyqn00lNoZoJoQqoY+O5vqXQj6Y0sBqn9KuDd/Suf4RUygj6HOxKGxYX1uCYILaeynLe5OvHwdCcPsFAsMmQQG/umJWh8HK9aP4/d/gdQBGQLZWFWjZcFtVquaGbZ83kdF+79N79CxvT8WkpZgmKufA= 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 TYCPR01MB7121.jpnprd01.prod.outlook.com (2603:1096:400:c0::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.27; Tue, 15 Oct 2024 00:56:45 +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.8048.020; Tue, 15 Oct 2024 00:56:45 +0000 Message-ID: <877caaqj3m.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v4 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: <87o73mqj5b.wl-kuninori.morimoto.gx@renesas.com> References: <87o73mqj5b.wl-kuninori.morimoto.gx@renesas.com> Date: Tue, 15 Oct 2024 00:56:45 +0000 X-ClientProxiedBy: TYCP286CA0209.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:385::12) 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_|TYCPR01MB7121:EE_ X-MS-Office365-Filtering-Correlation-Id: 350ebd5f-1d3c-4566-aa80-08dcecb43def X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|52116014|366016|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: LDxFP3yd/xlQeqjKe2lWruKFN6eC7YD7vjgScQ1y+s2+8g5CPFDonf6uJeEV+IvDb0csY3q37GfZ8RbLV2pXZFO/VHjG3Lp5VsqkJTI9WpL/knhWFNacRs2paiVVmG4wyyA3MJyg7LYVcu+Wn1/gPENukmTG2HGkna/Gbazz5cticIKH5Ds2AugguZXOwRac8hUx/4Ye3PfLzhgKTTecUpcs2Ao/1zotDX1qGsLbs9dqRc1szIV3wg/i1mcGI3X1DP2vpququ/6abiolqQwJ5f0tKQnmfYVcwW/93XKrMGzOt5PAaMj2XVDTk1h6JJTF03ffcGAtmp8O9tS23ptwLNLCiX0+ajgTbg2mxHLiKpCOno/mtHVg1R8axtQHUuJoufD9t6rrq0htJi/BuF/c2GQz4lYLGpUVxmFbGJW43ETAt+0AFQuROvKWuOLKTt+gLzv61/ATRGuoo2cagCgpq4rkcrCdazQz0OKxi3YxDRb0IbB8N2DuEOiSe2aq7cn7T/3KbMVNi3ono9W/KLOSo1eQR2At57KiRQ8AykvgQ1+DFklpEbwq4XwGQWQLqwI4lGiXUBKpLFJSIsJo4OcobzTOMNwp/qeWuQSueLkA+HN4iUqSpNoED8VuCC1zi4Ntk7WA5Nx9M4vDDSBbkDo+v5RNTylutxeAdZyXnpXR68mgjg7Od4YH8hDTcGkiUuS8ZHstTDy/rhMncbM4x4s7Bod5c5pKBImwxKv44zUPIlxic/oNSJjsACTKp1YKhz+JI2CBt9y8uU8xm08NUKZ1T4vmHkTcZUqQOpBSRqtWRIYi4nwkEsjNnSxdoqIK58tQsqiyjtC5pz74nJOYpRbtMib1ROsYrd3yqaypnv9qlq3EkC3Ho8iw7S+jW4y9nHPHFtL++9C4bTePoTJ7SeLsWAQ+FpgeMx43zhoqcmWNfCZr5G3QpACek0lG25y1HZBeT/i+E8XB3jPs+EeXD6KBMOMwnlrbMYcpAkJIVhMntCM1DTSSXwmo5/rCqVvsfFJgN/okivcGUYPmReuF0DAlWz6pzBx8+SinuRt5iOm+7ckPtF1GlelziqQkWSe23IOF1U7DN6Xy4jWysFTemh8f59FeJoxsnfkOnkkTFh6WqrTPCLOy7PW7cuwKp17GeaciDSewin1g57HRLi1ZnYOUTk8IDcowr9qKGFoNSPZ2fa6w8TNILe+AS5LsJM+Nm/wpVqwKnqgY8/aTWHcGpABVdBxpPRbAJZ4+vYtqFtZm1Gr+dzkQRSobaNouR1TC/bi0M0OiRdNqffwfnRzwWRtvu22mmKhwL4cuKi91LGLvwnCiawP8P9UGlxGEEsGBscZLasylIN67NJGnU4BmBpoaEA== 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:(13230040)(376014)(52116014)(366016)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: xD5I0wG2hnk0pUNmPWMC+5cW0SApwIpEAg9R6WIaJfYQVkovgjoXymaCsIFEKLy9JCMTw/LuZAJzncJfy/5TFyTqkiWEw29TtvxbZZbxyhlPwB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H4lddE7cBJsa35ib8grdjbcErvmn90KzTqWopFFPg856ARlOy1Phh/dOqPx4/sPL8SjBFp01gp3Jvi3WNWxtTkDQs3YbG3Cq9wQqIYo9cXK7jI9BqC7p6fZgd3ukRg8aWMZwP1AT8eh6Ne8nPa6giAdI09VPM2Fgk4PGy+sUTEFwxONG9WKX0h3ikFR8JNdvUjqRb3tvA4jGyJb7/WwcImyUm7HSNvkiM3ACWVhd1ecpBVEg/4AkIiSG+YcxpmJ9QORlaHwKnnBLkIJ+Pk3E+btv5l2JB5QtdHZVOj6FTgGD4eNKenmEq9JA0W72e/gP/Twq5I3dwM8dQoky2nuRnvSrFr2H0x6zQKE5ymu0B30WNWuewh9Dk8qAgPsjxl7Ha/bWToluouCrkYoSMIEo1fOzaZO5hJ6ZmGBTOuMo28NXwdg0EbCbV20lS1ARxeNd89Ks/nqs= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 350ebd5f-1d3c-4566-aa80-08dcecb43def X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Oct 2024 00:56:45.8191 (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: eGDC+g09kIcfQBxF+PHPs/re06drqdMly9odYLISWshyHPe8W5y+yKvviKeWiwcA3yuVJruLCusN5hmRc718XmVjsd/CWWdNPjefhu2m3YaFOTsSRK5ci9UvFCxPTUI+ X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB7121 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