From patchwork Mon Sep 9 23:13:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 826655 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 C96C3ECE58C for ; Mon, 9 Sep 2024 23:14: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 3AEDC843; Tue, 10 Sep 2024 01:14:13 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 3AEDC843 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1725923663; bh=Rn3DTMM+fYGxlyDABpaCYpfDDqrOBXyii/vImC05rAY=; h=From:Subject:To:Cc:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=UBk+DRfAxk90+xB9ivo8sBLbQ2P8jgAQe7+YXSpvhxqxe4/o6wASep9VlRab/3dZo hdr6uruv9B8KIsGcq3RlVlqOLxF+RKCB5F6v4HoxqzKQdi3kLrdDwgPiLsn8skxmpA g0fOEzJAOIiaLw358JO8DeeijNiGdp9VD+RcSBMk= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 22979F805B1; Tue, 10 Sep 2024 01:14:02 +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 8DDD4F805B5; Tue, 10 Sep 2024 01:14:01 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D30E6F801F5; Tue, 10 Sep 2024 01:13:57 +0200 (CEST) Received: from TYVP286CU001.outbound.protection.outlook.com (mail-japaneastazlp170110002.outbound.protection.outlook.com [IPv6:2a01:111:f403:c405::2]) (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 EF4D3F80027 for ; Tue, 10 Sep 2024 01:13:54 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz EF4D3F80027 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=bQgbqxF+ ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=eeabFoPsxrk5XLDshf8+og6cHcm6uEfSCcdYAvCk61VxCYSkkqL6qbf+9cXGksImMr4+mbwIsqjZ8zD9yu3AK7jnocBmtsO3COuNiXrVvvRQw2qM7bkAy0GCCXc3dyAFPQrSp+CGrSunIlrswC44dCG552TuzBFTc62unWTFPwLeZjE04DprU2TPw4+9WICCQ1BcFtZYBe2sHUYNaJ6daLKcLRsMUNN9NMDvs1572oOhUkUCH92H3fsUoGWXFmBOXZkV7D+1TDFqELymcWRR9na85cRBLlRZ4HeW6+PnVtJsGP7e0iJRFjX5OpgRi5YcsY+Hqn7G3h6eWwUbFRRcYQ== 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=eZUDaLj7j58bb6kqotbtwotXk2QqyGpeWOkg4t7qoTM=; b=jKXl+cNRjVH+K8WGOk09WxL9QOXfj+ncMXpl3GcsQM8FjIrULQFyT47gM2GY27QT/M105fksZMvqWov3aaeJo56A3NP4vyj2cx1IItYQ8IKo0aMC66xX7RA9dVs8JJowri7pSldwx4H87YAo018OXgRwgWIQbPEmrYbhmhz6ij4fxtMJoj8Djwwo8z79vyM6bW1AmYoMDM9sLr9fd3/TkewHUOq6Em2ZdX7ATZe7klKvoe8CpUP/woM4FhWhqgTQ7hQPmryzuXroQav5a3COInVuEua7Ez3fok2VEJ1BO4kRQT9T6HrBhjPUPDUpKLsdwx9sY6vkXlSSlxqfP5o0NA== 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=eZUDaLj7j58bb6kqotbtwotXk2QqyGpeWOkg4t7qoTM=; b=bQgbqxF+Lqs7M3WtPUcxQAD3dkoJlSwPN+0mnVPwjC/b4wUw35LptzD82PeanwJNDAnIjd+ElUZj7s+/HE066TUzqS3+8vHq7BKEcadAkGI/twNa4f/81Y13rISLrYrQNPNf0XiJl0EPAoKh510ZwhXGN5HzQfx8YW6OHrQpNxg= 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 TYCPR01MB11009.jpnprd01.prod.outlook.com (2603:1096:400:3a5::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.24; Mon, 9 Sep 2024 23:13:48 +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.7939.017; Mon, 9 Sep 2024 23:13:48 +0000 Message-ID: <87wmjkifob.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v3] ASoC: dt-bindings: renesas,rsnd: add post-init-providers property User-Agent: Wanderlust/2.15.9 Emacs/29.3 Mule/6.0 To: Rob Herring , Mark Brown , Saravana Kannan Cc: Linux-ALSA , devicetree@vger.kernel.org Date: Mon, 9 Sep 2024 23:13:47 +0000 X-ClientProxiedBy: TYCP286CA0361.JPNP286.PROD.OUTLOOK.COM (2603:1096:405:79::17) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYCPR01MB11009:EE_ X-MS-Office365-Filtering-Correlation-Id: 041b6145-84c5-4488-5263-08dcd1250f42 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|366016|1800799024|376014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: OLR70I7hJTiQuie2YzgPlUsiEgfxCmkub+4OldihEzjKEzLe/Vgks3zE1X5Y2UUrkVL476W6yDTnjPfy6L4oCNvlzntApfVRQiJxuBTTWOgKGJ240RE+USgaz1UFFyaalcWD9wB9GTgZw+CnOvNsZV/Cc6Btc6IPkYtAs2TWqbhQ0v85KQtLAczgofm/x97Gv7/OQCEc7Hj1WRBOsvrMzWrilu3+lV1b5wgDt1QM4rGKoK2jvlriVeZ4PzfJaJfa2pziCU7lGGjk/98HomFOg3h1ft2B4pNioXohPd7CehaLBWgln+8QMBl2m0fM0jUQZ/moPyNamjYALS+UHy9QZQ9T/z6DXLGJzINOR9SPpv7KMa6tNCecqwKeoii6I8pYrfyJto2T+tr0Zooqh+15XrDVnahjLS4EmJa0X4TghrTyXbrPGZ4bNdTaK1tUPYp850nBswqPuG7e9Uvco2OmaD76TYei6/hhMbI124QZTGqkzHNGC3TSfWAaIAyG9OzEURFTqdHs29mAhuN1uDxeyN15r7b3w6xENmRIYHgpqld/xWoYZUMztr+RFfMUuE6yQqWk9Mx8SDSMhL9+sZC/dIk7ecAXLyBDL5yrhcU1sNka7Ej2GfVZlwBJ6OZkoDTntZrV2tPIV1V/zS4p2yFFt6XT4VYlTH1APBaiV8kX0fzg4EdwWWlQ0mFqPAwtw2zwfNLejp8577O+Ix9xdi8GV61SmXnHRms8HTuBYyFDiaFfpcA1h3vGFm1agCbla0xVGwtSQcSV3615PoEL6TO1keHJ8d+6QHoiEInN3mGYAyB8IwSlfXQ23D1eNrNorO0YmxtsG6aDCS1BA8KMGmqecS4obSz4Qz4nHEWsMbc2hQIK9NYz8wl1CCeDm34Brnp/b+CwRsFnlnNi+36wJvMDWl99pIABEIBZkF+JZa4fnUwXLObpdAqiZMna6zWFxKLs5TNnzJDqF1e6K+nqO6G565HCPHApl+sWiiR9B7KcxDYO2jkaS6ubc0kPoJxdavZDewtEhPvsXxK2ZD0i3n/2VaARt98I4QRJ27CeI/6XKg9nDkDpxx3mXxZrIzSH0sDbOyfci+iu21KX62PpVydpxHhR0yiGIUUiV+EToTKu56FsN3JhD70ENYG0KeYeNl3SsBC25AGRYsDIbPRAPbyjCMQ+E9s36dhqg74CsKtzecOXHRc6yNTV522K/TRxOWmzRDWwRUzMaaXKn+u7RF97/b3WrCyASfHeLCBcxBF/b1ZAHsL1awGK6pu3zEiUpXnKYBqN6Sr3YW2tvlSetd05N2yKliZd42ogLZBshDr1rQ1ydJb8CT8vl7iROybQ1zCtyiSZwfLchBTAvM6oCLE9KbUopTCA6lJRScF9EV+AO3rurKzzCuxQY/FQVqWMgSqitsBspziLy5gWZOHUN128cw== 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)(366016)(1800799024)(376014)(52116014)(38350700014); DIR:OUT; SFP:1101; X-MS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DaTllsLxUPhedoZEIyMgKCBUgR+KFf6RLdy21QPqpDf8UVmxuT6f1E9R0fpMfs8OyRopggg0VC98tyjhO4EQpWN3Df7E4jti2tDWilTdjT6BqBDbNVaT/+FmAjs2Ex1Sc52xsHn5F0NQkKfaTc0/0kDPAZFcT7S/nvACybgByvHE1Id8OHIm+/3tbX3ivhoy913exJJIOg008fFBn1okoS8q19lYXXbp2MMox+Y5TjH9wTkcZwohznlXBWmV5wXWcTLGBcWupLTYbdZ+2dK9B716fw6/lIQYRX2QtsY4S+YsHkyOY4usV/+5q181fZlEjQhc0ah15D4asQGXJnx369RRe9SnIwm5+aQPbl8Yj1zCjXw3KmcmAqMQIkbHxhEO9KiW8nuUV7qQiqwwtckZ1nZSD98uI3qnFuCLtOLLfPcqZMZAMeDfue33TeezZE1k0PbhpFEY+1WIWCFbMwfdKLvTgoJJI+GYn9JZvINQnEogPvYqEeIw9KzEg8FNIRbvaNNXc3unBL+WiSDmexz/csU+/GZGBlj6VH8gSohABqF+8/8qSuCaVWxhcHp6nx5sEIo4luPRMyh/+K8c+BL3KxLVI= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 041b6145-84c5-4488-5263-08dcd1250f42 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Sep 2024 23:13:48.0807 (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: uDkqohcA6Jezy7RtSAz1MZFFCrep4o2Jy4wcz8a+OMMt6manWHyKGi3k55UbQpcY4RQSksYutAHXHszELNkJQyWMW8JnIHb5ywjU04TPEAj95ZfD93O2hbcZYBbCqTn/ X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB11009 Message-ID-Hash: IL2PIH3JXA2S6D3XCJUCZGDAVIP4IORY X-Message-ID-Hash: IL2PIH3JXA2S6D3XCJUCZGDAVIP4IORY 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: At least if rsnd is using DPCM connection on 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 Reviewed-by: Rob Herring (Arm) --- v2 -> v3 - remove "|" from description - removed common post-init-providers description - 100 char to 80 char for 1 line Documentation/devicetree/bindings/sound/renesas,rsnd.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml b/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml index 07ec6247d9def..3bc93c59535e9 100644 --- a/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml +++ b/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml @@ -112,6 +112,12 @@ properties: description: List of necessary clock names. # details are defined below + post-init-providers: + description: At least if rsnd is using DPCM connection on Audio-Graph-Card2, + fw_devlink might doesn't have enough information to break the cycle. rsnd + driver will not be probed in such case. Same problem might occur with + Multi-CPU/Codec or Codec2Codec. + # ports is below port: $ref: audio-graph-port.yaml#/definitions/port-base