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 B5408C433F5 for ; Wed, 16 Feb 2022 14:57:08 +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:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kxVvRvyOjtAWox8b1K5k/FWZRs1cqq3idf/h35mKGIg=; b=AjXkd6NzSLoAHj EanTf1bPOTUEH2M9SLYrdNDcTCcrArRLLjBwqMF1r3i/yjTEdc98THpHFf7TjURGej5KrIWAfGl7Q pUXhKR8vagRPCzDmyYO2JpWqYF4l18xTwlk3IT+/J0rYFrM4HoGSw1S8+5XoTrB0XPnDyOhFdXjbX d/vOZee+3Gj8JWjD3DVS9xY9p+9vmsG1dpLJVarsQ8jOca2ZiI7no+Wc3xQzITXu5vIaXHSi1wWWH TYXjm5X8WTaEmW6SyXeaNjg3t1hxQ9EAn94rShjmfCD59aIbSCGne+WO/nuuglnLIKy9UyRL8bzmS lCnNQ82blP/fa4LoqCzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKLit-007P7d-Jt; Wed, 16 Feb 2022 14:56:03 +0000 Received: from mail-vk1-f179.google.com ([209.85.221.179]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKLie-007P0P-44 for linux-arm-kernel@lists.infradead.org; Wed, 16 Feb 2022 14:55:49 +0000 Received: by mail-vk1-f179.google.com with SMTP id k128so1366386vkk.10 for ; Wed, 16 Feb 2022 06:55:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=db1zGnn2dNN59CUj5k0yh9BvTpVEDDMbHLAbbVnkYC8=; b=VupVxMM7mZR4jcyNQpiLTH80v+bZhcJxVUs32HsZJstRqI0PIVwRxW6osOXEbjzpYp clW6MufepnpEXiLOivplnQQWKlR5E/z4+XDH4bjEPMTaaCn/t1WbEvSgSDfJWovsxGKf tWSjXbxbtjomf941DuwGlMrVQ1Hg0c1Ggcpj1Qe2e5l99P3mig1fZIIbB8Tp7xv6wD/X 6beUIk453IqX6gnRRspd+GZ8QT3ibV9PjFY64YSsGJ2RN0UXltsNOz/pL4TvsNbrrvAh kGZ3iM9gTH+ehB0HR1hY054Lc0XifxxZ4tA/ASZntbYOL9IlKVJapnRLopl7e1ZUXms6 HQbQ== X-Gm-Message-State: AOAM531UFDzgaW7/jGgE9v6SXsaVerZQcl2XCYn4cFxMZEFPcRRStKhg ypjEJyrPsBzY6qcZzeChRWW3RHigvO6ibw== X-Google-Smtp-Source: ABdhPJwKbGrUHzXRGimpjBt4lh8AYUsjsgdQAZx4Qx0T6N3wPsJOSQfAVLiIdajgqvM/7IzvnX8bFg== X-Received: by 2002:a05:6122:6af:b0:329:2e3a:5c6b with SMTP id r15-20020a05612206af00b003292e3a5c6bmr1181784vkq.20.1645023346757; Wed, 16 Feb 2022 06:55:46 -0800 (PST) Received: from mail-vk1-f176.google.com (mail-vk1-f176.google.com. [209.85.221.176]) by smtp.gmail.com with ESMTPSA id e21sm675590vkm.47.2022.02.16.06.55.46 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 16 Feb 2022 06:55:46 -0800 (PST) Received: by mail-vk1-f176.google.com with SMTP id j17so1023832vkd.12 for ; Wed, 16 Feb 2022 06:55:46 -0800 (PST) X-Received: by 2002:a05:6122:8c7:b0:32d:7e3:96c8 with SMTP id 7-20020a05612208c700b0032d07e396c8mr1302556vkg.7.1645023346219; Wed, 16 Feb 2022 06:55:46 -0800 (PST) MIME-Version: 1.0 References: <20220216143926.t3dadlsjtkotkv6o@bogus> In-Reply-To: <20220216143926.t3dadlsjtkotkv6o@bogus> From: Geert Uytterhoeven Date: Wed, 16 Feb 2022 15:55:35 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] dt-bindings: firmware: arm, scpi: Add missing maxItems to shmem property To: Sudeep Holla Cc: Cristian Marussi , Rob Herring , Krzysztof Kozlowski , Linux ARM , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220216_065548_222500_C239F088 X-CRM114-Status: GOOD ( 27.16 ) 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 Hi Sudeep, On Wed, Feb 16, 2022 at 3:40 PM Sudeep Holla wrote: > 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). In the absence of maxItems, the validator assumes it is equal to minItems, so we do need a sensible maxItems value here. Any suggestions? 16? 64? Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel