From patchwork Wed Sep 4 23:44:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 1981021 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=renesas.com header.i=@renesas.com header.a=rsa-sha256 header.s=selector1 header.b=lnt3ybv4; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:40f1:3f00::1; helo=sy.mirrors.kernel.org; envelope-from=devicetree+bounces-100173-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org [IPv6:2604:1380:40f1:3f00::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WzfHR24r3z1yg3 for ; Thu, 5 Sep 2024 09:45:07 +1000 (AEST) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 7D0D9B25F5D for ; Wed, 4 Sep 2024 23:45:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B1D1B17BEA7; Wed, 4 Sep 2024 23:44:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="lnt3ybv4" X-Original-To: devicetree@vger.kernel.org Received: from TY3P286CU002.outbound.protection.outlook.com (mail-japaneastazon11010037.outbound.protection.outlook.com [52.101.229.37]) (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 1DA9E179958 for ; Wed, 4 Sep 2024 23:44:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.229.37 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725493454; cv=fail; b=oL1di6nt4Ms3sEbV3hmNPFbcxlUXkwd11QSiMe/rzkxRKe5HeKKjx+CipPLd3Kj9GPsPtsLEkgGTqJEbJ0oBI1v0Ffass5d9g6vL/Wczp2mORdRNbJOXgfs1pT5E49HRKouTLZuJiP3HI0Z7zwd03nxw2HvwwUI9F0QZmxcocjY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725493454; c=relaxed/simple; bh=sc8KQbLbJMzkCA+NgfkDKSJuHgSEUwfU9OB2ykjfOyE=; h=Message-ID:To:Cc:From:Subject:Content-Type:Date:MIME-Version; b=K0bLs/DhVc25hBurthrEKH+UY94yuS3168mg7tagmT70TX+PPIuKXgXYfSQ5Fwx6CyKq+Z6/wEr8jxV1qwwUJTHVEP0ZIfAvn8aXCzdB9hVhz7da7ZnucqrxrY+oO3w9lrMuYtylD4jgKK2dLuww4bDdRie+EFFk9Rz8w1Opk7A= 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=lnt3ybv4; arc=fail smtp.client-ip=52.101.229.37 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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=B8nDdipCXe8bSRwPvq0bYMEFUbqo0xQj3LL8dBJ4zjvkouRZEOqtc2/5yVadJGydTJO2UhdFJjwZUV08xbnSKh3xvor8+/40LHajBcK4oQvyE11KsCRjbe6svChswP2wqfPFnU0/lg2VUUd1HvR/coZuUCtS0NMkhr1rrJT7182Dy+cT0Sbl1hHW1TXnYIqlEB9ZFdM/AmHEd2MhTAqPn+pr5q3GDkEh26mcBTdbO8bInt2v0MgB5xSa+P0/NoTDvsHx9MAAbenpfgn6fUYPX4TpE5FrMcgrEAUzq0U3y2tShFcla9DbnqLMRK1nDMFoSe0BWwkaAzYQHAKA7fJhJQ== 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=Q1iaq3M6NxB4/rGpWMooU3Hg5wEoZUFkzPWYsXfT86k=; b=dhgsRGJpp36iYSyPEPQTGOSt57WzSgDkZPeAywFFYxbh7eik7xYmoii+K8XmxCgnk7gIswRoYFZzOldqLRRubvLfelIY2jWjjemv0F2RsDwEjstSS3lOw5n4l0gZFCq4ypSggWVPr3qHBJaE0V6y2BHjpjvQoZNATQK971awzlDQs2wcKER4yM5Dwp0jAlvqpX1BdZRG1U/CeUxtGKX4qp0/TdOBUXui0J6hu4PWCbhKdh4yidMkloRJWM35kesG++BvB9Chii2JVJckj9/xDBJvQSI7ufs//zBOTP8atV7nHZWiU5oSKsVY3QaUYdB3UK1piQ/511Y8hPP6BE+ebA== 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=Q1iaq3M6NxB4/rGpWMooU3Hg5wEoZUFkzPWYsXfT86k=; b=lnt3ybv4kwT31tMUBzuhhk8TVmyc8HOmf89+dCpT2sSH/7mbg8TejMvvxtjCcMYW8BAVUDM2Ad/gaBK00dMnAdcLrr6C2WOY6vWjqwUU+44nc+gjLCPq3HmH0noigU8I+ZLfrYmitsnO+O00T7uuJQ3o9SBwd0YlgmApE2BqE8s= 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 TYWPR01MB8869.jpnprd01.prod.outlook.com (2603:1096:400:16c::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.28; Wed, 4 Sep 2024 23:44:08 +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.7918.024; Wed, 4 Sep 2024 23:44:08 +0000 Message-ID: <871q1zkmrc.wl-kuninori.morimoto.gx@renesas.com> To: Mark Brown , Rob Herring , Saravana Kannan Cc: Linux-ALSA , devicetree@vger.kernel.org From: Kuninori Morimoto Subject: [PATCH v2] ASoC: dt-bindings: renesas,rsnd: add post-init-providers property User-Agent: Wanderlust/2.15.9 Emacs/29.3 Mule/6.0 Date: Wed, 4 Sep 2024 23:44:08 +0000 X-ClientProxiedBy: TY2PR02CA0056.apcprd02.prod.outlook.com (2603:1096:404:e2::20) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYWPR01MB8869:EE_ X-MS-Office365-Filtering-Correlation-Id: 06a1d96f-119f-48e3-22ef-08dccd3b7837 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|52116014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info: F7XDF4xANeK1CzaB1jLG41AEAVybuuRemhcP/EKPjT/z+M600GSk6leBrTExXTq3oPzPcGsN8mYYNUVowBz8lQdWhcEkZK5onMm8lGU/1WmZvKVRHM4jRGoFm9DQh5xBvN5lOf1lOlIvlDbF2oiEe0+SBShQGuq1On2KfB5Hvnzcbt4MuS/8VwON1ld0k8sfFKoymD99xhHK1Oe9chptoRJBqV/J90BvsfslHOjiPg3JTT+5OQQ9It0pUYthKj9Dn37WTaBC4GEWOIDyDPRo4P4VasPG5ivxNCUELVeElfsCjiI7TZokhmt8s3r+dGL9dZw+od1rMgAQvyqd/VlObuhTMFw1Woft5mmYJK3e2VOjW+uXP8JVUWEtb3SikdnpEGWZBkDcpAbPHNPaXDulCaZAGKuMjHBVtOJ3Ub/7sGO+sF3oL+kA1eWwk6gNnRwwwvOF3LSk07Gw9r3lYYPB4r1TFQ3M7VnsCMk9ahWU6Mh3WuS/QrdeVx76xItPav6SVGbNgQkmxV3dBN3ziXeuNfQv0Ob7JEklhCdjetr+LCOSZOkdNvb8/5Qq+l9ShO+CtEvMFY2SHtIgV9PgJiMFC9BUWmbqmXGPhRjbq7NW3wshybnWbzHFYMfJ8COox4xidv6FHdVD/731ohyqXNurzoWZ8PzXonHz+rI1rdF/vn7PvXq5SNkNkYQfwSrR9xG2U79jQLeNA4Co3f96XRrEGO2Y1RZhaKOCtmeZ/HVJlHyZlvocBtID8yvZ9t7g4k6K0cwgRIj0WXChYHbgAc7j7Xhae8sOZi7jzMeTGVtTNZYSscRYt+2sIIoLLC9q63Pb9vO/vqNvIk3f8+Wcn5KhxtPqL54H8fmiDoVmX9+cmCFPvNIfL9Eaq9FXiG5+kV8JwQElzU0VAR6PmQI4lwNz5Acy6QW4akVzbXcnvaaCK/amhXkXeanoLKYiwVH2IKgGex7oS2WCJRLfjXkNvkFF0vORh6fCbsCHETh04ehXEcwhMNJufOBupM/iUnetiT8uRb1+W88Hdat/qQ9GKlyf2Pn2TczBHb0P4Kv0/GZxeXwaXCM49TCJKHgUzmvvHsas3IliSFGt0lwvixxsuaJE6xzj0+/as0TG83tKuBn3McdYZBdc4AwgYvv8pU36vsh0wwOt1p9b5Y3yNWw3B1+74wX0yz5lTOjevLnb//nXsQOEUHZLYDViAfeHdpdei0iDmA6CIOcKbMrkYVilFlLvnz5xmxAI6eXn/gVsPnoM7+H59J1yJBKFWHrwohfAErT5//7B3XgpJS88c8gSADjT9Oba035Ozc7TxQOhC6t89nkPIb/ecEM1mvBTs/m6dUm5ArnB/I5WX37olsw9iQX+2TW99r4VPW9zJDsBPiitNZrPzIErMh0UqVIBRFInS+eUTyZ6MaQql3PunZocG11pYQ== 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)(1800799024)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 4Db1w9l6ZFebwSBVWwPyJ8bzRtHR/s4HjzlkwDh4i+1c10nQkMD9BsRBc84nbkej0x7Gx+m4AvOHNVbYXnhQ+i0AJpaafEWMxK9aoQG9bMxmy6tTh3uDNxHEg6EZTBiFasps0IARN5R2zUvtaPvZI5MWHDp/z65qVpgtw++g272aQ1oBaeCzGWn6rW4GGG1Ml2XC42E03LUZRh3skrTe3UlYdmiSMcNlam/nOYi50qEGIO9feZue0h5FzvvKa2h9gigNx97wVKEoRAVVcE7Mo2XvFHkcDsbDlIq1zChIZXgXWRdIcjbWCrmwd7uVwWXPjVaHrvJ+YYAnXHcFA6NvD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mLU42NXj0Rs3b8jVeLakTgSEY8kQdd2cgjik9BhOi3QqHVKMHqTfqrwDz+zNL9bWanw2jcfSDRmPkFbtT37iTMYKX0AWuyw6wg6Hd7Q0U4nqTjrirnsPYxfY68IvQCeGLY52sI7fj7vuSU4yd8efjDCQ1v31goXRhgy4g8wc97Hco5fHvNOrAXWPvGZiszbs5LXZ79+/xAiMs5NHKTwEU= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 06a1d96f-119f-48e3-22ef-08dccd3b7837 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2024 23:44:08.4271 (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: +6N/1uf1fzFlrAS0lPyVYgf7nQMmqF/mjJwQBDATAxkk5HSSTJCWvvjW2n3R1tS0e/zouwjlMhUPnMYmRliTZj6rodTFxSz6YtSkoeBSMmKDbBjgAJLE0Bsc4XnfGC8Y X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYWPR01MB8869 At least if rsnd is using DPCM connection with Audio-Graph-Card2, fw_devlink might doesn't have enough information to break the cycle (Same problem might occur with Multi-CPU/Codec or Codec2Codec). In such case, rsnd driver will not be probed. Add post-init-providers support to break the link cycle. Signed-off-by: Kuninori Morimoto --- v1 -> v2 - remove basic description/type - add detail description - update git-log Documentation/devicetree/bindings/sound/renesas,rsnd.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml b/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml index 07ec6247d9def..458877ce4aa42 100644 --- a/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml +++ b/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml @@ -112,6 +112,13 @@ properties: description: List of necessary clock names. # details are defined below + post-init-providers: + description: | + At least if rsnd is using DPCM connection with Audio-Graph-Card2, fw_devlink might doesn't + have enough information to break the cycle. rsnd driver will not be probed in such case. + Add post-init-providers property to indicate which link in the cycle to break. + Same problem might occur with Multi-CPU/Codec or Codec2Codec. + # ports is below port: $ref: audio-graph-port.yaml#/definitions/port-base