From patchwork Mon Jul 24 00:22:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13323376 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 509E2C001B0 for ; Mon, 24 Jul 2023 00:29:31 +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 7C188847; Mon, 24 Jul 2023 02:28:39 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 7C188847 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1690158569; bh=YzG/uj/R5kKrrc69kFQIJUHb5ImlIgAcxbmPlmw/r2w=; h=From:Subject:To:Cc:In-Reply-To:References:Date:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=mHHiRUMAw12qHc3CpVg9s/OhDsEVCzT+Gq/KKOk5AaAAijyKSbERU9L4DvGhyvSeO rA5wEw2GwApGOyOxlq1ncYKLfZRV1DERNnC8rmab6BzF+e/m9lGbS8La5BRcni5Bjo ByyEgssisoovBJpUmUgHrhbZchEXxkwBQzBd2vn0= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 84662F805A1; Mon, 24 Jul 2023 02:27:25 +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 77B1EF8055B; Mon, 24 Jul 2023 02:27:25 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1DEDEF801F5; Mon, 24 Jul 2023 02:22:16 +0200 (CEST) Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on20706.outbound.protection.outlook.com [IPv6:2a01:111:f403:700c::706]) (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 C95B7F800D2 for ; Mon, 24 Jul 2023 02:22:08 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C95B7F800D2 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=lGhLx5e/ ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WiXEDlWykjD5FUtQMRUsOwJEcHEuLZ97bEvqwHPU30xj66A6Pui3teamXMkGU24G7rXUflGa13155DTeLAMvg3MK8Ozjhb6X2r1xyy2acxYULJOnOyyLGOJcfmdqsdCGbsaWuUW5ES6BNTaU6Eix1Z6ADuqeDAi0+ayNxcl+LXHGd9ql64uGZX3OvDwcI9LR1+q2x1gRN4PB08iM84R8YaXXegu8WbV5aU9ZhRJjMAUdZ9jGbB9ZN1/7yKAvehF589UfIg0kKHHZrKXYL92cCHaa0yO3HYZLGGUVZtX0jf7fSkk21Faxzn+nnzjjL8iXafF1BEXui3EDmmNNmivavg== 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=DIX0MxRtmvnMBXmS+gIcOCZAHHIxK90sAl7uauE02b0=; b=K7KbB7WKUeiOFGm45ihgaOLr3gJDYp3KJyKeEhB9Nwb+QMU+XesnZg/TEQomcQKxXhS+TzdhK5lS3lVchzLIHTEiakQa6uiovwVDKPrG2gkAagfoHGLdf2LybM67AF7dNLitcbRbTc3DQ6Ri6rwxfihUD/D7MGflWnAk/PojF/mrf0s1mcTVSmP1bFu0Ny5xp8FND3pYCEb2pys8XKOnNdhbABp5gIx5OWw1wkFcMvdneLSYqzRZww7YdDatY6o0c9+OcsIJvmvyVkD8FvL3na/l9MInf8BFQDRmkU0FV9QpZfsefhFhKXOrlWz4G7b8Qo051rY+MK9Dd/UuN/kPgw== 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=DIX0MxRtmvnMBXmS+gIcOCZAHHIxK90sAl7uauE02b0=; b=lGhLx5e/89CJnhfyULLqAQWp8qlvVZbxaDsPPMqd0gvv8DtrH2qUZfiwlCC1seYg3l6lxbQieoUgWkk9Jl1aJsGJpirfGu2zbOumkjtMtE9mi3dESQ+DMgI/7H/bV0K+SA5OI3QSr1p0Ka+DC+jZRXQSn/BSMdzw/Tmfsua+YaQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by OSRPR01MB11420.jpnprd01.prod.outlook.com (2603:1096:604:234::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6609.32; Mon, 24 Jul 2023 00:22:01 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::e6db:c2b4:3f89:e3a5]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::e6db:c2b4:3f89:e3a5%3]) with mapi id 15.20.6609.032; Mon, 24 Jul 2023 00:22:01 +0000 Message-ID: <87r0oyb1li.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 5/5] ASoC: dt-bindings: renesas,rsnd.yaml: enable multi ports for multi Component support User-Agent: Wanderlust/2.15.9 Emacs/27.1 Mule/6.0 To: Mark Brown , Krzysztof Kozlowski , Rob Herring Cc: Linux-ALSA , devicetree@vger.kernel.org In-Reply-To: <87y1j6b1ne.wl-kuninori.morimoto.gx@renesas.com> References: <87y1j6b1ne.wl-kuninori.morimoto.gx@renesas.com> Date: Mon, 24 Jul 2023 00:22:01 +0000 X-ClientProxiedBy: TYCPR01CA0150.jpnprd01.prod.outlook.com (2603:1096:400:2b7::19) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3PR01MB8426:EE_|OSRPR01MB11420:EE_ X-MS-Office365-Filtering-Correlation-Id: ca5ea86e-49dd-4bf6-e0cf-08db8bdc0040 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kwaMYJ3caujx33yK9cVkgI6Fey75bOjx4lFNHqu8UyMAyciiJg6mM8ia55ABsNW4MU+CZd04h5o6tRtSgdJS25/b4mvAbfqo0oT5YiSOFM3FAQ6vm8AGK27nlaUNH7KSZ02JXcBxisVsePuvT4oiqdiMbP3JtbGMU6IVr192YTjdGr3A8IKe9LuEBvrdaecJaCMn+m153n9so6O84dqiMIGRcohM4GTelSOoclUaTJ/eXx9CQepNQw/aUr6IskC5fb5wYoXhahTpyQUHD3ZkY0J2TiYatBFfFA48D1wX32lr5uesB1iUinc44jYQU6PjniTZjkLOGL94Kjq7NBba6tqF5a6JvWFM+TreSMylnf85o5m7abkKjfUtve9dwaHdZNgDEpAPqJL9LxqvOY1kXzOiM7GqAC0RiKPLclHiuDEJudSv9rMzCbDKNhgTk989EeZj2TnQHvEgu4kiLilwm5cg1grHoonu+LG5ovBWEARffnMeviJ6DEcDTVOHLX02ZXUuLI94iCYbCjf3EsV0S7AI77AdEmu02keuG7a4HWpKejj8itiOV17hN53W5w1rPhSwZhWxJvIp50mUxhuQ2A+BjImYhfGusLUxPWukwJFWNKRzSkCMip3qsi0DmsQV X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB8426.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(396003)(366004)(136003)(376002)(346002)(39860400002)(451199021)(2906002)(38350700002)(38100700002)(6512007)(83380400001)(186003)(2616005)(26005)(6506007)(5660300002)(86362001)(8936002)(8676002)(36756003)(478600001)(6486002)(52116002)(4326008)(66476007)(66556008)(66946007)(41300700001)(316002)(110136005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: aEsQN/Z3aIXENLqzbThCB2BSiVp4RZ4T7ipG3XmyhQydZhLCXB7F1Up2C3kdDMmORF2lqXIVO4L6Fj1vU4/hWg5uHg2UEAxapd6HqqSYjBHx8wy3Za+jaajcJ0CuTJ40Fbw0WEhvp//vw+XRitr+JOzL9v3THIRO4aZXGzWBVbAtTGe8tkd2rUitnoXI72DXLPE4LYnQMyBwy9ht0w4VvP6pooLt+xnS9UadYALrmTAMk/2Jo2QTx5Nhfno/dyFsIJgrBlNhVsZXknlblIgYyI+pLm8Q/sxJgIm3qFF/kQgrCoXASEyX7JjcVfPpNGYENWvwzhenR0chA9B1e0T3spJ7TJU8b0KXSH9LT+abR1WGyFXYsl6PFYJKliLzGfSTsOtUOiFY2tXt0D+anmFRVPjaEgJNH1Bl0QcmjTv2g6vvtVculF5WYBIUW5bCm9z5jb2WTFh7O/3RvgnVpz7BEvX8+Rp/pa1zve2A0H2nhk8RKgp0KKO1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L6ioJTa+8L2A7ozxRu+dVtnAhVf9UMI2B0LTHxjVzoMjWBWsumvd5vjfDBIQc0u2jsf0A= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: ca5ea86e-49dd-4bf6-e0cf-08db8bdc0040 X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2023 00:22:01.7459 (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: jpRNClB9poSV0lTFWmlIDe2SWpvluiRw0gjYuE2HHSu5hYjFdZl3NL052jQJPiIaXiRK2Gz0GYZRhwiK4qPl7/q//U4t/SvHfDCInw64L5jHnwn8eU4olTdbLb9QTtjB X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSRPR01MB11420 Message-ID-Hash: WCLVGL2MHLBW7WJ5NTXMBSARMGNRDLZS X-Message-ID-Hash: WCLVGL2MHLBW7WJ5NTXMBSARMGNRDLZS 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.8 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: To enable multi Component support, "multi ports" is needed for Audio Graph Card/Card2, and "multi rcar_sound,dai" is needed for Simple Audio Card. This patch enable these. Signed-off-by: Kuninori Morimoto --- .../bindings/sound/renesas,rsnd.yaml | 24 ++++++++++++------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml b/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml index d9808b130e8d..13a5a0a10fe6 100644 --- a/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml +++ b/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml @@ -91,6 +91,12 @@ properties: it must be 1 if your system has audio_clkout0/1/2/3 enum: [0, 1] + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + clock-frequency: description: for audio_clkout0/1/2/3 @@ -117,13 +123,7 @@ properties: description: List of necessary clock names. # details are defined below - ports: - $ref: audio-graph-port.yaml#/definitions/port-base - unevaluatedProperties: false - patternProperties: - '^port(@[0-9a-f]+)?$': - $ref: "#/definitions/port-def" - + # ports is below port: $ref: "#/definitions/port-def" @@ -242,8 +242,9 @@ properties: - interrupts additionalProperties: false +patternProperties: # For DAI base - rcar_sound,dai: + 'rcar_sound,dai(@[0-9a-f]+)?$': description: DAI subnode. type: object patternProperties: @@ -263,6 +264,13 @@ properties: - capture additionalProperties: false + 'ports(@[0-9a-f]+)?$': + $ref: audio-graph-port.yaml#/definitions/port-base + unevaluatedProperties: false + patternProperties: + '^port(@[0-9a-f]+)?$': + $ref: "#/definitions/port-def" + required: - compatible - reg