From patchwork Wed Dec 14 01:22:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 634225 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 D0CE6C10F1B for ; Wed, 14 Dec 2022 01:23: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 8745D18B9; Wed, 14 Dec 2022 02:22:39 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8745D18B9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1670981009; bh=tPRbuBaNy31WbHToDhLseWQV8y68ePJ9Pea2X2xN/JE=; h=From:Subject:To:In-Reply-To:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=uJ9MH5jkzuh+gCgjVCQaVLZFs8O+SqJL1YmcyGda3huza/ZSfQKCM9RtsNC199vxa 64/MCNTMGlu6HI3s48w+G/TMqjoSqUFgHQW5d1Km6K5Ggr01briXF2k8cQnm25v6Ta eg5e9i9ny06JQqwjUaVY2luMQ3oiV93RD/DBlquE= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id DD721F80536; Wed, 14 Dec 2022 02:22:35 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5B602F80536; Wed, 14 Dec 2022 02:22:30 +0100 (CET) Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2096.outbound.protection.outlook.com [40.107.114.96]) (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 E0022F80535 for ; Wed, 14 Dec 2022 02:22:19 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E0022F80535 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=jKOn/2s7 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WgSLH9NlsIkNYwkCCQ/Sm759JeMNCKdtZXhHyMyQv/R9Lth+4a14B7pYe+4biGYQqzzf/Bh3AMxSw9s7xlUztSIOc+8QQbtAxOHf0PLD5Sgj560KiU2SqSc8bVK8VgSDHhl4XEX26A9j6vle9M6FbH/goCe0XfwKnPTBLXYS01OSiXlVxeTq/q4pzLTl512CWfxosnx93m0uzWWzHaXMKQbLHfwRrgPE8Uopg2pZxi4wnVtbVkS5uOqE+o4T5c37LIKgkHrsD7E10XTXK2KVStISVBT9bG/ulsBLOT9Nnff3RqmGUftLieol/RCIhPTGA5+qqDjdv3koE8UD/sb5Ug== 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=EBZZDzYAtiw5TWEHiD1uLd5gcaae5a1PX/OLjrYafgc=; b=NgHqU0GAis+tnCQ9YruBYDk6zNPI0yh4iCZsVamAVOBSo8EgR3NVK34H8I2SwkoQ2aR5cDIDQfwj2ZcAsViK/J8OueotMAK7pxlk/eTVWn1RD7mxd+u7CLgzqmF/+oRpNmGFsnDFZFH8MnwUiIg7sy9wUGh/hMIaVbK0Lz/mDTwNRhqEO4C6AqzoGtjiXR/I+hDBEod09GnrATXfRwVELCWlH4aBah5AKjtHYrOxBLZRF6gDkcYEJu/h57ngOzOP8plbSipngU0mygedDUmNwW/60HRm5ynyeWZUK39vEqJ69TyA67bS4QUAhz6UXGJcNSo7EGGiMyY8SM6N7wKYuQ== 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=EBZZDzYAtiw5TWEHiD1uLd5gcaae5a1PX/OLjrYafgc=; b=jKOn/2s7F+14/MiuFeoJdsrJjTI1B9WPiczp3AaXiGj54usrCcHCUacgmVMwPOO2ec11ZGpxFH/BiMv1TiBGCuqHhKJbZs+NxVh9UNaZHTFblA3iqosRiPN8otLKBTKV9RtLSH0RVtEK7OKAL1IBaU6MbsIIfwXImbvP1tc7j3Y= 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 OS3PR01MB9898.jpnprd01.prod.outlook.com (2603:1096:604:1ee::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.19; Wed, 14 Dec 2022 01:22:13 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::a5a6:2344:db9:431]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::a5a6:2344:db9:431%8]) with mapi id 15.20.5924.011; Wed, 14 Dec 2022 01:22:13 +0000 Message-ID: <87sfhipynv.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 02/11] ASoC: dt-bindings: audio-graph-port: add definitions/ports User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Mark Brown , Rob Herring , Krzysztof Kozlowski In-Reply-To: <87v8mepyoy.wl-kuninori.morimoto.gx@renesas.com> References: <87v8mepyoy.wl-kuninori.morimoto.gx@renesas.com> Date: Wed, 14 Dec 2022 01:22:13 +0000 X-ClientProxiedBy: TYCPR01CA0111.jpnprd01.prod.outlook.com (2603:1096:405:4::27) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3PR01MB8426:EE_|OS3PR01MB9898:EE_ X-MS-Office365-Filtering-Correlation-Id: 8bd06f04-59bc-42ec-bb38-08dadd71a146 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qT9ASS1kr9gzGJ0xGI/0ywZhSnRo1LvyVPmCvFRECjpjZZdB8e63xPU7aeWgwwnCCC2LtA6dEJPCEf9U2L4Bb1GLD2upv25njPhvZzHf3xfxf/TLvTP/xTYTtd12iRDoFwcH8Q9ZO7pTUZVDNF2o1dpfPISkGfkYhS15lbKHt4SBibZxiPauyRnFeQvpKwqyUpFWHwj5NiXBUET2TInBKfHuRQipVPiSJQaM0FiExYfyuI8NhGERcFm+Pao3H4aYZm1C/3u4id6Ra3T8KxbW5IFQiJw99S8c6ndtgIe0GpjCZVlp1XkHoqCiSOt8yCmEDDtoiBbIlVCt0C8L2SwIb88XQO0beu9z4eOsrWDszW5FzJfGnSG+TbmrG+cfMBFG2DS8xmFmBj/lZhc2R414hg18nlSEumgfgILelp7AypY1TsJbaerfBzQFwNxw9WC2aX257iAnIwR179pxVMaHJ7EFFaHbjBaXeV7UyjqbuX7ZpYMcznW59dtdE3oWp70Lp2IIRd00pW58YRIlpj54fa2a4uUXmpk/jm0LStSFtJ0X3i1/UZCpDEC9uCl8j7lvGcuGOfhbk0qm6Ms0Kfwuys4AD7fvIoqD5J905+JQAbh4+wlezCdMocSOLgKcgiX81Zr+i4sJacV0ZneWLNczwULhUiI3zN9VRTgER/vGwVu4MjSJm7pRfusaEJoJwMdMuUs2viquVmNfyVC9eI6eMQ== 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:(13230022)(4636009)(366004)(136003)(396003)(376002)(39860400002)(346002)(451199015)(110136005)(316002)(66476007)(54906003)(5660300002)(8936002)(7416002)(41300700001)(8676002)(26005)(66946007)(66556008)(52116002)(6506007)(4326008)(6512007)(86362001)(36756003)(186003)(2616005)(6486002)(478600001)(2906002)(38100700002)(38350700002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: FVWPNvSUpBiBcBkOCfX3I3/y6OKCnWOQRP7HvBm85QRhGWHDUOm20ElT/Kn6tjsIr8Cuwq2ilvwL17PrZc9aqRPpwhLCn+9RHZPK08EGw8sTnsDGGCeXq7ckOnGG8Bcbu2VpodmlF1Rm6sw5Q5oSsRavkckqE39wCaTi813/eC+P29waSAWEnChWlq+v9axTZENnFZhsRcvzZgwbT7UjmnczP1wtbYk1Me8R3z6RDLGjp2xknttwuJ2p1aVbUrRMEP4zYB2U2X5H04gyrkpx7VNSxaxV8U4k8vjuAzrnWY8KJs18qg8iOCdW0v884ZGL0/vPi0t9+oEmxM9OdVkx88BQri9JBEXAlV1i6FwAASEqP1oTaneYhHtRAxvWPhpu9SdLfBKKKmAdUDdUmRr6Ad09Qjcg/CgKJiOZTh39SBzY3+r+XjzjQ46bQm490CJKi3rqMgy35k2AeOOaTeXI/vj0aPa0IgaJmeonDwLnKqktxWaKKdUOwOaI2WNaAQ2mMQSPYuF2RfFmVdM4LAPO1JK7U9JXVDoo8ypbVk5N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-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8bd06f04-59bc-42ec-bb38-08dadd71a146 X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2022 01:22:13.4250 (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: Jgm+apXO3q1axoKvKJXEbIV4a+b5AE8dlqcZQcWDK+o5Ywo8LXZdxK+mbwYwB0zeKHDpoCfHqqnDmFyOqH+ctelW0Ed2QO7Kj8fRqA27Axzri3fea6zaMgUfXjYJtY+F X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3PR01MB9898 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Linux-ALSA , Geert Uytterhoeven , Sameer Pujar , Jonathan Hunter , Thierry Reding , Mohan Kumar Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" From: Kuninori Morimoto Audio Graph user needs "ports" not only "port". This patch adds new "ports" on audio-graph-port to use it easily. Signed-off-by: Kuninori Morimoto --- .../devicetree/bindings/sound/audio-graph-port.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml index 56d47dcab490..273da5a76b8a 100644 --- a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml +++ b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml @@ -97,6 +97,18 @@ definitions: minimum: 1 maximum: 64 + ports: + $ref: "#/definitions/port-base" + unevaluatedProperties: false + patternProperties: + "^port(@[0-9a-f]+)?$": + $ref: "#/definitions/port-base" + unevaluatedProperties: false + patternProperties: + "^endpoint(@[0-9a-f]+)?": + $ref: "#/definitions/endpoint-base" + unevaluatedProperties: false + allOf: - $ref: "#/definitions/port-base" From patchwork Wed Dec 14 01:22:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 634224 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 0E3ACC10F1B for ; Wed, 14 Dec 2022 01:24:02 +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 405E018A3; Wed, 14 Dec 2022 02:23:10 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 405E018A3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1670981040; bh=qY11kftnZDUZA303wZmvFQ7XxR4zbLXV5In4GKRbODo=; h=From:Subject:To:In-Reply-To:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=clk0kJ0ToinSh8Vp+GwNZESZhT9JcMlwaYSAQcTIkV7QcujagqMvXnotLvqiniBzr B1nltATacKREtp/mf19ifMT7+OoB/Fy83OGNes6k4y7KFQsnXeFnGZr1wyXLBskggu 5cAa7mAYX3FpnOHtPv9FhrZ+R254C2b6W981lzUs= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id E8441F80510; Wed, 14 Dec 2022 02:23:09 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6DF07F80518; Wed, 14 Dec 2022 02:23:08 +0100 (CET) Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2100.outbound.protection.outlook.com [40.107.114.100]) (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 B147DF804FC for ; Wed, 14 Dec 2022 02:23:05 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B147DF804FC 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=HPHHM5ys ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B+0TJZ543sQ0iXbSPTYQPcZlmjijga62cYKbeG6qOkcz39osicQzhF6pYZXHXdZ2qOEHQ0rp9hl0vHtdmJRBARs2Yt9iLJ3mRy3LvB/yg6fFyWFrdkbVjr9nQC2BJSlQ2ewIbGzebl68iQfY2kUxmKI4T6MB2h08tGBuh59xopizM/mFEbU3T3wF1GuWDfzQd8T8C+uLePNYaLxVkFXnIm2xjsQTjCEfSCY1LmEbZ1OhVNnBLYA9shIjYy3zYLxKxNOr7CJpi7pcLxH/zhJWHyUmXis5+KWPv/XWcf2eHy34Ox0pbS93BwaYcVaST0I0PWZRRfmg37lKrSXMhbB3gQ== 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=eHkdBje2EH85OeW+sm3AncWADqF/1kCQOUIx0l0/Juc=; b=nR2zul00GRj3PhSthoyyWQZzUrv+WZHNEA0God1k3rcGOss/lQyM1g8MHiBEcGvbo0kA7P5KewPYBkGx12ZUMfMZPCsrJdDKBv7alC6/3b5KbmUnczpoeD40ESfxVWoouH5YKnOm15go7NvbyoIRih42s98v4oJiPBmeiosaVmGs2HV8srsq++wMe0AfRyyfZqPk/0SUs59mhOaeVBbfgkgVK0dFkdkOHfKmMEvZqKHUDNNE7iFJwKreua98uZnz0q3gjoZefMQDTXQSeV1VBdx7vqWPJkXpXOqYSev6iAYowLAJa7XX5bQ7F73CuFvLBZAleUEu/8dQDQ1V1IjFdg== 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=eHkdBje2EH85OeW+sm3AncWADqF/1kCQOUIx0l0/Juc=; b=HPHHM5ysD8Y+QcmBeBb2oLbcp0JBHMB2V2g09eH2erKjgIAw6qlNkTz/PDEn9iMls15ML3THZdX+Kbx3kS616ZRltkL/WXxIlB72enoj+ogWoWBmv/kGLOi3KWutuEfHMf5H1malVnbCq4zcckn+LCjgY4howvwqoBSfhuL1jYk= 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 OS3PR01MB9898.jpnprd01.prod.outlook.com (2603:1096:604:1ee::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.19; Wed, 14 Dec 2022 01:22:59 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::a5a6:2344:db9:431]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::a5a6:2344:db9:431%8]) with mapi id 15.20.5924.011; Wed, 14 Dec 2022 01:22:59 +0000 Message-ID: <87pmcmpyml.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 04/11] ASoC: dt-bindings: audio-graph-port: add clocks on endpoint User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Mark Brown , Rob Herring , Krzysztof Kozlowski In-Reply-To: <87v8mepyoy.wl-kuninori.morimoto.gx@renesas.com> References: <87v8mepyoy.wl-kuninori.morimoto.gx@renesas.com> Date: Wed, 14 Dec 2022 01:22:58 +0000 X-ClientProxiedBy: TYCPR01CA0021.jpnprd01.prod.outlook.com (2603:1096:405::33) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3PR01MB8426:EE_|OS3PR01MB9898:EE_ X-MS-Office365-Filtering-Correlation-Id: cbbf3add-a25d-480e-df90-08dadd71bc9c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9KsgRXxWb3eD+nhvlCY9pVuFHwpiRpBS+Ra2piOIk3Ob9DneOw/em+ZGmnfRRbDojOwFNc4fL5aSOI3LFuoDinzIuv273k1VQJ2koRsUYwTvBZgvRPqq/HAwFJQqh/5VioFMgpVt5biotDjqRdOIWd+42Bx1v7d40gweesIJCUNkHCH7qlTbTs80kOcUJJh8Q+81/Sn7lDImzMchKK5/mrOcTsLxvHmol1FrL9F5Ow1wEtfWShCPPvQ0tpkfE3+2qyitKeOfd4b6N2SdqkYL+8dfITdDD0EafPghuwyKBlQTBQwtsHhRTwJOhp5P+eIXiECxtxSnqMQGHUMuAp9jvNrjULtVe8SS6ik/o+7zYwbzPnMo3jL5IybLJTHUHL87pur/BFG6TwxTKmZRghj4IMTy2H3w2y0Akp4RIbWKO0O3b0haBHEDEELR9qtp08Bd3pJfXRlss9jmVNkWZ5eycZ2SEvp09wUYUTeEOF2o5OG/UapCC9RrXQeiP94cr6IijMCmJTKeclyS0T4Q+G7VWAuuN0ggSkaQo/BAOBef95R+aKUc75RW1+ocp01uBeoR56E7y81J1fjlEGyc83U1UJnl++E//ABCLEcx1qLll/7XWOSDxr9h/yJqxagqhCSgi2fF6Gc0BWGqshe4zL6lqa1cG6FHR7C2JAnoUYYoLn3s60tUVHiwyzEgb1C4Ch+XeAzFi3I1LCsjFLh/YMVnnQ== 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:(13230022)(4636009)(366004)(136003)(396003)(376002)(39860400002)(346002)(451199015)(110136005)(316002)(66476007)(54906003)(5660300002)(8936002)(7416002)(41300700001)(8676002)(26005)(66946007)(66556008)(52116002)(6506007)(4326008)(6512007)(86362001)(36756003)(186003)(2616005)(83380400001)(6486002)(478600001)(2906002)(38100700002)(38350700002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: rLcbZM1+/pc20tDiPxwWiauexjplnuqiip5LW6RSR5DGTK3awDknwiR0fGZOUe4KGQzM4aDfakoj8UAot72RgfbBWwwZt/ob55lKwngxrH36hCCMkyL6ZXsihrnGWPzg+es83ECADLJ/Br3D/WXDyTl+gjBuy0NAQGik1FWJuVbYhs+PXBFbUQSmaMkLP+CSEIM9BBa0s2u9mcjJ30x136V/vUuczgjjyQDXqfh5sKq69cbzKEXTskHskWrYU97rSz7SbCkX42LfcXfbMGqYRaO6M6z6cxbJD5rBX/UhCUI8l3EVmZ7eT7E32EfpquzRmBVKoif58JhPFoQFauA3XZg9/ihf8Dqwq6mcHzuwFDypVoTni9TchQYC2Vbwbc/Z/AuQ+2OfBxcFj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CX6TizXYW/Z/tfs0z8SkrDQq55sRlKicba4c3otxEmFLAWWSwlxuku3KmgXUl2uTX4RjdliP75P1epSbQjFgtOCdm3ybaLyX1L5ETad2yKwavV+m6csoRm6MBl5g8GlSoMlrQxvpDPEp9D7RKpIY+AePwA/Rw+9aI4= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: cbbf3add-a25d-480e-df90-08dadd71bc9c X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2022 01:22:59.2893 (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: O8f9ggGer7p0Vwdcx2/ZUcpe9hd7onneoLNjaDKFRRipoENGBZpazOVXZfeGsTHAeMQtLiGHHqEuaBGJu1HVEXPQJB7cqR6hS7nVnr1ZE73NTG0Q2qNp5W/2equeMWWh X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3PR01MB9898 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Linux-ALSA , Geert Uytterhoeven , Sameer Pujar , Jonathan Hunter , Thierry Reding , Mohan Kumar Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" From: Kuninori Morimoto Audio Graph endpoint is possible to have clock, but it is missing its releated properties on audio-graph-port. It is already defined on simple-card. This patch adds it. Without this patch, we will get below warning ${LINUX}/arch/arm64/boot/dts/renesas/r8a77950-ulcb-kf.dtb: audio-codec@44: ports:port@0:endpoint: Unevaluated properties are not allowed ('clocks' was unexpected) From schema: ${LINUX}/Documentation/devicetree/bindings/sound/ti,pcm3168a.yaml Signed-off-by: Kuninori Morimoto --- .../devicetree/bindings/sound/audio-graph-port.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml index 25f7204c7c4a..37c20cc8dc36 100644 --- a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml +++ b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml @@ -48,6 +48,15 @@ definitions: oneOf: - $ref: /schemas/types.yaml#/definitions/flag - $ref: /schemas/types.yaml#/definitions/phandle + clocks: + description: Indicates system clock + $ref: /schemas/types.yaml#/definitions/phandle + system-clock-frequency: + $ref: "simple-card.yaml#/definitions/system-clock-frequency" + system-clock-direction-out: + $ref: "simple-card.yaml#/definitions/system-clock-direction-out" + system-clock-fixed: + $ref: "simple-card.yaml#/definitions/system-clock-fixed" dai-format: description: audio format. From patchwork Wed Dec 14 01:23:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 634223 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 08342C4332F for ; Wed, 14 Dec 2022 01:24: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 15AA018CE; Wed, 14 Dec 2022 02:23:39 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 15AA018CE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1670981069; bh=kA+fCb7so7ptxwYBrfIb82nvYtQmQCkuva5va+ZYo6c=; h=From:Subject:To:In-Reply-To:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=jacwKB3zGlYarKBsoyxFy3ApThbEkfeLITKt/GwlduIvbTRmhw9r8iA1W32/U6/D6 RvLqorWQWgbFIpTDHch4n+/BbfynH88oRUmpVYg+4vB+jfbEjjPtTtF26UMSJ5IXRp rNLCnq2e9Fgei02Ao2aG6f7h+TkqEOLkhTRaeJs8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 5C2ADF80519; Wed, 14 Dec 2022 02:23:31 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 38B74F80536; Wed, 14 Dec 2022 02:23:30 +0100 (CET) Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2099.outbound.protection.outlook.com [40.107.113.99]) (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 107FBF804FD for ; Wed, 14 Dec 2022 02:23:27 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 107FBF804FD 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=dXCxuHeW ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k7Z/O+TZ+nh6Ygq6gOGJgizXpwFfgNbJeOIPg77/TCmPfzRjoY1Tds0UF2AjIFGaS1DaGHtQRcFh+adfr3296x7uTKWSH0sHiQFRAriCXOv2tVzTV9ZGf7ka1MK9NlANz5+w6zfnNRWmtynLjwzFBsKiXCX2ljS54mOis/XWXEfdgSWx0dWDVy1wLW4l4zBgWvx6fTFFNaywLbhDofcZU0nf8xWH2NmNksnx89TSV1FJ2+fNDSWxJwL0cCcQnaEnj4XDniRXx33pjapbsda2AKAcVLHKkfsu1dfQ05IpCHewMqELI8v1cDHVLRKdnlkoFy89Ky4CTDn8dovSQOq1UQ== 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=AEBlUUOxX9hNp14iJXeC9Nqw5/0+UEOvedNqxogPzc8=; b=kU8sDMzhb7fuvcGFGcR0D4/bL8TAwRw4IN+z2JAiFucoLB6PTOxmthHC7idYMABDejayuTklXUjK96PKgdjLUx53ZvuDliSbFr7JYEIM2Vw+BKEdDjbV+tegRSpxYt/maHHK6N5Ll67isk0wUYQsNE48S8/gH79kfdEA08Y/CuX9V2UiyMluI/FtqubiuMePWw7zp7vR1xjtfdBgB/kvvOg7YOigY4vFe9pTh5cypmrGwDxj2uPpve+LyJbataA87b/TAKFgEx12vQWxffrHrUqXhEteyWk5xfX4/HGwKpSdgaV+yxHZYCxF7pajJo/zyemv/KNNlIuHcdUFqXY8Gg== 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=AEBlUUOxX9hNp14iJXeC9Nqw5/0+UEOvedNqxogPzc8=; b=dXCxuHeWJZHiXWD04XvRwqa+5HXJrVgrWB254iTbc9pDjjP5LuB925Jn2IgWLzXyoiU1oUV2KZBGQ7tFdqREuxvqfczorbwdVdsBaDK66n13xakoYPaGXi19v1+JpGq0+Tz4IqbyWyi9cvtxxGgldqpEpDbVKq3Uji4RS65UtnY= 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 TYWPR01MB9887.jpnprd01.prod.outlook.com (2603:1096:400:237::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.11; Wed, 14 Dec 2022 01:23:24 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::a5a6:2344:db9:431]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::a5a6:2344:db9:431%8]) with mapi id 15.20.5924.011; Wed, 14 Dec 2022 01:23:23 +0000 Message-ID: <87mt7qpylw.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 06/11] ASoC: dt-bindings: ti,pcm3168a: Convert to json-schema User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Mark Brown , Rob Herring , Krzysztof Kozlowski In-Reply-To: <87v8mepyoy.wl-kuninori.morimoto.gx@renesas.com> References: <87v8mepyoy.wl-kuninori.morimoto.gx@renesas.com> Date: Wed, 14 Dec 2022 01:23:23 +0000 X-ClientProxiedBy: TYCPR01CA0179.jpnprd01.prod.outlook.com (2603:1096:400:2b2::14) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3PR01MB8426:EE_|TYWPR01MB9887:EE_ X-MS-Office365-Filtering-Correlation-Id: 8e844013-44e9-45ca-46cf-08dadd71cb4c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: l49eNLY8rZZarOWGbkxgue0hP741+yyZGI/RvXhSOsO3y2OcVQJu1fZXhazrF6sbDfmS7jR+CIILjSp5j5Boc56y+oUpIno1rP+4zFTD7EUvHku/vGZrER8yMqIlQ4gzrB0aZaXijHZI6OL4m6Vkv8PaQsv5I4yFV7DJHbuXiSJRi3AulTpUVFVk69kUxWGFTocYTQGOlz2Bi3mIuXADqOXBtc9ctaDpM6L6hNuD+liUfMIMYlfQmnXN0IfeAmle7wYTyCOuADBw1vytbVelVIjfsT8LFwaRrGD07g3o9C/meazZpP38DkyxR08MM4OOEP26uMoECQqNhnpjT6JCJkuAN3qTBhY03YPpWJT2ZuBlXHD1PAd1PKIoImCzOTZvoqq0BNq5LRz7XugazGsJmV3ni/Q6TvFJflLnZgYTjxRgcRO2mxHO111xb44AYK1s0bLWLiQnRvf7L9Eg5XaFBA22M/q5dinTLQJ+IwG3ceUwGMzUTMsdBQRSAr++I2vxkpS0QunqubThqdwa+KnbAOTv3BYwwX+SUzo4SGPtiQmwWII0MRuu/aXy1WVxjgm1b6Li/2OufpV+efRtRkvENwnapU3HADUOaD3HZ45ByukFEmEwZDhVCd4U3LTuQNQZevguBoGw+DGGU0PObOKjzVUCDh07TsPlqZ6Hq3qu+FV8oxZ6dBrvVtfvYBEf5hZKsf+VvSFGTAchW4OrY2hq/TOwO+wNaWy+YIzjsy8cOIa+WNsClo727xZkTBxT9ARW 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:(13230022)(4636009)(376002)(39860400002)(396003)(136003)(366004)(346002)(451199015)(6506007)(83380400001)(41300700001)(478600001)(6486002)(966005)(2616005)(8676002)(66556008)(36756003)(4326008)(66476007)(66946007)(38350700002)(86362001)(38100700002)(2906002)(52116002)(26005)(6512007)(186003)(5660300002)(54906003)(110136005)(7416002)(316002)(8936002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 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KL/SKSmVYFCzQcLdtyQ/Kw4c8v6MkPCwIsvHwJ3d4N89qFP1czXETCt/Xq4jye4/20eMmWd1pHHCqZU4mAdWcHDLY+ceJ0evj4JTr47rNRGTrkgOYUmb1CHhIIdG8yyVudBy7Y/1FeQjZINUxSNeoxwBc6DkprZF3KHYZCvKAjrq8aZnkKvqe+PAMzXt8HbUZOQgbe0lSu1F4JvvLipu1z77NSuBKAOCOfRkob3BT9InREGGBxjgF9JdaTdP5lilKpzTiLbrKOsqYnkn+YuaTcYjWfpHtSyFw2i9Cm8EWFseF03NgRorbQD0eNFH96gVHCQzoNbjTfVLQ8L4qlTaBR1VM1Avy2MF6lmYokUEYBl3VZIHnQqB8UNFQP7FbCQKYPpiaDPjxzLoJ7OqVozr4YK6NBRUmhOGZWB/qDu8BlGsb/waBoolNtcxo1q8VD/ZWp8lcp8OQkDVsHlz5Ru9aTlfxwv57+WflOMDiuKb4hpzbA8mbMHr8Z0vsoJO2JHtyd4GQKJacaB5zdIGUm2u0cVb0DocMd2pxjQXLIHo0KhH57I8CYHxu6/4+31kAh7jLWkN7Pnzq7XdH4qBu7JKq3WBw= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8e844013-44e9-45ca-46cf-08dadd71cb4c X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2022 01:23:23.9100 (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: vjcSu9hjUOlk8InSzk/6NMe9ImYnFPZ5m86lqjvdCdHgYjBCYIBpBBwOzuMiEBbfmHblNgETC+txdcWRM81U++mHP/MM39q6rykvYMrat6jNO7nUQB0mdu0qlAg6ns0I X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYWPR01MB9887 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Linux-ALSA , Geert Uytterhoeven , Sameer Pujar , Jonathan Hunter , Thierry Reding , Mohan Kumar Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" From: Geert Uytterhoeven Convert the Texas Instruments PCM3168A Audio Codec Device Tree binding documentation to json-schema. Add missing properties. Drop unneeded pinctrl properties from example. Signed-off-by: Geert Uytterhoeven Signed-off-by: Kuninori Morimoto --- .../devicetree/bindings/sound/ti,pcm3168a.txt | 56 ---------- .../bindings/sound/ti,pcm3168a.yaml | 100 ++++++++++++++++++ 2 files changed, 100 insertions(+), 56 deletions(-) delete mode 100644 Documentation/devicetree/bindings/sound/ti,pcm3168a.txt create mode 100644 Documentation/devicetree/bindings/sound/ti,pcm3168a.yaml diff --git a/Documentation/devicetree/bindings/sound/ti,pcm3168a.txt b/Documentation/devicetree/bindings/sound/ti,pcm3168a.txt deleted file mode 100644 index a02ecaab5183..000000000000 --- a/Documentation/devicetree/bindings/sound/ti,pcm3168a.txt +++ /dev/null @@ -1,56 +0,0 @@ -Texas Instruments pcm3168a DT bindings - -This driver supports both SPI and I2C bus access for this codec - -Required properties: - - - compatible: "ti,pcm3168a" - - - clocks : Contains an entry for each entry in clock-names - - - clock-names : Includes the following entries: - "scki" The system clock - - - VDD1-supply : Digital power supply regulator 1 (+3.3V) - - - VDD2-supply : Digital power supply regulator 2 (+3.3V) - - - VCCAD1-supply : ADC power supply regulator 1 (+5V) - - - VCCAD2-supply : ADC power supply regulator 2 (+5V) - - - VCCDA1-supply : DAC power supply regulator 1 (+5V) - - - VCCDA2-supply : DAC power supply regulator 2 (+5V) - -For required properties on SPI/I2C, consult SPI/I2C device tree documentation - -Optional properties: - - - reset-gpios : Optional reset gpio line connected to RST pin of the codec. - The RST line is low active: - RST = low: device power-down - RST = high: device is enabled - -Examples: - -i2c0: i2c0@0 { - - ... - - pcm3168a: audio-codec@44 { - compatible = "ti,pcm3168a"; - reg = <0x44>; - reset-gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; - clocks = <&clk_core CLK_AUDIO>; - clock-names = "scki"; - VDD1-supply = <&supply3v3>; - VDD2-supply = <&supply3v3>; - VCCAD1-supply = <&supply5v0>; - VCCAD2-supply = <&supply5v0>; - VCCDA1-supply = <&supply5v0>; - VCCDA2-supply = <&supply5v0>; - pinctrl-names = "default"; - pinctrl-0 = <&dac_clk_pin>; - }; -}; diff --git a/Documentation/devicetree/bindings/sound/ti,pcm3168a.yaml b/Documentation/devicetree/bindings/sound/ti,pcm3168a.yaml new file mode 100644 index 000000000000..cb8ce6c6baf5 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/ti,pcm3168a.yaml @@ -0,0 +1,100 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/ti,pcm3168a.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments PCM3168A Audio Codec + +maintainers: + - Damien Horsley + +description: + The Texas Instruments PCM3168A is a 24-bit Multi-channel Audio CODEC with + 96/192kHz sampling rate, supporting both SPI and I2C bus access. + +properties: + compatible: + const: ti,pcm3168a + + reg: + maxItems: 1 + + clocks: + items: + - description: System clock input + + clock-names: + items: + - const: scki + + reset-gpios: + items: + - description: | + GPIO line connected to the active-low RST pin of the codec. + RST = low: device power-down + RST = high: device is enabled + + "#sound-dai-cells": + enum: [0, 1] + + VDD1-supply: + description: Digital power supply regulator 1 (+3.3V) + + VDD2-supply: + description: Digital power supply regulator 2 (+3.3V) + + VCCAD1-supply: + description: ADC power supply regulator 1 (+5V) + + VCCAD2-supply: + description: ADC power supply regulator 2 (+5V) + + VCCDA1-supply: + description: DAC power supply regulator 1 (+5V) + + VCCDA2-supply: + description: DAC power supply regulator 2 (+5V) + + ports: + $ref: audio-graph-port.yaml#/definitions/ports + + port: + $ref: audio-graph-port.yaml# + +required: + - compatible + - reg + - clocks + - clock-names + - VDD1-supply + - VDD2-supply + - VCCAD1-supply + - VCCAD2-supply + - VCCDA1-supply + - VCCDA2-supply + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + pcm3168a: audio-codec@44 { + compatible = "ti,pcm3168a"; + reg = <0x44>; + reset-gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; + clocks = <&clk_core 42>; + clock-names = "scki"; + VDD1-supply = <&supply3v3>; + VDD2-supply = <&supply3v3>; + VCCAD1-supply = <&supply5v0>; + VCCAD2-supply = <&supply5v0>; + VCCDA1-supply = <&supply5v0>; + VCCDA2-supply = <&supply5v0>; + }; + }; From patchwork Wed Dec 14 01:23:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 634222 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 1D674C4332F for ; Wed, 14 Dec 2022 01:25:10 +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 3290A17D5; Wed, 14 Dec 2022 02:24:19 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 3290A17D5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1670981109; bh=XE32pqmOvHzHx+EAxzdBOFAGdK0KSV4VaC+xrgPysj0=; h=From:Subject:To:In-Reply-To:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=UxWOyxRAskCMlhlEbzwR089CYQtasa7zc8QVQ5nUBAfMZ/WwVhZRFz5bUrqCUfVuN /1whwB2e2CRfW/ASE+gtchmqTbxTS6tfyxwJLYEojU/m7dYOXKQJ61ILOYu9DY8EJG +iZGonAkijm+hqShsfiFl/IjWIgcj/ooi9DaOGbQ= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id EDA3DF8053A; Wed, 14 Dec 2022 02:23:51 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id AF476F80551; Wed, 14 Dec 2022 02:23:50 +0100 (CET) Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2091.outbound.protection.outlook.com [40.107.113.91]) (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 60764F80536 for ; Wed, 14 Dec 2022 02:23:48 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 60764F80536 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=cJuztsOS ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eMXTkIta5bs1QRykzCDoXsiFvbgQ2czEswyp2pBV+2RQP4e++EfVXHHaaahsBoNv0mJHTSEHeEYnAYNk+PKOSwJlHFfNJpOMR5o7FuZPLxQMUYx4/0Qv6OsRI1M3F0rshJAPpsGqUN+QEg6H3q/qlsxHfc2ZVYLxsILPw9MKMvvjEh+mxszGXYLWL3MgABVUBDFvGFCKCMjtnEHWJaafvCsHesk+4kNypQQHKUZJum1DJsrgJcpydAycP6Lv5l9KBYFAzLrD9jiuB+UqoTiqzozq6ApnaqD/TeBcsgrFfXQ8TTlUmSkhbkDfy3nL1Vm2W6lcYPC2NYPRPxPcDnNy/A== 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=D2w41nrpzvW9yNY1Tg4DK63hjFHtdJ40U6K7Xr37MCk=; b=BCVtTGEt+jFNfVl1LbxmiEX0e99iKj3rOYknK8FLcOq7hJo3fAHausJVg1ppneFaRl+295GHDpMj7ThOAxeY3D/ToaPkEP0HvyP/oWqemxQN6kzAj957r3THpm64b7nK2oeclmtkin24Y1IBCOrCpKBAZuadOFTZ8omQWK9B080JdOzE3RKdWRrBjSNipedfwXRAafk7b84Av/VLGJAX/sFnFM0zt0ZaaQog50zfal01Gml/z9mCJN2+B/RKkE6DEpYPZioABSPQ/ZXZDKNAV8HO+VU13XQaaKXyooEnLnyQEWLX1uXvx86O1og2KGesLy0oGqR95FmLiu7bojBJTQ== 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=D2w41nrpzvW9yNY1Tg4DK63hjFHtdJ40U6K7Xr37MCk=; b=cJuztsOSR9iXVU/X90D/MzfYI8WEyYXmgfpcD4mmmWCno5swuvec2ZibGda25UHua/QkvN925jIISO2nFitF9R2rS+/O7EU7E8UGa9ug1WRtett7VyTi8Y2N79LS6zHgEbNu3nn2NUdHGQ27RUg5cS4XaRE0OGnJO0bebLyupD0= 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 TYWPR01MB9887.jpnprd01.prod.outlook.com (2603:1096:400:237::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.11; Wed, 14 Dec 2022 01:23:44 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::a5a6:2344:db9:431]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::a5a6:2344:db9:431%8]) with mapi id 15.20.5924.011; Wed, 14 Dec 2022 01:23:44 +0000 Message-ID: <87k02upylb.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 08/11] ASoC: dt-bindings: ak4613: enable Of-graph (Audio-Graph-Card) style User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Mark Brown , Rob Herring , Krzysztof Kozlowski In-Reply-To: <87v8mepyoy.wl-kuninori.morimoto.gx@renesas.com> References: <87v8mepyoy.wl-kuninori.morimoto.gx@renesas.com> Date: Wed, 14 Dec 2022 01:23:44 +0000 X-ClientProxiedBy: TYBP286CA0018.JPNP286.PROD.OUTLOOK.COM (2603:1096:404:ce::30) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3PR01MB8426:EE_|TYWPR01MB9887:EE_ X-MS-Office365-Filtering-Correlation-Id: 37a046d6-3670-4cc8-2c93-08dadd71d7b2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0G76UOUG9++G0J4X3TNZgiCd+R42RxntL5yvfeGLLX87B1ExC/WR1f4t2e+PMva5gASUOGplU7PFhaM2dDUKFRw+U7RjhoQVW+3XxqcWNtysUZ/0f54SenL8GaZCS+SWaCUs8T9dOOZzomepOOmkuernlOTA0XSFq4ED3rG5kWmif3m1SF4PfdxsE0vzoOiCQMoKN+rmSbi8axpDJET3mLeY63NwpFvlVNUs9y/hDubxnBqRbtlKE7JQ3dmRoXe43q+77XUN3pqrt2VVKztgSs1JPSbO7ETgC+1ccJyJDC0xIEA9h15zFUErKUZJU3nOT2lSEZRwjbZMeWA7bwINTIMJKmr5o9Z8BDyOz3XwV81jZ2/ugTVlyRWsZphbinVQXPa3nE/qRH46vpdXqE8CYUGEmC2Zn5+0kHG7vCWDAqSI7zNBgs+eQBEzWgEa89GZbN+DT3JBQNLOoRXwTBDSwozlU3/W9DuS3a5+LC8vuFhn/y5ZxDhwN5sV8sdmagLaFvGpMGj7eke8HA9MEo3ugkn9ZmrNK4BzYlkUt1d75sJMofsHPLsUgWTUzkrQQtdZ90oy/P4ty1v6otR5MBA7ajqmp2xOiD/Lrz59sbGwM3JQLLWlxozM47aQgeahehJ0dnyPelenB+j7dJGv/oJl9fKPShY4VAMIsg4yaJLpFlHQr9D/9fKoj64PNzKRqFsFDC5PBMACqJOaR6bh/5ad3A== 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:(13230022)(4636009)(376002)(39860400002)(396003)(136003)(366004)(346002)(451199015)(6506007)(83380400001)(41300700001)(478600001)(6486002)(2616005)(8676002)(66556008)(36756003)(4326008)(66476007)(66946007)(38350700002)(86362001)(38100700002)(2906002)(52116002)(26005)(6512007)(186003)(5660300002)(54906003)(110136005)(7416002)(316002)(8936002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: +gML+Oj92/SS7NAsPnh5dW3C0ihgWl6tSNZGz57RK51/iy9JQWv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z2EbpdqBNAsz1+WAmjfPrNkINoYl90H3By9bog4IViMRDiSBq4wa/PFns8pEbCexjX+e8J87hf6+I9CBFsEz2PHf6rLLbiE2r/gukI0raBmctrIB6oSJRY+LSr673YCDb22yY59l7Wdybm7jqD8n7W4dN7GrwnbscAty/QeN5zoqUEmeXYAknIAKzb09MwPLp0IHvqhuUExMEpmdnr0jL8zjpZgROk+9D0HKICz78q6/BcQxcQMS7BrSaSn0YLdNoNbOEhrdgP3/YpUlsMkqNhci/XFy6kb3HePJvd0V+f/toRc8fpG2VhHRemhhgTNmQRmL7+9Mu/R7vjM0rAdPjmmtT00TEAszoc6b+SQmX6ScTnDa+MSQdtXg5KIYaeqUtrPvWB1c6fMusq1lHxUU3JrwerB8cTuVb8tqTmciZQSleUgVLnuTk2ErAYRJf8HoUAi5uLoXX1DmUYJGf1ONXkXhan8an+mIoQ5Ffn88pLDsym5nkK2hXe6RifxyRvlgAyVsgfpaSiLi8C3As= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 37a046d6-3670-4cc8-2c93-08dadd71d7b2 X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2022 01:23:44.7105 (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: sKemjk4Icra7216iv1X25klbVmGRgDin1nsOxXUaV2/bkggfm7I4UstlQomZ6CHu2DNJORYtcaUONkAZLKrRCZYg6lOiv2Ivk17kg+QH8FsP9eo8LVxz56bYLonM3TCB X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYWPR01MB9887 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Linux-ALSA , Geert Uytterhoeven , Sameer Pujar , Jonathan Hunter , Thierry Reding , Mohan Kumar Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" From: Kuninori Morimoto ak4613 is possible to use Of-graph (Audio-Graph-Card) style, but we need to indicate it. Otherwise we will get below warning. This patch add it. ${LINUX}/arch/arm64/boot/dts/renesas/r8a77950-salvator-x.dtb: codec@10: 'port' does not match any of the regexes: '^asahi-kasei,in[1-2]-single-end$', '^asahi-kasei,out[1-6]-single-end$', 'pinctrl-[0-9]+' From schema: ${LINUX}/Documentation/devicetree/bindings/sound/ak4613.yaml Signed-off-by: Kuninori Morimoto --- Documentation/devicetree/bindings/sound/ak4613.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/ak4613.yaml b/Documentation/devicetree/bindings/sound/ak4613.yaml index aa8a258a9f1c..99a90095a76d 100644 --- a/Documentation/devicetree/bindings/sound/ak4613.yaml +++ b/Documentation/devicetree/bindings/sound/ak4613.yaml @@ -22,6 +22,13 @@ properties: "#sound-dai-cells": const: 0 + ports: + $ref: audio-graph-port.yaml#/definitions/ports + + port: + $ref: audio-graph-port.yaml# + unevaluatedProperties: false + patternProperties: "^asahi-kasei,in[1-2]-single-end$": description: Input Pin 1 - 2. From patchwork Wed Dec 14 01:24:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 634221 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 E943DC4332F for ; Wed, 14 Dec 2022 01:25:33 +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 23DED18CB; Wed, 14 Dec 2022 02:24:42 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 23DED18CB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1670981132; bh=gqOBXZCnTBqWoVUuTebBMEMQkG54xKsNsJB74kl8mVQ=; h=From:Subject:To:In-Reply-To:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=Hxqg+XENrz+JWBOycC6XukARwHWMpDUVg/SsP1X4P0aiXWkHWSFcopTRkXUozIK4n jIpuZszWB6xXt+2R7DfWq3Zve4XZ05UgJwnyAZNjMNnBISR7G6Y5+N3Rj7dgIl13X6 gvtWys+VtltdgK2/aQMbJZHK7HUTIfbIPNZYeSJg= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 675BEF80510; Wed, 14 Dec 2022 02:24:39 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id AD084F8047D; Wed, 14 Dec 2022 02:24:38 +0100 (CET) Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2100.outbound.protection.outlook.com [40.107.113.100]) (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 EF4B7F8047D for ; Wed, 14 Dec 2022 02:24:36 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz EF4B7F8047D 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=kEQbF8bf ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YIOF4vAHCWViXFm5Fv3vtUhM1/vvZ8LGJAWGHPMmTmjQpaE9xLudZT9CbrWyuNWnu0rxjSyWB/yeEokkmYtgZOyc8W+IzFW+8KeyA4ySVd3f4Xuv7lDoi5QhnlM5EQnsRRpHjpz+imS7sChrg9kQETNnlZ/JLzE82wraUqpRUJI9WH9F/Iwe2BXMHJLBh5SLchTRbTdh9wDcX4zQHYFMX+Ze6fgjsOnAyxK9Jcs+dtaIpudsY5fGlAGXNXqJ/kKF4hecC8SsEnxTpZLIRjMt3xQ4GwDb2rzD0mearE1Cv4KKbRqu/bM/2kFQEvgkZAhBTwwiuqVKeFXhGObbd/pNzA== 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=pbKWE3qJLxCL9d79wXsnJOe0Eys5+wd9pivYLhERsdE=; b=TXAbQ4oZpR9wXXiBmCvqcQx+TXk/ekUq0RzCqTwXFRippkdzbey8WAx8Gt8grKybEYqr2aSOr7iw3+Nso6HjH1+bzhJjxS1ZIRl27YjZe8G7cu9n823ezpc3Jck6ksZiWKRLYZXF14sYdlgvcgav+tURYNoyJ5vJznY9dLxLW1/Ft+3iyY8bkRlWrVXvasHuIm/8ARpMJJ5vu6rz/0XDqO+Y+OoxRTpk4snzMJwG7b8DpZXwiExwciun2x23IiudOpOiCrIw66HZS4SNWfAAr+Xk3ZvHVNAYFgVUgIgnP9joXu4oTk8Is1n4lZ8x14BL1zcubYwKeaWGkTVN4M7vog== 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=pbKWE3qJLxCL9d79wXsnJOe0Eys5+wd9pivYLhERsdE=; b=kEQbF8bfGClBV+t8iL+4w7b6FyJq3aFFcnA6+Wh7qxP7OQUUCpOIIj26ojzJKb4iOd7SfwA4EVZhbxNkGumWSk48JiRt6vyCdcqaPZDUrNcZH/WaYMb3LQK4Z+A0x4AWKoLoAdzkgXSd1UP1uW/yeL+RBoOfzcjP4llqK5CCurM= 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 TYYPR01MB7783.jpnprd01.prod.outlook.com (2603:1096:400:116::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.19; Wed, 14 Dec 2022 01:24:31 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::a5a6:2344:db9:431]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::a5a6:2344:db9:431%8]) with mapi id 15.20.5924.011; Wed, 14 Dec 2022 01:24:31 +0000 Message-ID: <87h6xypyk0.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 10/11] ASoC: dt-bindings: renesas, rsnd: #sound-dai-cells is not mandatory User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Mark Brown , Rob Herring , Krzysztof Kozlowski In-Reply-To: <87v8mepyoy.wl-kuninori.morimoto.gx@renesas.com> References: <87v8mepyoy.wl-kuninori.morimoto.gx@renesas.com> Date: Wed, 14 Dec 2022 01:24:31 +0000 X-ClientProxiedBy: TYCP286CA0012.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:26c::16) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3PR01MB8426:EE_|TYYPR01MB7783:EE_ X-MS-Office365-Filtering-Correlation-Id: 6a16c648-fca4-4adc-9632-08dadd71f3b9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EF5hn2WeT0lF8wAxJKkdAOTfRpPzkw/7e0i2cKmiYFrQVBorMkccgKyschHxIVxWeWxO/VqHUB/xkiR+kYbWqgpCTJe008DTzknR07t1L26803EG4FSFqBYC9cR1GqqTF+Q+RoOjEdNllrjR/aK4CSTpvvDsaLB5iyksRrCBTcAtU7PEvV5DTp1YzD2rvSa4okTDEuG2qAalpvUCKs/ZI2IPbB32x2p5mLLyGAvqiFb9B1H4gIVCgt/DRGgYoowMPW5N7D/0GVltTENlogYt0caqiiI3ajsOW41BfCsixAwycK0QLQSfcrkTUM+oFycBiYbjFs7hbMzmUy2cIMdkwWacJ1hFmM5u2lgmQllx90rA5Ydt9T+326OTdqvmemZ+iZh6p4uU6mzjLleCLTIpvMUkaj4oCGXZ0xwhMPlBxYSuT31otpwehue5meMMBBL5lr/JI6IwOqa5zuGX04E5ud9u++23D8uy8Br4Sky+LBgOHeKpyhInG3LTn21jDKXf+Rneo2n7Kslsu3OIGb4SxHUONn446guBmLxo3qVsKDEGZoK8UaL3+zDOu3+OGWF9kHdudDzaLlv3aQbCWe1BmE/wlqYy9I8gjDR+ypSu4Qc+7GIbcJfP3kPsyzzvMHGc+BALnn9JfBm4GGW9O4AJe4YmzA36Z8TYjHR1IkOstxF0+wKgOeK9bsyj5OyJBn/G9fxBfcLHfHDTwc3M+U9DAQ== 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:(13230022)(4636009)(376002)(136003)(39860400002)(366004)(346002)(396003)(451199015)(2906002)(2616005)(54906003)(83380400001)(186003)(110136005)(36756003)(86362001)(66476007)(8936002)(66556008)(7416002)(66946007)(316002)(8676002)(5660300002)(4326008)(6506007)(26005)(478600001)(41300700001)(6512007)(52116002)(38100700002)(6486002)(38350700002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: GJZ6EUkOZwUq8SpxxJBQICM9cvuyfSg7c5/2pkpyVvHrblW/sGqac02wKF9S9qh3UlO/YzDjxOlS9XpCG8jO4S4YC3HnRpWloyQGaZJlJRaldgmo7j/IlSMqwY/dcH5iqcb0c0Dllz0BvJ3PFHF486PffmeyexYas/M/KwHqD/QfbuVqRAHHAsz9aPfszvojThc/Z6TRh84O5FEMEgXl/3YzufSgdvjt1CLLn+mLm7GdTTPCJe8ZKjs24ILe4NQ3w8l1oOqCMhNAPSCrtXYJWolvvoY8eQ5LXbTnPUeU/VzTlWfFJbPwlMAPG7Xa8fz8JbPlESEQXSDYlAkVVaVBG9cnK+8E9BKq8zcZv8EVYICjpWgNctCFlZQfxKoRNLUziupd814HWKctQhUQnzt5LNTak1LuIoYChAWkBPvHw3plKsvwgRsVlt2SPxmcrnPFq87vUXX94+sQl0Kgc5dmExlywRsxibqxojr57xTP6iU2JpsviuzUbDxf9EH2h/c37yYOGO9qeC/3JpHCBqUpgetG35Igci9T6JdA3SFa/zDr5hUud6qhBBubS6yrAM5bmms0280ahKlXvlJYpg3qZ/9oz9MjZsHj56tvPmKCZjQpmUClgVzjvUxFRO+cj62B+lGYHlVzZXuQftYttpjUeJEp41IWpY7lLGWlw+nXvDcSemGKhPgkLt5RcKzqi2AraagvubQjMIk9E7EJMfV740In8GEC3UeuFyKWMGSKznb9KIR+HXM3J+x2XquwUEQdBWaI/xQxWv+rkwOoKFSnTweHHUk7WhPoDofi6tQA0rFUP6A5bEMq58+9G7UGztGG47C+9bggno0HNzX/gmN5dx1w08yaI7MOTlKmeHSoPeoXL29vq2BfciDQowo7wlMyZqo6TgFikAX1gDwLR4nV6ZkrCS7/k77IHOfTLEpXj4Wvjnz05pPbjKOiCHOz6tF+GNRvNxMhDUHxNA03KwQEphWdzhK3SxSyDHZN8v/BwisfO/GN4N6heGjg/tbc1AYl9NeUgeNwtx/ElKzknYUiffu1jFUn4yylxDHHq0NU3YM6ZxOiwqKOm0ry2aeMPWZjwxrKdMD44B6S4yJmUSXnTBBiBkVIsCEPbZzgxxwEcgEFYDmTD11XKJZnbvDV0YxynnOOEdCQWE4DziAViYeUEHgS/xb6Mjgm2Es3pTNsF5pPRvToUag6WDYj7ASQBEXCO9rdw8uLblk+J0ppmVtCWOpSG9zTecnmbHyVf8IU1PW/oBC+8oZeX4qJYpdfBULe8H1YBzq8xxlX1qw1tRk3Ftb845CAf+yc1amObgKsE9DQA4Mj6HRVaf8M105XtJTzM+0viAo8soLKIiCABPTGq2ITgtea/xUXBG5NDyWG0+RrSij7VpoYIe/oERZKz9jT/54lyTIxpY/+r4ztmrYnypo7L9EVS9NFpCBQaf9tvJl60zduDemm21ds47k2/+sxud3E45gUFXus1IyanDnMSB0OsWPS4LbYwkYoz8C3fIlbkBpT62rWCI5C1D1M9uGXbgYuWsRRDLxhPb0vbmGsb35IeBlHGxF/zAfcsco2BAByKZ3cx/WqloLbOX/q03RE4byCJMqsRM0MpIHgmAyFR5OkyALPAJ3qpUaujUtzRpU= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6a16c648-fca4-4adc-9632-08dadd71f3b9 X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2022 01:24:31.7352 (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: JtnNjh4hfEyGtjuMAqzcAeRD3Fl4+5dj9JvtGKgL5eAM0UdRuYZPWy/gHgyy1xNBjJ9CFEUeYFr6DaThmUm7n8QKBotZJhpjjpphS1aYpfPdUZRCtpIHkA+qUp7kqstW X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYYPR01MB7783 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Linux-ALSA , Geert Uytterhoeven , Sameer Pujar , Jonathan Hunter , Thierry Reding , Mohan Kumar Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" From: Kuninori Morimoto Current renesas,rsnd is requesting #sound-dai-cells, but it is needed in case of it is using "simple-card", but not needed in case of "audio-graph". We will get below warning without this patch. This patch fiup it. ${LINUX}/arch/arm64/boot/dts/renesas/r8a77950-salvator-x.dtb: sound@ec500000: '#sound-dai-cells' is a required property From schema: ${LINUX}/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml Signed-off-by: Kuninori Morimoto --- Documentation/devicetree/bindings/sound/renesas,rsnd.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml b/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml index 637130b7c307..5dd41838538f 100644 --- a/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml +++ b/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml @@ -68,6 +68,7 @@ properties: description: | it must be 0 if your system is using single DAI it must be 1 if your system is using multi DAIs + This is used on simple-audio-card enum: [0, 1] "#clock-cells": @@ -290,7 +291,6 @@ required: - reg-names - clocks - clock-names - - "#sound-dai-cells" allOf: - if: