From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 AC374C433EF for ; Wed, 16 Feb 2022 14:41:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Ni4eFCbOFA9pRygbMiNsdjSCysUmRzLpKAodNhSaGrY=; b=ZfRfQefgwzI3e8 D/zCnjA6LR/RnUBUu8oidiwEQ7wgd7wOdKCKS83EYze/6lRKd/cMJJL7gmKaH9WxeAsNvx9Qx6c0V QJBkCrUyyhnFdvSL5qGT3IFNFbgF9IafhqnjOo1tXQH4sfiGNzixg0LeT4ISgDAwu+ZZnV78ZYkZ1 cAWHtlX4ts87YqE5ILxeOglomBm8DHf+iAy1eTAzEgk0/0nZhtTpw4YQcBHdURYoDOJgBrbEJ6IF6 FL/lq5qFN/lvqBAe1xmur1rsmz6jakQRO66mAOptLHaZfJIzDT0A5L73trv4AElOSG9MmeKC7yYpM 8gv3xOsaOiGGz9ihCtbA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKLTm-007MEs-Nq; Wed, 16 Feb 2022 14:40:26 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKLTf-007MDh-7t for linux-arm-kernel@lists.infradead.org; Wed, 16 Feb 2022 14:40:24 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 40916113E; Wed, 16 Feb 2022 06:40:16 -0800 (PST) Received: from bogus (unknown [10.57.3.35]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C585C3F718; Wed, 16 Feb 2022 06:40:14 -0800 (PST) Date: Wed, 16 Feb 2022 14:39:26 +0000 From: Sudeep Holla To: Geert Uytterhoeven Cc: Cristian Marussi , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: Re: [PATCH] dt-bindings: firmware: arm, scpi: Add missing maxItems to shmem property Message-ID: <20220216143926.t3dadlsjtkotkv6o@bogus> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220216_064019_376366_3792C29A X-CRM114-Status: GOOD ( 14.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Feb 16, 2022 at 02:21:43PM +0100, Geert Uytterhoeven wrote: > "make dt_binding_check": > > Documentation/devicetree/bindings/firmware/arm,scpi.example.dt.yaml: scpi: shmem: [[2], [1]] is too long > > Signed-off-by: Geert Uytterhoeven > --- > Exposed by commit 39bd2b6a3783b899 ("dt-bindings: Improve phandle-array > schemas"). Interesting ! > --- > Documentation/devicetree/bindings/firmware/arm,scpi.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/firmware/arm,scpi.yaml b/Documentation/devicetree/bindings/firmware/arm,scpi.yaml > index 800417a76bda0bd9..3735f221fdf24e0a 100644 > --- a/Documentation/devicetree/bindings/firmware/arm,scpi.yaml > +++ b/Documentation/devicetree/bindings/firmware/arm,scpi.yaml > @@ -51,6 +51,7 @@ properties: > be any memory reserved for the purpose of this communication between the > processors. > minItems: 1 > + maxItems: 2 > There is no max limit strictly speaking. The driver can use all the specified mboxes and associated shmem in round robin fashion. That is the reason I didn't add maxItems unlike the newer SCMI protocol which clearly restricts to one Tx and one Rx(much saner I must admit). -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel