From patchwork Sun Oct 20 23:59:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13843348 Received: from OS0P286CU010.outbound.protection.outlook.com (mail-japanwestazon11011064.outbound.protection.outlook.com [40.107.74.64]) (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 2C0F2198A06 for ; Sun, 20 Oct 2024 23:59:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.74.64 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729468787; cv=fail; b=hZjkj//Nvv1dPkw0oDPbKlwgpfJR5KtuG1xB7lYYjmZwOf1NcPpgC/eQYpVlEWNi/gmvujAH4otwwvm2Uxra75u7Ch3QhjgI8b4jzo0E9Qie4x+aN8lxmpIWrrAgUUJUIOxEYCBPbDT0lu6iWU6bW6YUI/kEwVP1tEdEGpHfk7g= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729468787; c=relaxed/simple; bh=gb8047m6aUcDhBvJPYS6TSjIVhl4bb/0b9SN+1QCZQc=; h=Message-ID:From:Subject:To:Cc:In-Reply-To:References:Content-Type: Date:MIME-Version; b=BeLWpuSKeANALIVFR55rmsaVAqSBD5vBdIlwckoEJ7BGMdeQBby+dGbsRRz6TQa5ee486Nkzcxhp1T9UZYt9TKI0q5ElK/pgT8z/PkDo6xcwnncN1nVDxdrUh5ZVmaRVP/o7xDhoSNhO1dZSMNGczzB0BreNs7ZLEL75IsRLhbI= 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=BS59L8qO; arc=fail smtp.client-ip=40.107.74.64 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="BS59L8qO" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=e8cVgzeyn18INUgXB8LSuerfpDvHvHVcsRjL6gedIyiAtw1AGMvLWCbnCLMONmwavOG06GJTI8O4s5P13lO/Mt37tskc13UdxYjB2uV872HWUEEhRQZZA/PSA9GUFMFqSSlSBuCr9hymkN+6uL8gLaZ9IGpBThYnWzA6q167xHjaAOSzJ/So11iwrGMw66GsYSwZ0nkOS8B1Olox5ELe6x3Q7FUL8S/RB0OuxrRILTTAnPCg0EaEzK7s2KESPuKNGQWljvOwUa5LyZXvO+5zmJgRLS92R2Qs1D7GnFKtECBoUdXhD9DRoYZ6+Gyj38jBMDLts7O9LnKx+9nFfz4PYw== 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=UmiWRJmupLAQr1VARXdZt+p1oweWs41q/BsZbC09Gzdkt7kua2R3qtviptgwuLyUmSRkfI74xyGbw6tM2UI9QBHLbhcQQ90MYZkagiXgHcPo+yMTV+meDjsMNp4yitIoTCv+GaVihV4CPHKrbyRg4+U7PxMsBya5vha1repUS+3S78VC7cMpeDoYSO53/yAS1QBX0lTqk7xaKw4DPypUZha6qRmftBabVY8GSSXM4a/3m8Nhi4YeQUksf4UFUyuZ8K0JMN7XcXVFS+f5sn0D5UG8gnzvQpJlQXXW1xYv9CiicJrDYBnE4UjtFxHZxvi8IpEo0Bjc+MCeftojZfTHcQ== 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=BS59L8qO7GfA7vQEM0sEDKbtf9nfkChSD+cNrrExHojN+w6QbR/pwIIHvhTjUM/eZ6elv+ARtl1KH6kXIT4mk8fmy/+0TaCE9zmJgHRUMg401XVAvPDJpbGuo3z8yJwa0C3cvbU9LIkPyQkhy+gO3SPh1FQsjn4bp0diiApZmPM= 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 TYRPR01MB12916.jpnprd01.prod.outlook.com (2603:1096:405:1b4::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.28; Sun, 20 Oct 2024 23:59:43 +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.8069.027; Sun, 20 Oct 2024 23:59:43 +0000 Message-ID: <874j569vgw.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v5 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: <87ldyi9vje.wl-kuninori.morimoto.gx@renesas.com> References: <87ldyi9vje.wl-kuninori.morimoto.gx@renesas.com> Date: Sun, 20 Oct 2024 23:59:43 +0000 X-ClientProxiedBy: TYCPR01CA0076.jpnprd01.prod.outlook.com (2603:1096:405:3::16) 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_|TYRPR01MB12916:EE_ X-MS-Office365-Filtering-Correlation-Id: 4f37e3c3-fa2a-4051-202c-08dcf1634492 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|52116014|376014|366016|38350700014; X-Microsoft-Antispam-Message-Info: ATudatbbk+LYivnVFGelVHq29l4W6mcxJPL7sUwz+D9UdAGgGDR3/RzrPAKYwGtC5AAMQFS9OAVH3gcAtrivUBb5YVafUr+L8V/E7JZDoCZKuYVgQ7qa+DxF3yWYgUoyV1pJcW/Q8+CjonUC6gl6xQ+vryw8Hvn9A94eU0RT9qvk82hu2L0e7D7CqA2QoIWoAVgqIEeNaPi6TUzbNMJ4ZDO7/BXSsIgxi6SygiqdF6HyvIGCW0HSRr6/MtbkdR3/uxA7yc9VPJx/XcH6LU2laS8I/sgcDHdOr7hD6oo+QMErUh9Muq4a+O/VcUBojMOXggZoqeW4sQNwudfQmX4XfwljnXQVwT0mZu899I2tF+s/Yo04ysX9a+s3H+a1kUCI8Gtvbs1X/nAZJU2Rnsw6QngnxzObj+j61HvGbsQZ4xpVq6LECQginGKWseoYgoPcYxJe1fQ3FLPCZIElrRMEeL6brIkT2it7F+8w8GJSVJ0AKvZdBv2SiAErl2rR+ha0ohgDXDvahRQ6LjFtINbe/y7RzYSiUxWT41cEbpCCiwj685nx17xhYejnaNXfOmtP7tLBDkCdLklor0gWq+LHbQkBYZOA37A8f8Hht8hbWOxVOnTVHV2Sx16v1AUqmWavqJIW8X3EwL/I91x6j3wWSapsU3jwvn2v1XeDZoXIh15o0SbeIzwlM3n5NnYOqFVNp2h5KUgHy6AkTy4FktWKbtwprFebbGCZamwyQqkRBJBVI/I8UEx5xnOVsRIwXGp8VSFQZ6ECyFCD1QANgj840qdg8GhDljKrwkaE/++xDCniTOCKjdkYtS2+LiDmVtnUkECadQwZ5/2dvLQzrdgp77am9JV4hJBawW4hqk85XHI/vJ2CzccsnXjilPxBUdVXhhyejYj1uY47OyQUJRorPDY3WX5Zy2MhNkQ5lyq1lvD5EUJAdAOjxi6n4Lfg0GNLBTIAyG9XH5ONoYlctXQavFZM1pz4UYuihaIU0iqSfbDIT1CkBzO8g4zDLa3SveOsXT+U6PI1H7plWvxXix9Ky1JIUXWZ7mKvIGIynHJKoFfYU53fB2CDmCvBuAyzQwq8OmfZwb7XCCtQOZ9NHq+ovqRV9jan5+a/CO6pqnYVyMQ6n6AWqLojpskOv9sy+fMoqjEciSPwq0PnRtW1jU0l+rzkN1J6jmux6x732sBv6VwPui1zqA/wJoDacfWTtXHLyUy+HWjWvJAG1Vhmr34O0rzyOJyoYeW0a/ioA4ZQhed/U6PWSkT/qZtD4IH8qQ8V0TQsmih2/noidDSZd4EezHIG1Fj9b6jV+jMfEHpq3S/DdYrBgpIyhuJlAPXzD3uZaQ8NSccb6uoBUVafcMujzZQJS1afNzWV5hkP65N/hzU= 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)(1800799024)(52116014)(376014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: knIg2K8D0Rme3+1rrS2zRboNuLVM9qQYwTo1jAQR7g8TiOlwjuJPiqf/vHlMaZBhW3mjJ1OW2HFK1mcMRm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9ePFzE03koidXelBRTTe86ta8FBmdDYk3n0iaycYATZZll1P4x1EFaJTaAT9qCQIQog/s8pi/KDZ11TuyHUrE2DpGhDygoWCeNdRLPtKQCUFIAlWL+27R/KhQQx/WPhDNiXcTqwEOzSMUgHATnQYi3l2DeB7V12Q/pKXGV6UzKKnmmWxx/GjwrWrwqouH3CiT0NbT8OQOCzUnY9MqbtS+2ijkMisEXXXtfzQ3/Qu6yGCgWSVmMoHgEZXRTX5i01HevNaEQXVU71IQEMbL7LoBMENP7EchE3uHSkyVmfarHmLiCrF7Qy+vMxVilR506ZIg9nPxFTl6uwenxbeN//0uF3Y2G/dkjIsZF42ggEHqFBpy4jtmwrBSo3UQN5nk5EIOIUTpc5Ig9Eg4hTim426ZUMLXlgFji961LPr+TVMXPc8EhcOYOfbN5KMT2Kgwse1CSjotZpNMIsGFbRbesk7z2Z0K5toIo3OnAfjMyH0gyk19o= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4f37e3c3-fa2a-4051-202c-08dcf1634492 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Oct 2024 23:59:43.4880 (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: eIsFHXKu7ZJ3r6rjdTuiKXB876mctjm7rgwosIfDNWV9mI63i799s21OUy+g/ZkvRp5Zgb+qPPiUi+LogpdzSYSgvNJhpN/KqtebTFgNFRvhBtwoe0u+Alf++pBjqc6D X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYRPR01MB12916 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