From patchwork Mon Oct 16 01:37:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13422378 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 C61D6CDB47E for ; Mon, 16 Oct 2023 01:39:50 +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 E4CE8E0F; Mon, 16 Oct 2023 03:38:58 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E4CE8E0F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1697420389; bh=bR57EnMuGEM/YDvdvfC/IdXVhUjttjJshGIr6LKwcv0=; 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=NY9PGwLgGItGYfd+8py3bwnnp76qHDapa/N5kgvWIi26L12GiVy4ZDpQPQwGsSfdW q8O88HQm5c9dlx/bLbuKamoxxRvSL3cKAR6yTGwDcmA1ZugeUvsEhWVZZrsxO95vNE Xe0paK5jDsMytN4d/+oGyISFN8/L1XM7eUWqDbyY= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 30523F805A0; Mon, 16 Oct 2023 03:38:12 +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 C6646F805A1; Mon, 16 Oct 2023 03:38:11 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5908EF8056F; Mon, 16 Oct 2023 03:38:06 +0200 (CEST) Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on20721.outbound.protection.outlook.com [IPv6:2a01:111:f403:700c::721]) (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 3800CF8024E for ; Mon, 16 Oct 2023 03:38:03 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3800CF8024E 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=p2eFOfcU ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XRnfK0rPP0sIj3gOZyljHhyox6jpIJnkOkAkC1Jk/wQeb4kL7VAJmdbe3bFgdSNhyIWK57ikmWp2Ye8QOAqVoRmRswgpQwUpFuExhiPdlNirUGgSleQT6cDs2PR3FdaOYl/KSl+cs+QhoLT94xb9Tk5leS63CGNrP7u5GQjyIhiwz9kZZxgB+8cDjfaGTpZlEv6qi6zchgGbViLTxiZj25n7oZKiTXOl3/fZqMSsVT7OAhEtcJ9E/MrN6vmgyw+2W/2JhU/R6wqIK1xSGad3FJ5BnsGpw+IrkB3xfXF3fTKOWbUXfOqQqOH6S/I5rZBONzA2VFc5Ll0qcaQlvryPzA== 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=VYmXm9T2vC4fO/F5co+2dN94BAsJPw/XSFjbixCUtUo=; b=YtM3zO5Id1FMv8AvRCIKntlncozb4cGTznOO/xM0KXdFL+k1ZUvPiYAhX+2xGtDjmw7AGuJc+nIgQSMErD2mX+u6C5XBKxH8XrPdAPfg3T7+8RaiYVkV2dylmhpYmjqYs0VXwkxvjnGEwL4JcQm3RkCOa7DD+4qVDc0Oip1o8aN7o1k9RZ8MapWpFgJjL5+Z3ppHQsennc63NkBg5vAUde9l0sUh/OwZYgFr4rT+xAEF+VX1HUiI8+TjNar5zMCuoPVAEBJBoEZti0/yXcz2zBW/4nN28dp4pc84RtAIVy5DVyBAHVoTrstv1nSmzN9i2OM+58y79AN3tI6PA1gRMw== 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=VYmXm9T2vC4fO/F5co+2dN94BAsJPw/XSFjbixCUtUo=; b=p2eFOfcUUpVMiTLU60oxGGfHxzkZQfHmpeqd1ga6zOJTgL4J52HJlzW1Decfjpevct6lVf/ohZMfNOK3Aqm0YGkaMRchL0mgAlalCvQmZ/wqTzu/OC3qsGb4rDAr2icNX238sZunBrlOznhEf42yOqLTHFozVIC9jdFbMi+ivCs= 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 OS3PR01MB5656.jpnprd01.prod.outlook.com (2603:1096:604:c6::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.34; Mon, 16 Oct 2023 01:37:59 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::d2a3:45df:a180:595c]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::d2a3:45df:a180:595c%6]) with mapi id 15.20.6886.034; Mon, 16 Oct 2023 01:37:59 +0000 Message-ID: <87ttqrwdmw.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v4 4/4] dt-bindings: audio-graph-port: add ch-maps property User-Agent: Wanderlust/2.15.9 Emacs/27.1 Mule/6.0 To: Pierre-Louis Bossart , Mark Brown , Bard Liao , bard.liao@intel.com, Conor Dooley , Krzysztof Kozlowski , Rob Herring , Jerome Brunet Cc: alsa-devel@alsa-project.org, devicetree@vger.kernel.org In-Reply-To: <87zg0jwdnz.wl-kuninori.morimoto.gx@renesas.com> References: <87zg0jwdnz.wl-kuninori.morimoto.gx@renesas.com> Date: Mon, 16 Oct 2023 01:37:59 +0000 X-ClientProxiedBy: TYCP286CA0115.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:29c::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_|OS3PR01MB5656:EE_ X-MS-Office365-Filtering-Correlation-Id: 3320983e-0489-41cb-f1d6-08dbcde887a2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aO2DadeAn85IdtfziHIZqeCPHgAt9iwZQsBH1keFx+H2ZScQ9bU7kNMXEiGk7c7EbkRieg28N6w1FZ+mogQKSWoDRo7PgbuGbBqpRBbV5Uo0Rgau+ru+Y7J4IhFJONne30yLSVNrcIaLvsosSeXVQM4xNFs8KamY6Cyahs6PPLl1hsAfl+6VE31vwIwtihTSM07GhfF1FQ6cbfyc7eyUxX3uGAi8fNM1Hgu9qHS/aa6NgonWgmnM13NHJNkyWPhmPPyB0NIaRzBg37vOBa3VsIlmALomI1oee30JTngx4fJFV2LA9mimB4dkJZXMpb7f7RP1pXS9MuTAWR/2XHeWHTPS3Qm52JFT9ytvk1XVBBn9gK2sSBvecYHMsKIm5USiM0uPGddXro9Ip1ibcBIHTtkc8k5Z1n0hW0d+uNJuUtPJWQZiWA5x+haIQgCoOM0cXaKTqdAufJf2z3k5Dmhj5CqhnNIWxLRokhhpq4sZcO8gfBldNiDJlsn3vM8ZTmgO948Pv39McnZJWiOXcX76XGixcS07lyDw51bhDDGUCkyNafEPBNOUkvdG107q7IIz6/oxtjDE/JcgBeWEVWDNIXR+dMtDetyTrx5dqgIl9VHli5jMcmc9u96Maa/22ZBI4sYbJUN4Lr/iybUaVRhqmg== 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:(13230031)(136003)(376002)(366004)(346002)(396003)(39860400002)(230922051799003)(186009)(1800799009)(64100799003)(451199024)(110136005)(316002)(66946007)(66556008)(66476007)(26005)(83380400001)(36756003)(38350700005)(52116002)(38100700002)(6512007)(2616005)(86362001)(6486002)(478600001)(2013699003)(6506007)(41300700001)(5660300002)(7416002)(2906002)(4326008)(8676002)(8936002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: uv3S19bpzbCrQOFy1LN33zHTlp4u2iDOzthwVaZP/Q9IpZ5AysUYktmMyCNK5Dw6sfVt+vJIy0sJvrZ3X6v1bvxKgemPsTAj/KUxMCrehwCYZYn7rBSqsSIII51f0HTRvBJxEDijQQ9PujvVY0oOv5yjrcB9xreFa6UOqjczltEEYlDz2URs8xs5YeEEMNEY61T8iHcJN3ViK4UfgyzQCHOev2bgRDK0khlpeofXgck3YIF4X5g82b8QStO2XDzRQW9Gufv0b/SsZH9BImERTZCmKXlSSZl0OHlihvmf31ISvJodZDs6Yb+ciFtjnNRLt2xombTtwXjD7BSHu3kQWAfgXu+ziToUMS7qGbKKJKMKIHUu+t0h+lk2E5/Ylzfmyx2t/HWotlgm9TRrDK9Yc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wUiCOVKa+Qu8jpxRY3h5dQSMYkvmehLhXPwPC6viOPGSTfpK0f6HCszWXBxOF2oV+YLyvMRA9aUJn1pv45bxRDTPhWKhUZTnbnnXDc/Mnnl+ShMxV0wnFjydxzyDqTsYaomihLrCcFE= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3320983e-0489-41cb-f1d6-08dbcde887a2 X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Oct 2023 01:37:59.5833 (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: N1ammdu1IGnfk/cNSzyl0UJWoQC0FAKux4Z4mWRuL2kKPeyQdjtWsywVELT7ZQx1Dzqa36/EKlGFnR78plglLcqdUZs3EUZv/ZxnxJoCWtn/m+ZsdXdBcpRcn2K0Iasm X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3PR01MB5656 Message-ID-Hash: YRWG6H66VIBL3WSP2GW5MCBR7ZTTNA3M X-Message-ID-Hash: YRWG6H66VIBL3WSP2GW5MCBR7ZTTNA3M 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: This patch adds ch-maps property to enable handling CPU:Codec = N:M connection. Signed-off-by: Kuninori Morimoto --- .../devicetree/bindings/sound/audio-graph-port.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml index 60b5e3fd1115..1f7005356efb 100644 --- a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml +++ b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml @@ -19,7 +19,13 @@ definitions: properties: mclk-fs: $ref: simple-card.yaml#/definitions/mclk-fs - + ch-maps: + description: It indicates how CPU / Codec DAIs are related if number of CPU(N) / Codec(M) + DAIs were not same in one dai-link. ch-maps is not needed if the numbers were 1:M or N:1 + or N=M. If N <= M case, ch-maps indicates connection from CPU, if N > M case,ch-maps + indicates connection from Codec. + ${LINUX}/sound/soc/generic/audio-graph-card2-custom-sample.dtsi is good sample. + $ref: /schemas/types.yaml#/definitions/uint32-array endpoint-base: allOf: - $ref: /schemas/graph.yaml#/$defs/endpoint-base