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 3509CC433F5 for ; Wed, 16 Feb 2022 13:53:48 +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:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xldfl5hhpSghg45vIcz2CHVHuYetET6NN04m15vtTRw=; b=D/QiRRpTmuNuP+ 5Euz8zzBiTGbzutOBlo5x9xh00Xh5XDBzH5rpcyhAKvODQRM+MGcJ8Xg846CrXh6i5anVzYwSX7Jl eFk0ezNILcDW4YDualM+wzjqXco6YY20xRe8oIz0CS+4/fkdzXQijBK3TcS5gSphf6YJbd3iwj4Nw +kjYHip9KH/jqIBrpqs6DwhEd5+AD64KRPTt0ZmAI7DckCLfxUVfZFj1xf7t0SSAZ3DGNsBM9j67T AEYT5IVdq5dxZ1PoL7UO234SOeghVpNPIlqmqn2Db90n7By0nKdSNaqSMn3g/WhzEFTz/dwSAUGdI h62EMF99hBWNETRQYzAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKKjS-007Gye-RG; Wed, 16 Feb 2022 13:52:35 +0000 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKKjO-007Gxt-O1 for linux-arm-kernel@lists.infradead.org; Wed, 16 Feb 2022 13:52:32 +0000 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 8375640339 for ; Wed, 16 Feb 2022 13:52:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1645019549; bh=+u3G+MrAEMAW+mtUoAjTz+xCLc5uSGE/HUeUgcjxmOo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=nq+iRN/Hjl5Mc2ni1rrHQvYYvdBvlINV0u5ZBSfTSWk0pp9DYQlx9aWS8wGdxWaMv pGzMkMMBHxg79s66xRngzMCYehUmy+4j4jtifqGgE/q4sKQ773to/yT4Jxac/P8SLa yOnOxfnfEFzWwAmB4DbC8brBiJUMEWwPnpCTFINsEeVKsKXRUyWWrCImdwAsDxJONH FLZWdmddK54SuBDSeULpOsUhS3OSID//su4vYo+y4tunfNGznRsaqdPS4oGG2A0TqK POyw7AJjTUC3lWbMeScZz1+Et4OhrWLMsmzYk8GNSAggai0EuoT3GCnb9zdzaBgv2A 1FAZR4fIuMjdg== Received: by mail-ed1-f70.google.com with SMTP id j9-20020a056402238900b004128085d906so752412eda.19 for ; Wed, 16 Feb 2022 05:52:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=+u3G+MrAEMAW+mtUoAjTz+xCLc5uSGE/HUeUgcjxmOo=; b=Cr5pGgG/D3LyAyS7lbcYyMJXPPrZKP8SwE3AIEz3tG6zI2uFXuMCh8Jq7H1W0h4R7e 6eDybqjKHz0cwz7qH+p3RPM7OnkjEdakla1yQ8C9X0W0+ox/kIxsj2/OUN+02ND9j6kO kWoJFizcie1pbFnvq/udUVvw3lBitpTYBayem919GUzTF5wRl3SdASLj9uOfcHwm5jKc ryFAgYjQWgEs1izzO1fVfYH6mLETQ3mUn2TS276JNXf1jHKtt8I8B/GFQpdN/s8XoaLH RTmu7N8a1Ioz/xeS0QQbcJy40/iCFw+D6Xo8GXylDxsDPzCRCCce7RLUKJxxhOxZ/LFF neKA== X-Gm-Message-State: AOAM530v799TC7n8XRobX9wlP28jQ/n6opd0+uGa8TaiuOVA77GML3Ia r4I31MpNd0IzR8qNoOcaFPEwrcVajailvSLh5ylWL56+4TFJgGfjKyXwzjNZVcr/dhbsjzJfTCX obLJQaVI8D8QRWEOWCEI3XaaJoq8r9cSUFkIcrKSgudjikYalzuH4 X-Received: by 2002:a17:906:19c6:b0:6ce:98a4:5ee6 with SMTP id h6-20020a17090619c600b006ce98a45ee6mr2281088ejd.567.1645019549167; Wed, 16 Feb 2022 05:52:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJzW2HrTL0uringouCMD72CnotetELfh4Fjh7yW1sonUt6QsRLSa5CjdTsYI7/InWwk6SfSpPg== X-Received: by 2002:a17:906:19c6:b0:6ce:98a4:5ee6 with SMTP id h6-20020a17090619c600b006ce98a45ee6mr2281080ejd.567.1645019548973; Wed, 16 Feb 2022 05:52:28 -0800 (PST) Received: from [192.168.0.110] (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id q8sm1679538edd.10.2022.02.16.05.52.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 16 Feb 2022 05:52:28 -0800 (PST) Message-ID: Date: Wed, 16 Feb 2022 14:52:27 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH] dt-bindings: firmware: arm, scpi: Add missing maxItems to shmem property Content-Language: en-US To: Geert Uytterhoeven Cc: Sudeep Holla , Cristian Marussi , Rob Herring , Linux ARM , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" References: From: Krzysztof Kozlowski In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220216_055231_020243_A7D05104 X-CRM114-Status: GOOD ( 17.26 ) 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 16/02/2022 14:42, Geert Uytterhoeven wrote: > Hi Krzysztof, > > On Wed, Feb 16, 2022 at 2:39 PM Krzysztof Kozlowski > wrote: >> On 16/02/2022 14:21, 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"). >>> --- >>> 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 >> >> The same should be done to "mboxes" (I mean 39bd2b6a3783b899 and what >> you are doing here) > > Indeed, thanks! > >> and the maxItems should match both, shouldn't it? > > No idea, I'm not familiar with SCPI ;-) Neither I am. The driver though counts number of mboxes and then loops till that number to get each shmem device node. The driver does not limit number of mboxes or shmem to 2, but will fail if they are not equal. Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel