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 498CAC54EBE for ; Mon, 9 Jan 2023 09:52:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237023AbjAIJwb (ORCPT ); Mon, 9 Jan 2023 04:52:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229650AbjAIJvv (ORCPT ); Mon, 9 Jan 2023 04:51:51 -0500 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C4FA11A00 for ; Mon, 9 Jan 2023 01:51:12 -0800 (PST) Received: by mail-wr1-x42d.google.com with SMTP id z5so6490101wrt.6 for ; Mon, 09 Jan 2023 01:51:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=z3rGtdDW0VJw7KN93Fm1fjQQQqFXotbWswvCHbihqy8=; b=awMV8tF+q++ycvhLcvJKnSGujJT7HKYrOy52OsNlhAdm9ScD34wITUPjYsT97FwJT4 j/98Z27xnRT2+/faoIPQIvJkOdcnVeNOX8UXSxd4PjCDmd+Jp5zAsbIYBvl72G8eW7mn 1Kq3kEvS+pQ+0OupU/AqBjb8B0zwyKWXxrnf1/YxHWup9Oli0urUEpcFdy16/v2FEHX1 Xz3BD/3nFbcnmWUhxUS8KGtP/xXTxBhxSb7+EucCcGsVTZuwowKkBDNJPpKdSNR1nyVE rfHahEh2gqsFJiVI1yhH3dVLEVtIoGdPLPRwnUJ1Ebn9/KGgs5U5cc7hij0WJRqehDdU mY2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=z3rGtdDW0VJw7KN93Fm1fjQQQqFXotbWswvCHbihqy8=; b=N/MVeTC6xd/ElnHy2VRMeCzurNjT60bf46JMdPaZT+o7sG3oHR5bSI8NY1m5WM89J8 vCpnuO9abTLiCQzS8nBgy1z+sfViUcPo7ZXIMND6wff1ja7zgsGDX4OXgGp+/8f4VT2/ Qa6yWq8BjIaIBDyLcR2ZdIKN8223pF0eRxrADPxdVUkmQf9+Gms8m9rWBpdwgm1stJvb FH3MfvEZKkBxtmuQ7b/+7cZ4bORQbCkb5eyBl7Ki9YG4VLzSVo+RdkfANUrcOcEpB4JC 46tKVJmVUL4HEZQImosIu5BXYcSYqzX8isZYmHs4z+pDuAtpliiNj+KJmXnSusLF07L+ hz+g== X-Gm-Message-State: AFqh2kpZMiPMjTSorJOsjQ7Mqg7dj5LIk37GgJYddpgAbGbvwsz2Y3GZ LePw+haY4ol6Ypy0QQ4jtSw99g== X-Google-Smtp-Source: AMrXdXvJrU0pWeGYYQrTaHP+pbhxB15ZcOYhNi6h5OBW6UKkbzybHDYa4SrdPI49A01OMCTe3HE2XA== X-Received: by 2002:a05:6000:383:b0:242:8198:625e with SMTP id u3-20020a056000038300b002428198625emr41917435wrf.63.1673257870641; Mon, 09 Jan 2023 01:51:10 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id v14-20020adff68e000000b002365730eae8sm8032539wrp.55.2023.01.09.01.51.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Jan 2023 01:51:09 -0800 (PST) Message-ID: <2bc5d781-499b-fe39-2dc5-92bc9ba8396d@linaro.org> Date: Mon, 9 Jan 2023 10:51:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v3 1/3] dt-bindings: reserved-memory: rmtfs: Make qcom,vmid an array Content-Language: en-US To: Konrad Dybcio , linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230109093947.83394-1-konrad.dybcio@linaro.org> From: Krzysztof Kozlowski In-Reply-To: <20230109093947.83394-1-konrad.dybcio@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 09/01/2023 10:39, Konrad Dybcio wrote: > Some SoCs mandate that the RMTFS is also assigned to the NAV VM, while > others really don't want that. Since it has to be conditional, turn > qcom,vmid into an u32 array so that we can handle the NAV case, as > well as other similar ones if they pop up in the future. > > Signed-off-by: Konrad Dybcio > --- > v2 -> v3: > Rewrite to accomodate for changes, don't pick up tags > > .../devicetree/bindings/reserved-memory/qcom,rmtfs-mem.yaml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/reserved-memory/qcom,rmtfs-mem.yaml b/Documentation/devicetree/bindings/reserved-memory/qcom,rmtfs-mem.yaml > index 2998f1c8f0db..cfc2fda30eba 100644 > --- a/Documentation/devicetree/bindings/reserved-memory/qcom,rmtfs-mem.yaml > +++ b/Documentation/devicetree/bindings/reserved-memory/qcom,rmtfs-mem.yaml > @@ -27,9 +27,9 @@ properties: > identifier of the client to use this region for buffers > > qcom,vmid: > - $ref: /schemas/types.yaml#/definitions/uint32 > + $ref: /schemas/types.yaml#/definitions/uint32-array > description: > > - vmid of the remote processor, to set up memory protection > + Array of vmids of the remote processors, to set up memory protection You need now min and maxItems. Best regards, Krzysztof