From patchwork Wed Feb 8 01:31:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13132270 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 2C195C636CD for ; Wed, 8 Feb 2023 01:33:16 +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 A36AB82B; Wed, 8 Feb 2023 02:32:24 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A36AB82B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1675819994; bh=dnblfIOAXKH+Lxl14VAOWlc+AJjGernReZ33lV9h7Cg=; h=From:Subject:To:In-Reply-To:References:Date:CC:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=A+bY4PcHMqUBEiaQ1AHFKGXeNEL0xgvO+9y7SXr5SQzQ2s8eqr1emTwCMytYUuwpH 9IZUqF5Q5otthsAR1d0vR263yGg4CpSlkdenKd/2L67vqbcHal1O6lysB0GpmyGegc jT1m3Sj/f/7PNs42MAPK1BfdcmWel+OT9ESjrmRQ= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 00666F80518; Wed, 8 Feb 2023 02:31:59 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4CB86F80518; Wed, 8 Feb 2023 02:31:56 +0100 (CET) Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on20728.outbound.protection.outlook.com [IPv6:2a01:111:f403:704b::728]) (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 386F3F80224 for ; Wed, 8 Feb 2023 02:31:44 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 386F3F80224 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=g+FgFlbE ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GBHig+ZJTJvRIaw8UQy6O8o0AK/msTg4DLlxc8Rg63eY7Hz6E4pDJ2uadG7nzoREob71ZJqHWoxJGdWIRHIGMaXPirhy0TCshhgBy87enLQ00P4ekQMO7dzZamYx4LXwb8U+lY+Oh3NuhtL7bhweOx5fvygVRVeYu3U8M6NxPcS6mqIQaURqJSDewTamjZ3S+xAK8udNdHbH6HT7q7tTZv3qxu2knQRugNlALCZYGDB06WQfEyAno+T1doTV+x388S+xqIzCwRs0A3YwOB0WwNzEo1aUfHYtuqzauUezNwJ4FSTVRxJ2OB1GfgdvLKrjaM12klKRiiOSIP0sBaqTOA== 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=sXwV/XZg7kLeGjYOFU/TUnwNp/J3IuLnh0r3YXWptLI=; b=irhVQE0Xf24EY4HwHcQVvSTExevLORY93TdJ7JRDCZa2Bxur/bolVHdmg6+fNANTTCRJzzCnwt3A8rp13wRKOSwIzladJcMdHKFMQgPliYWpAQrCqhRBtSFQy3V+eo1V2x0MPx3oY3FGQWSlvx8JlRVeHcC2DiqC3EnhpFmfk25zR/GOQUC79G0XLG5jOhZJHkmlVrn2W9irTMOwhfAE5LVcEAWR+Eb/24uA61KeHOlPrzN7gceLs+Ptz+A6w29GeNqP4lXNacWaQJ03ICJHXIekDr0mGLI4p8QfmubMvwTlW89r4aOfVKL+fq7gB2ZTK+yR2Is/MhvjipWk7xc0rA== 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=sXwV/XZg7kLeGjYOFU/TUnwNp/J3IuLnh0r3YXWptLI=; b=g+FgFlbEZ96ivSIyTvUqb5GA5A/nbq1/qcwGo0KGAiNm+Qp+Pzxa5Bj9rq4KgdFtCH4C2GYiOzoR2Q4xFM4fufFB4SYvVohccyfIBA+KLXG/C7BdqCm+Da8WFs1N51f3BEecHxARAsV2DDReU+lXwm21uMIEO2Mj5ktAhblnFg4= 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 OSZPR01MB8702.jpnprd01.prod.outlook.com (2603:1096:604:15e::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.35; Wed, 8 Feb 2023 01:31:39 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::4b75:8d8e:d89a:7860]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::4b75:8d8e:d89a:7860%9]) with mapi id 15.20.6064.035; Wed, 8 Feb 2023 01:31:39 +0000 Message-ID: <87pmalt01x.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 1/2] ASoC: dt-bindings: renesas,rsnd.yaml: tidyup reg/reg-name User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Rob Herring , Mark Brown , Krzysztof Kozlowski In-Reply-To: <87r0v1t02h.wl-kuninori.morimoto.gx@renesas.com> References: <87r0v1t02h.wl-kuninori.morimoto.gx@renesas.com> Date: Wed, 8 Feb 2023 01:31:38 +0000 X-ClientProxiedBy: TY1PR01CA0192.jpnprd01.prod.outlook.com (2603:1096:403::22) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3PR01MB8426:EE_|OSZPR01MB8702:EE_ X-MS-Office365-Filtering-Correlation-Id: 1f9e081d-f02d-4aff-6ab6-08db0974398c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ADSN1zOiBhmma9ddvskL1wlOhKqpkODL0pwVNr3vfdLKzUEh08EoKilSvXlARuW86tW+RSw8wVKymeTyqchJSE0kk1fzhI6oU4p005tZgkZUvpPJU8N/7R72AyZhLXQs9BiGpgOwRfUdQgXBr7BdbJcbuk7q40OIOVrS71S0Ux2quSBQubCmVnmCSGhZg5V6xIxNQV4N7BGdOo+aikbXqxBWDxKMgW/U+5RL5e25COGKwLXJKFnpzYjf2zHvib3IQLiB1+HaJKaUoc2jUK8YN72GDHml4CK+tUm3YovSmMfcZJHyrZJruXojMxGNZ6yGVfLZ3NSkEj0osvPKelkaiNCH8DxiyloUIhNLWnQqDzTyhq2ehtsFCmuQM4wxP0nLf7hrq04u4Zw3rl8JhNH9qg2Kj0iexvXImJRT2qnpPFRvwnwKhH8wNIb8vYhuj8tyM69cahyWLpl6SftcUQkZ+PS/CucH4ieW98PzF61jxNHp9zV/kJ7T9QUzRWum/SrrxOQq9AyaTn8VqjLEFmV5vgdAiF9t7+E0Sz2dwjF7dgOyr9iE1QRn4TC+hIAxxC5YA+A6/ZFLODAJ2WK4g05McuSk/9wqlEYhPf91lZYPmDjQBq8jnYipWwmm4O6lCA1L9retMJjcj1OkLL8E12r4VQiH9aB4oz5PA5hx8Fkw7oK63QyTmfVyA0/eGDaENDr2yEM04AXD+52uWNaMa214kKKl4D7VT6RjcisDxg3LO+Yogzbeo/yeD57mU7TqWJbDDG8XriqdcIT0SjDXQUrl4w== 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:(13230025)(4636009)(376002)(136003)(39860400002)(346002)(396003)(366004)(451199018)(38100700002)(316002)(83380400001)(2906002)(8936002)(66476007)(66556008)(41300700001)(6506007)(6486002)(66946007)(5660300002)(38350700002)(8676002)(478600001)(966005)(2616005)(4326008)(6512007)(186003)(26005)(86362001)(36756003)(110136005)(54906003)(52116002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: x3qEI6pAQXScDuMywgx2EL5JNE88IcbB58BP8PuEAzYQl9PokhJntovbZ7dRZTUb803oO2hBox1fHcc3s1q7rGb/1YX57+ZzlWU4jdgUE9GCgguAK7rVbxIwbtykgqtjZrO8QwTclZCpbCDdFQTCwnWXQ+HcjI0Qtcur+tXTEknsLe/W3BkhnFc5tQ8cFT1ohEgpK47+fAiwdUhVLmtDhh1xrxnzhoS1Yuxgh36F3ZFGprgmQlNtJ+cQZC7GKA6xEd/0PnL6/sQiA79dnGIrOLR3tjrHs8TSX0zEAtzoFkEKBxY5TXELSjw3IHDKkHPGWHRnurknxu0lbtkcpkPmMY+RL08YL9l+BkE/6Y/ejyyo2X54GlAHIIxcBb2jB+T6bjBNlYO2yTFlwqS9BLmyFx0onnzUlT6aaCW0vQu/fxPwXEOu29HLogUQqBWH3Q4eDdt2r8wDaqK0MFZPorcGL/EPLXdrOl2RMj8I+mFzO6jCO2uhgq/LFOr1DnzpI/MjrKERzmiiWbwS6MryE+jGx/IdTAb3hKOVVjsHwRIebuDHL4U+3w6LQufr40GfTCTaLFfcNLWNonN0XBlywCRov+LjcHeYwcRZG5F1v+HRzE4lo7tycPVT00fuAqj6GGlPnuvr/sFjkJyu2MvWcJ1VEZB6I5dfzr+fBXRzVp27o8kFc5YSqk14nB0kRbbrLWfoNQFPtTWGKbEhlJhsxJkiup1kKFN878FhJiGYOwkHj2AfMJCA0vok6NYnuBa7NNJ7P4gfowaBOR+yaf6vTNJlZOlJ/sNU9MKe6pUQeAyu97PUVgHKiNHSeL4tc1qRxGzy0Wi0AUrmdokRYLmGn5dB2htei4P3q/7yGN19utBJv7QEW04AwDM57mgA9CV4pWris1kmEgUZcyudDokgML9hsfLcdXC5Ou5uqKnqlc2in/jVDD/OL6XLc85XPR3nCFMex/WACVibqtDEdXNXPAum1ORqd0jtHOMCzql55IvRLMiNqw8o79TOXsaG0P/S9q3FbJ9s+EhCt5bfV/rZOMYKAS2xnQ1vYIEPBlY2k9+vXViIHb77MLGnIRDKm30jXXdElbnEG0F3ltQVIpzPz6cmRzUGEiMrrcaeenKpbIagDtzp8KQyzrq6fbUkHJ6JuQTF7gBioupf4Eozwu4WtkaudrA9da20TXL2cMgGVLBEuGDIWZP95d21eSESIvbAn2GBfLZq0xnehrhUXiNJgfFcx6io5ULXnKfPwo9CmpUCLFuwJbzY1PV6LmQWYJMBfGG/enUJCH2THoYv84hbysmxUFSE8X5mTzUth4B8cg4nDOyPYu6T/KoC+NTtzAFUSHTcWXZLdKdw1Jbk/DazvN3GazM4KPKzgUvcRS4BQ1uJNTCNLDx50NpHyKAMMb2/YIpn/4hUx2CZW/R1+g+z6YuTYWrt0tqsq4SOKfs/KuiVLumAuubp0eC2dp+m7wYuh3kHrd/rW13FSUQ821I4HRa7k8KHGFXulvHDHPYCNSHbjoIygERcZsv5wb1HYrf6fBE53bFXoB2ZcrggRQT4CwZgBUqIolYJFji+CWEuLA3JDV1Sc6Sbueyj6LR98AV/JRKmWDZ5QdZKuhHzvGC9A3ANs66Li/u6OhdvjwwUJAd0Vk0= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1f9e081d-f02d-4aff-6ab6-08db0974398c X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Feb 2023 01:31:39.0354 (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: Ew0L8s0bCOYffo4piq7GC5ZXY56tk2XYk5VqLAD7cHRhuP7EBVC+kXm/3n/0VChBABoTpbqRXPzNxOFVQ7adOfOyUYUbDuJkYlkCPTln6gsGtZiZnofHB1066oHFfyTM X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSZPR01MB8702 Message-ID-Hash: BHGHOC6GJUHIO7OI4KQ2YULJPIJGL4I6 X-Message-ID-Hash: BHGHOC6GJUHIO7OI4KQ2YULJPIJGL4I6 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 CC: Linux-DT , Linux-ALSA , Geert Uytterhoeven 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: From: Kuninori Morimoto Tidyup reg/reg-name "maxItems". Pointed by Krzysztof, and corrected by Rob. Link: https://lore.kernel.org/r/46974ae7-5f7f-8fc1-4ea8-fe77b58f5bfb@linaro.org Link: https://lore.kernel.org/r/20230207211621.GA4158591-robh@kernel.org Reported-by: Krzysztof Kozlowski Signed-off-by: Kuninori Morimoto Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/sound/renesas,rsnd.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml b/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml index d106de00c6b2..c3bea5b0ec40 100644 --- a/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml +++ b/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml @@ -300,7 +300,6 @@ allOf: reg: maxItems: 3 reg-names: - maxItems: 3 items: enum: - scu @@ -309,9 +308,8 @@ allOf: else: properties: reg: - maxItems: 5 + minItems: 5 reg-names: - maxItems: 5 items: enum: - scu From patchwork Wed Feb 8 01:32:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13132271 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 0A7CCC636CC for ; Wed, 8 Feb 2023 01:33:21 +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 86C7C83D; Wed, 8 Feb 2023 02:32:28 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 86C7C83D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1675819998; bh=Ev2Lfnf/VkjzhFvBWhCjV0EpbxNPDsZS51vzVtjpqto=; h=From:Subject:To:In-Reply-To:References:Date:CC:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=g12FD3MAlnOhM3SscJkw3xl1ZbpTx6xWWHQogWQxNDCkF1uOT37vtwUDxnfpfOGBg ohWikhsGSpX2VzEhaR4yiRD8I6XQeWlyfrrkgJ75rwsVUq2IIGnMDu5waVrZ2cb6kl iL20IiU0FJx3DMZ+9NwSkffd+qPGJcAqqeVmB20c= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id D5AF9F80152; Wed, 8 Feb 2023 02:32:27 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id AD368F80525; Wed, 8 Feb 2023 02:32:23 +0100 (CET) Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on20719.outbound.protection.outlook.com [IPv6:2a01:111:f403:704b::719]) (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 94C47F8051D for ; Wed, 8 Feb 2023 02:32:16 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 94C47F8051D 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=LBSUZtOq ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MY+8+tM6PP4vp3nYyNKYB5Fck8vB5wuOU/PPooXMz8XExhCh/wAWvWxAB6tmn48yVB32l69c9X1rW+5FedS6FkxqwaZ927MUNMK4jPgSQwWjwNxta54FMtgVmm9Ebid47scf08wo9vSo1dwCKAmP7UJ72XaV2l4YoAs8dL/E8CVvy9BXzc0g6PuDUYEs2hdT3Ry4Ria18cwM35l/vYanK7PFI3oP7SloBnFPoOIDSZgAHOAppQVaAY0xPzKucmqbyWihq1aKwjBL+OArewcDWeqdPlAYbw+XJ1KIdO97ZQNRiA79pxguJbsd63gxaX4Su4KNWDGWOz1JYpwAfqEx9A== 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=juoWds6zT2IPx4YzVm3QcFK6vNPWEHj1dmJuyL5bMDU=; b=c03YstvzOlH7zViMVsfK53lRLtrE5IKU/9ypX+wL7pOagYKk82PvUCdMkstuKTghYw9SKlhXs3dCCO+uSp69QL0e5tuPKd5NLvuV0tg0fyObW4BRA7D1DQ+W6xPA2p4pHxkf1kyI9HEv8JeySoYt5U0EsvSady/WMnKFvuYObTopFzB5GR97og2OTknengdfi9UPYGode4/Zq5bG0eAgX8UW7AdZLWhfSlSa4kcC1hHp3hYAWBWL6jzlut+P9qqwNnuA9PmsdFyJ++AlKsOEvF0W1cCYuX9WVzsjL8lZ5pju2XH0oKJQzH8v+61tZHMoLWT2GZ2/F0JhvFNEgwv6mg== 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=juoWds6zT2IPx4YzVm3QcFK6vNPWEHj1dmJuyL5bMDU=; b=LBSUZtOqxhgQG36p5SVjicoqDba89AF8D+ij5dsdmaZn7EVRHeuCq2qC+UIKFRXLq6oMAyVcc6SzjRPqOiCeYI2gdMQ1lu5HfV/etRMYVlGjVya6J1caVOk0xDm+LbwWOrgNQqfbpmiHZ345K5OOfGNCaaKlB8cEC0WWN7zKhEA= 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 OSYPR01MB5560.jpnprd01.prod.outlook.com (2603:1096:604:8b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.17; Wed, 8 Feb 2023 01:32:09 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::4b75:8d8e:d89a:7860]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::4b75:8d8e:d89a:7860%9]) with mapi id 15.20.6064.035; Wed, 8 Feb 2023 01:32:09 +0000 Message-ID: <87o7q5t012.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 2/2] ASoC: dt-bindings: renesas,rsnd.yaml: adjust to R-Car Gen4 User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Rob Herring , Mark Brown , Krzysztof Kozlowski In-Reply-To: <87r0v1t02h.wl-kuninori.morimoto.gx@renesas.com> References: <87r0v1t02h.wl-kuninori.morimoto.gx@renesas.com> Date: Wed, 8 Feb 2023 01:32:09 +0000 X-ClientProxiedBy: TYAPR01CA0196.jpnprd01.prod.outlook.com (2603:1096:404:29::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_|OSYPR01MB5560:EE_ X-MS-Office365-Filtering-Correlation-Id: 0c34fe87-51c4-4004-c0cc-08db09744bd7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3SRga2DoghYilP0ryMRtYMHYQO2fkAvLu7oeOk7rGc5LM/XlrO7R6zp3C1EtT1l8wcXgVvxECl7V5F/wuPPBWxyBO1TD0GR7C7kL4K6bfLuWrRnEg9P5F/VeVT/P11Ge4JYP2IjkhT8YDKV6GBtnQ2dJdXHHQYy2gaxeZ+Yum2I1UTujGu0lWd57fdlc3F+3elVqxiHrKzzPaA4O+DuPamdhfu0Mi03HJRkZkAhxlPrSfIiXsqi3ve1jv6aPObYfry/E98p96BGPpWFDNgovZD1BzQhdwiCju/KN45pFQdoJlsZcG7m6VlOfT/7JxJZ0Y/KSAVBKe1l4w5y6qImv0tKEXNyZQsC9+Goe5WPuwBBTFAixE1K3enksbxGKP2VLsYV2lk0WU0NBKoGrfvo9y6uh8wqL/SHAyVTlWXRTp63C5A4fSnaSU1CK6xaH89FZfYysELiYwu3kDAD7WSbK1OuGOKbu2xh4er0Hc2uO7fgMS81BCBbbjDDoKxJ+bXh5WlfPphaeBUrNmhkZrUxgi898MDMBFHrAqh0hNu6rHT7d85q60SPUfrGspjSnB2ue7LMS0FIOSQkyEkdb2idbP8Y57HfL4QB5xt2n2dUvKkBuWvz4Fuim9tbVrixJRBl4XvR0N4eN3gStWzIDuz17MnSawc/tRt+0w3d9Q26G4cuDuxTcdXGnw6zo/JNOlSAk23t/I734tuCFrfVP+KF+pt6gmh3b8y6ytsPhvd+NULOgEk9lN9CmoTWEQ6KTdUaroylDfRVgxYU57yAz4xHeAw== 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:(13230025)(4636009)(39860400002)(136003)(366004)(376002)(396003)(346002)(451199018)(2906002)(36756003)(5660300002)(41300700001)(8936002)(83380400001)(4326008)(66946007)(66476007)(66556008)(2616005)(26005)(186003)(316002)(86362001)(110136005)(6512007)(54906003)(6506007)(8676002)(6486002)(52116002)(478600001)(966005)(38100700002)(38350700002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: BznMkY+e6wpeFWufYacbfdUpZorHWj34CeJcqERsVGTrpsVd/rlBUtbjbjmoGYq5CpIWb3F0RJqe1FqPiLIF4upXRVnoAUdJg+1PsnSO0MUcrEW++AfEUUDc7niAdevhDiGec3mreFqkcOBr7rEMvjJPnCcWYd1VuDrx/GTwiVY4QRUiUehEz91x30JMkDxaDM9RIe5ypj7MBVJgeYQE6uHAZHWg5WW2nrldGsc4zWEAt8WhTyf9p3QuXcT4OWgM6lm8eoH/xdWfBMojNwYv5id5jVOegC/9OfufK8lF3mpGOl55Jx80W2lWrwgPLqsvl19R7UeflrL8JYsaPUsomZS54yHbz/b+rKeYFz7MyqotuF81fFzdtb8nnXpTBVkHtME8bh8J71lphBbPoCXwcUjI1vV2rJgcA9JMtYPQ3nBp1VRg+QrIQ+hMerwVWBwTPdxY6kI+hzhgqaPNM1NnYMHS+vjaZpUOCuEYNhInu/nDGwii5Hyh7sFoSv09BldvDTd30wwpGQ0wIXrEr1lnnMlJBb/XSAyEcZbbqaj1EdRteLFQj6uYjolQcxGgugcYhTYoFVB0iujSS0AB7nUu3VHSmXgG0ZbZiaUJLhYvjCRgkyac7kvnzmaFwNogxqzqmdflJXSuwbKZAliWgNbNFdimtVbVZp+HM013uRO3bN7gRz1Auhvw3y672RkknCbqfoQqXStOG8v9/Nvt4pQuyarzLbM4QdQDYDT/KBFQ8S482YZg0g844XCZeS25Nf5c3ssnCxx5LJmLUMGJ9KNofp7hyL5Oz88rS4rCZuuUl0R2uTCSq85QQaj/O0Ffh1V0AWIVmT0yW6J55ya6CjAAfPTvjKNnGGbdo/7Ty9VxJyytiKcZAVdE7tKWMm708dMmsUR6NtuhuItUAqFfrNCmrAybhnzAD+rEV9m/LapRdotRb+S0kzq4rHPkAECHdyflfsu/fI8j6gfwQLv4vgV/vyNO/zPnp6WQzLL6SsjPhoypkCaToNw2H8jxjfFQdoO5MT+CyvtYoxOwfIt4la8z8knrcyQd0hyR0huw8qnm5H4vC75zXI+et+1a3P6YBXmlbiRK66ODDoYIqjMgMyS8e5tn6TvfoVCS59ttIMRNZsxtddd7qKgR+4uyGt4djqLgTtg18XDYc1gt8v9yOXSLQ8HbA8uk7RLd0sdcMUpuwcy/O404QWAIzMEB+NCYa/BdLifNk23vabDNtZGkrF/xkDQSyY2VsnAGP/UzxitUB9+qhPJP9rYKNUSJRILFhliIj5RctUpSIVcnxy2ugDfQdNToGnlFRKKntiSoZl0WLdXsGqYPTHpDOjCl+vVD7q/YZSQOIjF15VQpxpq093U0eEaKE71KfayirPfCLEcfcOjVPDMT0hOCD3PmtAIUx0Mib7x6fjBgZHalm5wSoKHbeJyOcl0RPlv12lheuUGT62Eu3tfg6AM1Ra9wML/5yywXuVYaV7PCcruBZYAtqjECDRVYhwfzEFsP+LmXb9QdjycXsjcVRi/sfGiHGxeo9USj8Iz/LUVMrIzfCwHjAjgwz9DLo4XRzpfJW886EW3X610ytHhWOBUSrh+gYskdvwRbwGXgqulWI08xZSPJpOunCIBqoU84C7RVwbwnc8Gwe+A= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0c34fe87-51c4-4004-c0cc-08db09744bd7 X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Feb 2023 01:32:09.7139 (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: cNCuPFETZFlRTOeQ153hJo1PKvts+fRpR7yKpY/+py38ZOrBWKnnlSaiuoW1ifeifWSi8cvIc2DUKFQyEsZVScruKB8k+2kB4GkL3nDr3Ks0x8H0WX7KAmI45dtfaBDs X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSYPR01MB5560 Message-ID-Hash: VP727HXFSN6JU5ODFRGBAMGWQEVM6G2M X-Message-ID-Hash: VP727HXFSN6JU5ODFRGBAMGWQEVM6G2M 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 CC: Linux-DT , Linux-ALSA , Geert Uytterhoeven 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: From: Kuninori Morimoto R-Car Gen4 is not compatible with Gen3, this patch adjusts to R-Car Gen4. By this patch, "dmas/dma-names" under "rcar_sound,ssi" are dropped from "required:" property, because (A) these are not mandatory if it was PIO transfer mode, (B) Json schema if-then-else doesn't work correctly on there for some reasons. see the Link for detail. Link: https://lore.kernel.org/r/CAMuHMdW_QHmODAKvn_GwHHUWw-=z4Tdq0NkhdK2u2piG_YgB-Q@mail.gmail.com Link: https://lore.kernel.org/all/87zg9vk0ex.wl-kuninori.morimoto.gx@renesas.com/#r Link: https://lore.kernel.org/all/87r0v2uvm7.wl-kuninori.morimoto.gx@renesas.com/#r Signed-off-by: Kuninori Morimoto --- .../bindings/sound/renesas,rsnd.yaml | 72 ++++++++++++++----- 1 file changed, 55 insertions(+), 17 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml b/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml index c3bea5b0ec40..3214ca9bcc78 100644 --- a/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml +++ b/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml @@ -99,20 +99,6 @@ properties: minItems: 1 maxItems: 31 - clock-names: - description: List of necessary clock names. - minItems: 1 - maxItems: 31 - items: - oneOf: - - const: ssi-all - - pattern: '^ssi\.[0-9]$' - - pattern: '^src\.[0-9]$' - - pattern: '^mix\.[0-1]$' - - pattern: '^ctu\.[0-1]$' - - pattern: '^dvc\.[0-1]$' - - pattern: '^clk_(a|b|c|i)$' - ports: $ref: audio-graph-port.yaml#/definitions/port-base unevaluatedProperties: false @@ -256,8 +242,6 @@ properties: $ref: /schemas/types.yaml#/definitions/flag required: - interrupts - - dmas - - dma-names additionalProperties: false # For DAI base @@ -305,7 +289,14 @@ allOf: - scu - ssi - adg - else: + - if: + properties: + compatible: + contains: + enum: + - renesas,rcar_sound-gen2 + - renesas,rcar_sound-gen3 + then: properties: reg: minItems: 5 @@ -317,6 +308,53 @@ allOf: - ssiu - ssi - audmapp + - if: + properties: + compatible: + contains: + const: renesas,rcar_sound-gen4 + then: + properties: + reg: + minItems: 4 + reg-names: + items: + enum: + - adg + - ssiu + - ssi + - sdmc + + - if: + properties: + compatible: + contains: + const: renesas,rcar_sound-gen4 + then: + properties: + clock-names: + description: List of necessary clock names. + minItems: 3 + items: + enum: + - ssi.0 + - ssiu.0 + - clkin + else: + properties: + clock-names: + description: List of necessary clock names. + minItems: 1 + maxItems: 31 + items: + oneOf: + - const: ssi-all + - pattern: '^ssi\.[0-9]$' + - pattern: '^src\.[0-9]$' + - pattern: '^mix\.[0-1]$' + - pattern: '^ctu\.[0-1]$' + - pattern: '^dvc\.[0-1]$' + - pattern: '^clk_(a|b|c|i)$' unevaluatedProperties: false