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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96B27C433F5 for ; Wed, 16 Feb 2022 16:54:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236702AbiBPQyL (ORCPT ); Wed, 16 Feb 2022 11:54:11 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:35708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234159AbiBPQyK (ORCPT ); Wed, 16 Feb 2022 11:54:10 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CE534293B72 for ; Wed, 16 Feb 2022 08:53:57 -0800 (PST) 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 4ECEBD6E; Wed, 16 Feb 2022 08:53:57 -0800 (PST) Received: from bogus (unknown [10.57.3.200]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 38FD33F718; Wed, 16 Feb 2022 08:53:56 -0800 (PST) Date: Wed, 16 Feb 2022 16:53:07 +0000 From: Sudeep Holla To: Geert Uytterhoeven Cc: Cristian Marussi , Sudeep Holla , Rob Herring , Krzysztof Kozlowski , Linux ARM , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Subject: Re: [PATCH] dt-bindings: firmware: arm,scpi: Add missing maxItems to shmem property Message-ID: <20220216165307.4z6muko6b2kq437c@bogus> References: <20220216143926.t3dadlsjtkotkv6o@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Geert, On Wed, Feb 16, 2022 at 03:55:35PM +0100, Geert Uytterhoeven wrote: > > In the absence of maxItems, the validator assumes it is equal to minItems, > so we do need a sensible maxItems value here. Ah OK, makes sense. > Any suggestions? 16? 64? > I did a quick look and only 2 platforms use it(juno/amlogic meson). Juno can go upto max of 62 theoretically but I don't think we we go beyond 4 due to associated shmem limitation. So maxitem of 4 should work just fine for now. Since it is obsolete spec, I don't see any new extensions or users. So you can add my ACK for the value of 4. 2 must work too but since I have tested juno with 4, I would like to keep that possibility. -- Regards, Sudeep