Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6201033rwl; Mon, 9 Jan 2023 05:36:23 -0800 (PST) X-Google-Smtp-Source: AMrXdXsD6zZHRRfsjps9sNWnMd3la4Y76bWMw7z2d7VGsxZnC+Ah5zDT3EXFPXzIlo80KmmUQqF4 X-Received: by 2002:a17:907:11cf:b0:7c2:3b8a:9f0d with SMTP id va15-20020a17090711cf00b007c23b8a9f0dmr56511538ejb.51.1673271383569; Mon, 09 Jan 2023 05:36:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673271383; cv=none; d=google.com; s=arc-20160816; b=Yu26pdYa+VHNANhgO4gz4LLF73z7YGcr/TbqHyqa+fI59uwhJTxZ2oaKtJ7mR9u6GX 6RHaGfN6WJcnHxQjN3CfFG2PXvoD45D6vJJ9FJtlXgJo9LStwzOuznXnL6DfuR2fOypr 74tvvw9oZMcWPX7rTk176v5xs7LV3Uh/9IGvMzjq8PEZ91IbJjOvj915kECfresZxYwz F2ILlV6iQYDuHq361SthYgC1PaeYlVjIqR/xf6KCSmW6X/RHyl6cr2RL2Ce06XW303Rq hNlk+2cs5oevWrt1mAXKa4yC0RHolVSMzw8eIPNQdo9Sw0v0GERVRTCF/j/eovkhISpv KhNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=UT5KZHFU2APdX6WKtUWfM1YWxYsapsClz8r4c1DQ7os=; b=hAafD5Ak5nSlsj+VJY/lDT3gozwd2CaQmZKb8V+CglCExzJTp0yfxDJcJQHap3n0Op w3zihvpuVJsGdopkcCV81qSnHH29pNcH6Gl1Ra3UZZ3e8MyhCbXpaV0sRHqMyxcHDzWR 70a+kqW6eBeWHYBeTf7D/UaNP3A8juWX6gVCBXd+2XWSJku5SnPkW3m5Dhn8cqnzsrpz 8wmhl8iBw2B72F1hA8/cYxY+zAYIVHQcXUUB3qVFa9R0kKcupLGK4m6PhQKuCQUNMhPz w1VtqqRb5If4UjTyqo5p+DBnJMQMKDWobX6xqQmE5dMjgJTcaPe2JDwffKInfu/IyASt pYRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=u80RPEj9; 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 ht14-20020a170907608e00b0081b58e47ec3si9109401ejc.444.2023.01.09.05.36.11; Mon, 09 Jan 2023 05:36:23 -0800 (PST) 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=u80RPEj9; 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 S233713AbjAINHd (ORCPT + 52 others); Mon, 9 Jan 2023 08:07:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236108AbjAINHO (ORCPT ); Mon, 9 Jan 2023 08:07:14 -0500 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3959D32278 for ; Mon, 9 Jan 2023 05:05:32 -0800 (PST) Received: by mail-lf1-x12d.google.com with SMTP id m6so12815895lfj.11 for ; Mon, 09 Jan 2023 05:05:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=UT5KZHFU2APdX6WKtUWfM1YWxYsapsClz8r4c1DQ7os=; b=u80RPEj9hQlJGcXwm1t2XIvOcnMdfARhIhM8YGRn/ro5bCNJwMRYFkRftGzRk70xFV xHjH+7NMt7OSjY2vM3kXfCiDpV8DidpF2dRpJNNua/yHqSrQEXmGdeaSjQDfHu6B76JA iYBCoCgeFoso5PWfy5CTLpu32kuoCSKN3Js5SCSu/qFTiuf6rABkKaXwB7mZZ5SPEd5q MKFRZJGwEhXnbpcgdbIkCSBnqkMTGzVC95IuLUOWtQW6LLuu2vXPqz5/qJjKZ/xnjOhI ZpoVLV739lrMjrfMKlCjZ49MvZcikTsrhTevWqFFNgNqMajTD4nOElJ3S08B61qArP9Y 3KZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UT5KZHFU2APdX6WKtUWfM1YWxYsapsClz8r4c1DQ7os=; b=ZCSI0O+TPsmjDCuiDvER/fRutCAV4fQm08T1BHVFawFA9u0MyzpjZ85JafekJzcLWh 3QUhcmU98jkC/uxerz30/4X53C2Pl2dcMnJLzDdiOIIQ12ebMEeQ3fUixtug6ZdABo9l 6aVCa4M764jOL9G+hbxv6gujg1+LQCk2StQiKmEC/TlriltWN2dgK8F+gA0h/HoYK9q7 6iO+Y7zg+NY94ZehXfgTZINJRwNA5SkfvtaIrsCYhsf2/iQErpExJc+7r+Cw3RGF/SBl FZYoorfhuPKqV2lKo6EOCtFGo5Mxn+bzy4Ct1iYPQ5T8ntljU6eZfilCX+zmFQeFP5xy ROlA== X-Gm-Message-State: AFqh2kppItlkmEbxMXAntcuvs48do12bQ8Q/c/z9VIFgl+ECoun6JB17 LDhGtPo/LkQ5hJ9Z8YaOZczNDw== X-Received: by 2002:ac2:43a4:0:b0:4cb:3a60:65cc with SMTP id t4-20020ac243a4000000b004cb3a6065ccmr6877919lfl.5.1673269527885; Mon, 09 Jan 2023 05:05:27 -0800 (PST) Received: from localhost.localdomain (abxi45.neoplus.adsl.tpnet.pl. [83.9.2.45]) by smtp.gmail.com with ESMTPSA id f1-20020a056512360100b004cc5e97d356sm1615031lfs.148.2023.01.09.05.05.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Jan 2023 05:05:27 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 1/3] dt-bindings: reserved-memory: rmtfs: Make qcom,vmid an array Date: Mon, 9 Jan 2023 14:05:21 +0100 Message-Id: <20230109130523.298971-1-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 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 --- v3 -> v4: - Constrain the vmid array .../devicetree/bindings/reserved-memory/qcom,rmtfs-mem.yaml | 6 ++++-- 1 file changed, 4 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..08eb10c25821 100644 --- a/Documentation/devicetree/bindings/reserved-memory/qcom,rmtfs-mem.yaml +++ b/Documentation/devicetree/bindings/reserved-memory/qcom,rmtfs-mem.yaml @@ -27,9 +27,11 @@ 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 + minItems: 1 + maxItems: 2 required: - qcom,client-id -- 2.39.0