From patchwork Tue May 28 05:04: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: 13676120 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 53C1CC25B78 for ; Tue, 28 May 2024 05:05:54 +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 47CB5DEC; Tue, 28 May 2024 07:05:42 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 47CB5DEC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1716872752; bh=Alv4ClIdquZNIcJLEbiP7WurFhIJqBRhq3KbG4G2+W0=; h=From:Subject:To:Cc:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=L7WPytlJZfBCJCcA1gelZ+TPvhdWNk67nBnHInSXPW91md5mmMEacYMl9dJwnU2Aq QfWcLr5OuQNCtiYyScTnaT7bAP5lPLB0boy5OaP4F2pZ3N79cfvyL2K3LthkEpzNy1 mtpfkSHlh+/AFJxoulxuNL1+yMy0jOC9ZD5YgXlY= Received: by alsa1.perex.cz (Postfix, from userid 50401) id C58D5F805AD; Tue, 28 May 2024 07:05:20 +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 29CE9F80496; Tue, 28 May 2024 07:05:20 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id AA2EDF80149; Tue, 28 May 2024 07:05:14 +0200 (CEST) Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on20601.outbound.protection.outlook.com [IPv6:2a01:111:f403:201a::601]) (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 68F86F800AC for ; Tue, 28 May 2024 07:05:07 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 68F86F800AC 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=PRoQZvYn ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DCLzQeBFjaf9mLLEZRdQM8hnAKs/7s8cS6WzoEHqdajP003os9QvDaJCiJjfs/zeCwcfE7dkQW7Md8lWBtJEuQVq1QBmRmy2ebADhDvogrthzRxnD3hD/aEJDVc5wKxkOm8JjGztLdnjgPNR0LIHF6a1x1V59ntDnCwCp540P/LkiBv6Hm6UqRENmwmVOQ988/W+3eQquODvI0JYdlufYZ22/ZdrRFe0WhrQE8dsJnqWkkcvkGlv77shBF9kNSXGsvx0Wnkpp/zqif64Ft35sNRA/Kb45mUgu561vKD046bythtlQYZtt6uQHxOV+9v14P/BjKzTR7X1IUIYmnvz3A== 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=Yg710OZ+Z5yVHWgoUv963ldmiaun6NN7q+Wjp8bJ9Do=; b=gpzPxFl1Ge73mM2p/AEPAVuy0Y74cecEDC7rUtfQo8T3BEe1I/bgAkuc9cv8M8x/J//WQOaoXHd1kdshXj6VAVaRMffP4ZpnKeonqFxveZ3hxS5SqwruZ3u2Jk/+599JkQg/P/CdHor4JIrqTw+TcSr2i3SZodHFxhE3oyi3aOsLQv8l9JSi5LWK7H89Z7TlYz8bfdnMcEBRzbbcB0oUtid10xMbBX32OWTm10AiRaY/h/nyCrylwUVoxM5K4nxI7+yapnnEQaGaocL5ATP2EzcZ223oFEwnb/n+mydBk9zlsUTdaW6nZxdOzPyAUy2hYwaeLPRomcMsTDUUex02NA== 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=Yg710OZ+Z5yVHWgoUv963ldmiaun6NN7q+Wjp8bJ9Do=; b=PRoQZvYn8WMq26TuFxwiCV1OPc1aXMMpKTLiK55g2lbtcrRPLgg4JcZkEtJYnIoNa6eceuGhBitfIs5SxnlmjpY0L4rCc6A08bXEWIkL5rerkxUDA9W76y368W0KG/8YpJp5vVzyMlNjzskTSSH4upSvcHE6PKyWDyMIrsBm5tw= 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 TYCPR01MB8360.jpnprd01.prod.outlook.com (2603:1096:400:150::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.30; Tue, 28 May 2024 05:04:59 +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.7611.030; Tue, 28 May 2024 05:04:58 +0000 Message-ID: <87bk4qh6h8.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 00/11] ASoC: simple-card: sync support User-Agent: Wanderlust/2.15.9 Emacs/29.3 Mule/6.0 To: Mark Brown Cc: Linux-ALSA Date: Tue, 28 May 2024 05:04:58 +0000 X-ClientProxiedBy: TYBP286CA0010.JPNP286.PROD.OUTLOOK.COM (2603:1096:404:ce::22) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYCPR01MB8360:EE_ X-MS-Office365-Filtering-Correlation-Id: 564787fe-1409-4170-3215-08dc7ed3b8e1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|376005|1800799015|52116005|38350700005; X-Microsoft-Antispam-Message-Info: U3gNwggVwJ9pxdhrCMPQ+gHNmvFzuL6qFSbKcNYKSPCobanp3lGX1gR9rN008kkRSLK2ooy4K3w/rNuFK6tzrDANQ+ZP1qxEHQY0EKne4+uJa7jL1tLh6HiEuucGNnvIvx9dqrrfXF/WcAw6IVg0Zx2KPPYM0wbd3CoU8tPDvDQq/j8GU0U4T8MFoQbkJhxzDvJox2Nwcb9VSpLxg3k/DMCjf7i43LaCDWv51BZ5cpVyHhDrhSCnILTtuInTCA9hbMgoTqwyxDsvcYOQtf8TIQ8pnQu81eh55iL7lV8pQFi8hH3kYMMXYTeMQNgR1p1M/gxAGVOI81UfI45b2pzOSBI+ChwjRE1aYz5NEq0BERLBSNOIWom17zQu9CIkoOXfyBwGe2XneWCHm3FCjb6X7lpDalwri/niEdT4Uu6tH03jbVBs6uhxkfsQSH34DFiGKeoIMLz2nGuxxmRhLWd0yYOrIJKWQZHnDluE0lCLlrhfnc3H58KBD2YSjN+kKtCIWuvJyBKAyadI5I0esAeHHNw1ePcxLI0dv0ctG0th3WmmbGK3V93XpYmUl+3HtJztJ/aKTtoMa44GSyJK6rglxclCNGh1W5mJ/FIUrkDZSXmX9K+jqFISsu8uAa2fTNcALvAl1HGkHQk9hKXq5+Ql0Cucdrh+FVlndYaDB3LD+y/rX7FQW0lVwfBTx+EPHTvXZ/GJOOAQT1HbartLYBbMWG2T1egi8rHGU0l3PA/YKrPczvdKi5ue0j2UlarBrFiiMiZP+dz5xQhUjUDxFWE7oQqnQvyCg4rFkrVulsbXd5Y3wVsj7dSK9DkNu+w2EwpVEDdSp1XQm4vVng5EXk42SRBsj5lSmrrlvDHKQqKigIlmlSkI36s9f7/7eTKAvmi0kj1f2IpKhTUhlGMH1PIk9yW5S2DhHMcggQvDSOJzljRY62Yv6XjFtDzLbeY8Smo/FDUo0BkiZgwp7Ub5HbPc4TxYE7TPS1/Myeojnk2N6PqNphRclEZnsj58kxwO+b3ocotE0FQOWHgjw7jmb4sgx0STKiAfM5qOtvhTi1FextSzW4XOmhNmPGLqN3UwK/NXGUJVpn6m15qyVGJUGBiD+cOFofam2cJ7mSjP9F4lpef7TLrx2Z6VgYosisnZJQ9I3zt2AVgLcL//59Kcq/CY+AUB0nfDIIivwMpizHimCzZilqWOCSkZhhH9sE1X1e/PYYcWJXk8dRHgCxZdbZdkGLx8lZL4Nc332hNlXpXB92OL4r4Abw/3eVEu6t07ySNTj79zOWuwCb2UlUhPPshg00+zQEfK24ts2OW6VOW0DBKrhsyZPLxNu4ecQrt9z78NpwBJawIIJSlz2fgNrksXEw== 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)(376005)(1800799015)(52116005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: nGmbr+45kASd9HesTkJufdFY3le1g4EWv7BibOBeT2jyAD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47xf+BSdnX542ziHXSmRJ3o3mYAr8cuW9eDhnSW/bJziHTGWSXN+76PowdeDcvL0anTFpM2uS2QnPpnGuu32mz40mskbml7Y0+aweT1ByYfnhIkCGQRfn+1BpJkZYUZFUMY3XZ/SFsPeb5aFa7b3vhs+l4ogW4G+10mXkJ32kXZP2JcCmC23rB6J07asJP/zlYDAOyW3Pg0FuGn5d2bsTs2Ib8Qqf6Exkj6YYTJORp1vtldzTO9Zz7dhGReae8oh1fd6JCbncYzz+WJh+sgZMWnVx8DjLaV2sOVfzyzwg4IUhyKNqh4ec/TAukdzTWWOdSDvO5vPoP7MSetWoa9N2mY+kb6rK8axyPhjKN6IK1APSWFOuIPnKnACukF2rSphYrxXQMq6iYY+JVpysEjnuvpuCTu6d7Rg6N+3PNL0qjH+28vyl+hUXOziRY/e6rzxEcg4I1eP57+uzvBA5J0jG9KaDM8kEToeMiVhMKCC1M4zs7lrkH05awIAzE/FkgbXWnjbBg= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 564787fe-1409-4170-3215-08dc7ed3b8e1 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 May 2024 05:04:58.5750 (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: RKKUHSnjYVukazlNkFbIL8DVZRYfA0GdxOEAa3Y+rcC/5oUt/25pIcv9y/+vBXdqDWZqMm5Sdz45NNXSoWm/9pYqo+iIw9T3eukFO3jOH1kCZ7GXL7nZIzdPktluFe+f X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB8360 Message-ID-Hash: WRWFB7TYUNFLBOZUO2YGJG4QQRUQT4LE X-Message-ID-Hash: WRWFB7TYUNFLBOZUO2YGJG4QQRUQT4LE 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 We have simle-card / audio-graph / audio-graph2, basically these supports same feature but is using different DT style. Because we are using 3 drivers, some feature was added to one driver, but other drivers doesn't have it. This patch set try to sync it on these 3 drivers. Kuninori Morimoto (11): ASoC: simple-card-utils: remove both playback/capture_only check ASoC: audio-graph-card2: add ep_to_port() / port_to_ports() ASoC: audio-graph-card2: remove ports node name check ASoC: audio-graph-card2: expand dai_link property part ASoC: audio-graph-card2: merge graph_parse_mclk_fs() into graph_link_init() ASoC: audio-graph-card: add ep_to_port() / port_to_ports() ASoC: audio-graph-card: remove ports node name check ASoC: audio-graph-card: enable playback/capture_only property ASoC: audio-graph-card: merge graph_parse_mclk_fs() into graph_link_init() ASoC: simple-audio-card: enable playback/capture_only property ASoC: simple-audio-card: merge simple_parse_mclk_fs() into simple_link_init() include/sound/simple_card_utils.h | 2 +- sound/soc/generic/audio-graph-card.c | 95 ++++++++------ sound/soc/generic/audio-graph-card2.c | 171 +++++++++++++++----------- sound/soc/generic/simple-card-utils.c | 23 ++-- sound/soc/generic/simple-card.c | 56 +++++---- 5 files changed, 198 insertions(+), 149 deletions(-)