From nobody Tue Jun 23 08:17:15 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 943ABC433FE for ; Tue, 8 Mar 2022 17:49:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349271AbiCHRuK (ORCPT ); Tue, 8 Mar 2022 12:50:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349265AbiCHRuJ (ORCPT ); Tue, 8 Mar 2022 12:50:09 -0500 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEF2C4839E for ; Tue, 8 Mar 2022 09:49:11 -0800 (PST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:6100:2d37:4115:c358]) by baptiste.telenet-ops.be with bizsmtp id 3tp72700V1Yj8bA01tp7Qb; Tue, 08 Mar 2022 18:49:09 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1nRdxL-003DQP-4j; Tue, 08 Mar 2022 18:49:07 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1nRdxK-006gpQ-H6; Tue, 08 Mar 2022 18:49:06 +0100 From: Geert Uytterhoeven To: Sudeep Holla , Cristian Marussi , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2] dt-bindings: firmware: arm,scpi: Add missing maxItems to mboxes/shmem Date: Tue, 8 Mar 2022 18:49:02 +0100 Message-Id: <58b7c706f259f88a61bfe82d9106fe0a93a9838d.1646761693.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" "make dt_binding_check": Documentation/devicetree/bindings/firmware/arm,scpi.example.dt.yaml: sc= pi: shmem: [[2], [1]] is too long Fix this by adding a proper maxItems value to the shmem property, and to the related mboxes property. Fix the grouping of the "mboxes" property in the example. Signed-off-by: Geert Uytterhoeven Acked-by: Sudeep Holla --- Exposed by commit 39bd2b6a3783b899 ("dt-bindings: Improve phandle-array schemas"). v2: - Change limit from 2 to 4, as requested by Sudeep, - Add Acked-by, - Add maxItems to mboxes properties, - Group mboxes in example. --- Documentation/devicetree/bindings/firmware/arm,scpi.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/firmware/arm,scpi.yaml b/Doc= umentation/devicetree/bindings/firmware/arm,scpi.yaml index 800417a76bda0bd9..1f9322925e7c9f2d 100644 --- a/Documentation/devicetree/bindings/firmware/arm,scpi.yaml +++ b/Documentation/devicetree/bindings/firmware/arm,scpi.yaml @@ -43,6 +43,7 @@ properties: by remote SCP firmware for use by SCPI message protocol should be specified in any order. minItems: 1 + maxItems: 4 =20 shmem: description: @@ -51,6 +52,7 @@ properties: be any memory reserved for the purpose of this communication between= the processors. minItems: 1 + maxItems: 4 =20 power-controller: type: object @@ -235,7 +237,7 @@ examples: firmware { scpi { compatible =3D "amlogic,meson-gxbb-scpi", "arm,scpi-pre-1.0"; - mboxes =3D <&mailbox 1 &mailbox 2>; + mboxes =3D <&mailbox 1>, <&mailbox 2>; shmem =3D <&cpu_scp_lpri>, <&cpu_scp_hpri>; =20 scpi_sensors1: sensors { --=20 2.25.1