From patchwork Fri Jun 7 04:07:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 802356 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 46D7BC27C53 for ; Fri, 7 Jun 2024 04:19:25 +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 6BD60852; Fri, 7 Jun 2024 06:19:13 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 6BD60852 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1717733963; bh=3IYvdSIn1bHF3gTOaEkSDmfhEioBu+Cnzhxp+Hnz2Ig=; h=To:From:Date:Subject:Cc:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=AOoj8eLf8v0NN6e36OcNJxlAhLiNtDhw4PeICPJfcKKNnbGeUHmdVNeqlzcZS5EXT uml323Ytaj+xwJbSH+J2FAXVPWD5rOpaTgU9Ev+v5e44GXj/Hv3hvYP6+5A7ETyxoB oq5iRtnA3o6Xl1bVxoIkNHqjNpF0Y5/lM0/sX+dw= Received: by alsa1.perex.cz (Postfix, from userid 50401) id C38CCF805C2; Fri, 7 Jun 2024 06:18:52 +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 CC24BF805A8; Fri, 7 Jun 2024 06:18:51 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7FACFF80564; Fri, 7 Jun 2024 06:16:15 +0200 (CEST) Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on20626.outbound.protection.outlook.com [IPv6:2a01:111:f403:201a::626]) (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 C9565F80154 for ; Fri, 7 Jun 2024 06:14:40 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C9565F80154 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=d7PRwJrR ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PyTwoQYr5Uu/pHwDuKahA83gCQzTEdP3LbXb+b0tgwGhxuEMEiSrbc9d5xYTVxChxOOyvFTrr2RahFGPCZCeuMicc2rL94gQaCz0iiYS5rKgJHVVnYkRRX74ERl6L5DRPgoguYyVV0e9p2kMy9tbQkW8ge3nPWS0doUYHV0VopWeieK4jRWbsPBK1rWgioMT+3N8wfUS9ozICUCZg7Tx0GAadGhNLrjvCAxcsmFK3O9ABT4jz3mMuNjA8zdeIhzsUH0EgwL3V2FaRRi6OdzWwIQ4uyve84cvxAmwVna4JtTxss5dqF/W566MBTpc80tvgaAKuR5NztaVNDZOcyEo2g== 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=VTCZ3TMRaf284JWEV/XJPB+77eSVITJBLzf1HJSbVlM=; b=lURSePAE5t+8rHFCSf8lJeoB45vpne8rudnPF+911nP0V5sVxL1Jtr7eFuuwxjL63msuKC5Ryva4nrs1jGT5oITHEl7qpLEOTCh+eTrOQxP1R7k9DSt0iZa3TW6AM7nE2ustw1G8NuhbtOKNUK/NwUMKKOdhLPWxky6SW2buDJ46Mee92QA1+cEZHt87UgD91OQ7rYhxy4OvskDxDHW2OHYurZ2DwFtaVU46XvzdLog0VOX06OUwIkTFnIT24K2Iqo5Kd0UzWKVjci/dz2VAURKJHZJ6ksKhdC06uaMnzQXSaPzTyVWKUQR/uZo6pnM24RIwLzSa9IIMNQaUt4pyfw== 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=VTCZ3TMRaf284JWEV/XJPB+77eSVITJBLzf1HJSbVlM=; b=d7PRwJrRJO1dEXRKPOybQdzf098HqXhe+iGyGUYKQjChNuVyMrNtdnwhbaSVtUg6WohLbQUI7dRCwpur0gWySbic9q4aylcfAIRcQJXpFjfSvokJo+apLbBM1rXjK+DAga5vslmWEh8XUd5TvZvhgVEVlnDovtRJCmmkORT4ajc= 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 TYCPR01MB8206.jpnprd01.prod.outlook.com (2603:1096:400:103::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.34; Fri, 7 Jun 2024 04:14:34 +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.033; Fri, 7 Jun 2024 04:14:34 +0000 Message-ID: <87v82ls82e.wl-kuninori.morimoto.gx@renesas.com> To: Mark Brown , Rob Herring , Krzysztof Kozlowski From: Kuninori Morimoto Date: Fri, 7 Jun 2024 13:07:58 +0900 Subject: [PATCH 0/5] ASoC: simple-card / audio-graph: Cc: Linux-ALSA , devicetree@vger.kernel.org, Maxim Kochetkov X-ClientProxiedBy: TYCP286CA0169.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:3c6::12) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYCPR01MB8206:EE_ X-MS-Office365-Filtering-Correlation-Id: 1b44895c-c844-4aae-976f-08dc86a85639 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230031|366007|52116005|1800799015|376005|38350700005; X-Microsoft-Antispam-Message-Info: BzMZTWJalPgMacHP5jDMGlodbQGu6T1fM8hIQBSbfZSSkOHNnpeKwabpKmZcCsKJ6AIVcaa+R0rxrSar0YAY6h1W6hruh0m+T69NFyO4GtvlSdYvm7A+4r+noL5uagEsSGv0T9YDla9agIjMqBiE/Yg4sxKgFRmSl9YdFFSicS0/u5NlSAh5ioVwaVl8Ck/9HuKiUEc5uPZrTtKDIMaK3tDzNyPqVM4X4v/9DAQ6rdRQyudEiYtqQB2nIypzfKaUwd6WvTRchXhOnJOfzNbVypCQergl+GCC4YwE8xeyEou5+yRIWYZ7zR3/k2RWMfKcfnwEkECFqSWZ5ZEqnpIrJK8cD7f7T/WoapXSigfFGtbGXtqaDLTd6Nv4Gkh4dBtnPb6f1DNO8m7EIgjDnG12SpfYYkVRv17LXOnyZ/KSjus0Hot+fQWP83Lr1PoUrKOo5UYsB2YPanurnpHspXYS1vWmpC8q8ZXOfaDmv3Ccvd4N31CEo30X6d64Sg/nQ+ovwPIrio2gGupXcY9xNYvT06JUzVGmidq8oUe4qs6DO9UFYkQbulgEVngpcgprjP+xRpRWV8SWdyFB9m8V+xS2tIc4Qf5JgfOqIimXlpjgcDij1zorOckjiwFlPGQyizvqLZfVDE3NVr8DBx70fidiaQG0ZKDU8KzwguDx1/+RDq0u9efHTvneILpmbMGvmMJGsIxIMzqVrWhJfPDFnzzVVkNu8kdvZn+kH+wlaQvwOL5IHSx8zdct3A4S/9r0sDXkQGRhlDZRNkDQ5rQPc/jRuHH883xBXXF55ZaXukfN0UhGkmTJwKnJNghSbTL9+7759JedyjotX8W90h9+t9r2bYrlx7qBGKtJlcPa+Yo356vYdOnRu/0Gtxpv/6a9pnxZiiHZMznyi0k2362il5CUmnDdl06F3CU6Ni5D/FbrWIAePwxAlgPZA42FuNCLMm7FgwuNOE8vf9ZWKa0E7p0AM7tvbAZZ9iw9WGO4RwGREStk/rbe1zA91NKZoUJyBKwQZGPQJTK8al7upWSBrI3XFu0qSgDUHK16sqUst7uTwmofrKqc9tT1iBHqJlusZdRssWRRIVEFMqMABf3vlaN0UJ0PjVK9yLpe6QHQppfH2oxi2K363b/GcmkKzJoAfK8tpJEAuz7RaEjYGjCNOv53Eulk9e5s1a21idu/JhJ5aafI3IlOpbRgsNy/dzA3ran5Ty84DP3XFyf4ywOQefh0QITImuMGvslTjQn+zasPhlhUKq8fOkN8f+fQ3t+pPYI9poobKhu/6Bd/t+LUN9NDcIHNYXaTR32h0ez8OKLB1sUi1Xi+cH/0N8OAsFuFX9BvI3kns73QT9jjzXRCB2EgdXYKej3jgSNBbux2z/NaUj8= 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)(366007)(52116005)(1800799015)(376005)(38350700005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: B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zx39GQ84kHRX+cURl646YwS47+tGd7oA14Xcus74c2peimQfPu9eaJ76T3ekaRiBDwdeuQVFL28soqMLlrEtU8sShv9m4jVjn0fny5aEJJnesEhVDWRxHuBfeezsQ5x3Z8jhj0GyIMnFpBDhWQcYObb57HRYxg8AYrimMWdT8OAFGCF/wGMVSMxZ6R4ZNWwvUigqCSNa+3cvW0bSwtil0JIMGQZzrglkHAIpjqtRuwbtBrHSXZ1rIMhGsbECKu4boFEj7UCw3FUWl1lwgBtUQi0oUG/GCSpu2a7AvAyO7icVLa7tC8UwcC6Ua4RdRvVsDJB8/39tFLJpafEYwHANeiBRzNXMVcsVXsPVk5sRLdEV4EhFr+NWMAcL9WfwFXLIbkdXFAVSdYDmyBNgng7iA/6vysZCBfcfVNhfBeQEXWC04yxAfjizw/14D1AwFEnXw+HAymb4LBAJRAPgwzA4zj9sFV/DABFzgbh10FHaNm7OxGE+SSo/k9utjYCK6C95Zx1gNPIza/XEKE78+/9RJkNpLYyzfK/VBrfsgzKqA= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1b44895c-c844-4aae-976f-08dc86a85639 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jun 2024 04:14:33.9633 (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: EZSmbBCfVaZZta9gTEVBgsNL1+h44Xk3ZdhN55E0aB4GY8Yv3DqZ17VU3CYaMyRWwt0CWD/x2Vc4HhRQab7oyGl6K4+vo+e7eJT85+nkNQOdDX03Ie3u0hSp9BBQUJoI X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB8206 Message-ID-Hash: 37DBUS73XMCTKVBENTA6JPW7PUBBLCPL X-Message-ID-Hash: 37DBUS73XMCTKVBENTA6JPW7PUBBLCPL 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: Hi Mark, Rob, Krzysztof Cc Kochetkov This patch-set adds link-trigger-order to Simple-Card / Audio-Graph-Card. Kuninori Morimoto (5): ASoC: audio-graph-port: add link-trigger-order ASoC: simple-card-utils: add link-trigger-order support ASoC: simple-audio-card: add link-trigger-order support ASoC: audio-graph-card: add link-trigger-order support ASoC: audio-graph-card2: add link-trigger-order support .../bindings/sound/audio-graph-port.yaml | 9 +++ include/dt-bindings/sound/audio-graph.h | 21 ++++++ include/sound/simple_card_utils.h | 4 ++ sound/soc/generic/audio-graph-card.c | 13 ++++ sound/soc/generic/audio-graph-card2.c | 13 ++++ sound/soc/generic/simple-card-utils.c | 71 +++++++++++++++++++ sound/soc/generic/simple-card.c | 10 +++ 7 files changed, 141 insertions(+) create mode 100644 include/dt-bindings/sound/audio-graph.h