Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp805383iob; Tue, 3 May 2022 09:59:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPTp1NFOn8jTC7fechtgAnfQ2m1U4tW4k/ik9FxsGA6fTRI2ZsNOCiy2AtDl53oorYXSmT X-Received: by 2002:a17:906:c156:b0:6f3:9e3c:5cc8 with SMTP id dp22-20020a170906c15600b006f39e3c5cc8mr16339713ejc.17.1651597190010; Tue, 03 May 2022 09:59:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651597190; cv=none; d=google.com; s=arc-20160816; b=gEJKyIh25m6Qg5tIFHxSiDjVKxDFRZt5fHFJAwI8UAs64LHdvqHtHuYHHoVLucG1ct xSIzVuw7JEkw0eEyjxuTz9t/nF3148BB5FQU5Ne6ogxrYejKs8qdy9S/q3xTBdchX2Mj /2guvsRYxDwECaipI/j1telt0EVKlWP0tMwjck5vvJcgtTfxVbzb5GWmFStr/M+IQHq4 8lru9p9gl1OgaDXNFhoRQk8vsIAm0t2P8kH7WplUhbne9wqydbURJTXw+IUjdQIuUlcD B/7MeyazfozZD/F7dCPqT+vsl4BfNnycHLJgjZzF7IsUK+0Z24Y0vwyUJ71ktfnBwohT KP8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ATypDYM1Hgw+JVW3PULzGTbDtRMsM1D9mY5duLSApB8=; b=E2uslBXswIpdBO0vML8HEfBdSWvYlmZ7eBVYtIgQ0LWymcUNjKMh98gLNtrPGExPCK drR3iMEIdsfBFtu2Wn6jbjpLSn9yxzMqgE1LjrQ+uFu7ITtzvIjaspwplHzKOplFSD7+ ByRyP3YhdYUWsa4eeNv1OAXmPIAqe+bk7kYlXKvd4NdG39/XPXKGBWXePsrJ88iaAdf0 t0TUwI0PsxRvcpuk2ccGsJ++3bu8f30p5DPSgW5fw2LL1lgS2BpVu3fUbYg++UEGWYsH HrePLgJdUS4rXsbFeP6sZognPRp7BZ7ECooGV73ixQLfatbeoXcD96YIkI494HxiOPgG kEkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="nTPHWz/N"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lc17-20020a170906dff100b006df76385eacsi13022278ejc.844.2022.05.03.09.59.23; Tue, 03 May 2022 09:59:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="nTPHWz/N"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235188AbiECMYW (ORCPT + 99 others); Tue, 3 May 2022 08:24:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233052AbiECMYU (ORCPT ); Tue, 3 May 2022 08:24:20 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A4F564E5 for ; Tue, 3 May 2022 05:20:48 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id g20so19618359edw.6 for ; Tue, 03 May 2022 05:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=ATypDYM1Hgw+JVW3PULzGTbDtRMsM1D9mY5duLSApB8=; b=nTPHWz/N33wHk9/lw+L2kBwXpj5x0zVfhGA+f3kH4W/aXt6VouU0DMNzNmUjp5XfrE K76y2ic2byO67ladLMh+lxvi8IP+l/ePGavIhGKhT34T3glgPwr6fVBHRd9ZREtsB92g AJhWF1SLB90XBjVer6ZUVlmFBilUfU9osp2fD2TokRZJkojd7JQZig44vqLztvKrdCHM +54+fXN91uESKdnk8igkoV5CMxPBB4wuyZ2HcwbA+5qI2xpiuRmagbpTCZ6YADyAYlxd hAK8nHs25AEdRh7P5sGbG+iXN7r2w2u1SmZodHKtmbK2obcrZOTSH4vucwYamdWF6RJZ vXzw== 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=ATypDYM1Hgw+JVW3PULzGTbDtRMsM1D9mY5duLSApB8=; b=0n7ACtCNNVPmgqi+w7+o0MQp5+os0xYh+EkZN4cbzvVHeCMilphJ0+lQSmj+K07BjT 9XLRjceuxLGA4yZKC8l+YZVRbHnWE7XJXTGYloK2DMzTvT2tseLUccqgOLUsif4nss+s 0hzt9xrz2bk7otJ1/bCOvs58bIN2rgC8iSjPjAzlRLh48ibELtAjMqO2RIfjbDgeVrvb c041On7nyMUo4Uh4KbyIBoRsz7+5fkYL9mgwjyGP4ayu5oa2ssd3fWdwsoZbxxWDYi7X DnAt7EMZxaZsoZlQSRynnqg0PiTgnqTIRqeyeElu0hKNArtilXR1LReoVGnG8f/lHEdN jXNQ== X-Gm-Message-State: AOAM532i+7AFbWnm7WH2EQoglhwnoJR5CtMfEU93yLlg0Uz6pQBsqifE x4ttXiluwWnsrxgMJmro8APK7g== X-Received: by 2002:aa7:d842:0:b0:425:f329:33b1 with SMTP id f2-20020aa7d842000000b00425f32933b1mr17829071eds.74.1651580446747; Tue, 03 May 2022 05:20:46 -0700 (PDT) Received: from [192.168.0.203] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id ci18-20020a170907267200b006f3ef214e0esm4543127ejc.116.2022.05.03.05.20.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 May 2022 05:20:46 -0700 (PDT) Message-ID: Date: Tue, 3 May 2022 14:20:45 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v2 1/2] dt-bindings: remoteproc: mediatek: Fix optional reg-names for mtk,scp Content-Language: en-US To: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Bjorn Andersson Cc: AngeloGioacchino Del Regno , kernel@collabora.com, Krzysztof Kozlowski , Mathieu Poirier , Matthias Brugger , Rob Herring , Tinghan Shen , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-remoteproc@vger.kernel.org References: <20220502192420.2548512-1-nfraprado@collabora.com> <20220502192420.2548512-2-nfraprado@collabora.com> From: Krzysztof Kozlowski In-Reply-To: <20220502192420.2548512-2-nfraprado@collabora.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/05/2022 21:24, NĂ­colas F. R. A. Prado wrote: > The SCP has three memory regions: sram, l1tcm and cfg. Only sram is > required, the other two are optional. Fix the dt-binding so that the > optional regions can be omitted and passed in any order. I commented for v1 - order is strict, so no for this change. > > Also add the missing minItems to the reg property and update the > description. > > Signed-off-by: NĂ­colas F. R. A. Prado > > --- > > (no changes since v1) > > .../devicetree/bindings/remoteproc/mtk,scp.yaml | 12 +++++++++--- > 1 file changed, 9 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml b/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml > index 823a236242de..ec9ddeb6ca2c 100644 > --- a/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml > +++ b/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml > @@ -24,14 +24,20 @@ properties: > reg: > description: > Should contain the address ranges for memory regions SRAM, CFG, and > - L1TCM. > + L1TCM. Only SRAM is required, while CFG and L1TCM are optional. > + minItems: 1 > maxItems: 3 > > reg-names: > + minItems: 1 > items: > - const: sram > - - const: cfg > - - const: l1tcm > + - enum: > + - l1tcm > + - cfg > + - enum: > + - l1tcm > + - cfg Nope. > > clocks: > description: Best regards, Krzysztof