From patchwork Mon Jan 2 16:50:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 38157 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp4237919wrt; Mon, 2 Jan 2023 08:57:13 -0800 (PST) X-Google-Smtp-Source: AMrXdXsL89JmT53flNRmJHBSBsPxCCjVPwda4XRCWnpFlsXYTDgVjuLul/XFieAMMoHX9LCoyH/e X-Received: by 2002:a05:6a00:26eb:b0:580:f61c:9340 with SMTP id p43-20020a056a0026eb00b00580f61c9340mr6650692pfw.3.1672678632837; Mon, 02 Jan 2023 08:57:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672678632; cv=none; d=google.com; s=arc-20160816; b=YYHUcocUmjTUebWOOgNqmT2tsA/DsfvByG8kTfdv0SW898COKXzmLZOBZn01S7p5fT unjY9w+UND156nauU+HqFR5FOYvfWolPBEgtPAgIjgHaXSrvHwnpQga4I8YXc+Ft+83X v+3NiJ0bp2tzyMAOT4g2p4ZUSSvqFxSXhLO1P5J15Hrjk6HN+VTtwr298aKi48tHTALT bxnwKSkFjsFPpyDpp+0WJ0RGOR/rzqtuztnKEMhhsWuVxydF3ERmzOgXMI1aTiMEvZic ME3PznMpxYlssYfpX1pRLrqLa9CXhh/KGgC8/2pNFd/vpDoJn9U4AL/nbg32REihOu+N VZxw== 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=2X3LClvVib2/hNnEXNqeR2CvZH0rmRAd8DFSNKxgY5Q=; b=jWvdDKr+jDT1bRTiVCxV/H1ma53PQDarUmFdV5csz3B39uVUaJ7I1M/AW3ORACRy/e jz9jntQYfh5uo4W/uKylGyMl2Z7U24pEW9Kr8KVzZC610+KNwmoMLBTzVcomwb8ugiYa SxI1+mfdDEtrqIQ2dul91G+SFHaYedqhLxCaQeyKnnkIro9DjUlK4+CUKrngRk4mT1Zc g9k5BhnGQDnlxKdYKUcMC3aRhjt/51MNFIDDKNYaIEzKGZTQAj4/564gLBVMK7QfmqZ+ tt9r2XiK/6nk+s0NAohZNuZSzGgeMJifU9oH9f3BUKy/TSYsuD8ur9L3rE//2OOxdJ69 IMkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y45y59Oz; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f3-20020a056a00238300b00576cd9398e7si5525708pfc.1.2023.01.02.08.57.01; Mon, 02 Jan 2023 08:57:12 -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=Y45y59Oz; 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 S234311AbjABQuo (ORCPT + 99 others); Mon, 2 Jan 2023 11:50:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232909AbjABQul (ORCPT ); Mon, 2 Jan 2023 11:50:41 -0500 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E31F1F6 for ; Mon, 2 Jan 2023 08:50:40 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id p36so42256666lfa.12 for ; Mon, 02 Jan 2023 08:50:40 -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=2X3LClvVib2/hNnEXNqeR2CvZH0rmRAd8DFSNKxgY5Q=; b=Y45y59OzI05LisjUASag+l5CMJMSN/UZaH9vfPtswX7N7TxqyneLfl2pw6WYJhCw6G jsb/ezF4j1nV8hZTxX9mvWMSskhHzYkNHYd4Fx6nDWM07v0/O3TsLXPgtk3owTfmTs87 jJYHpHHg5Mz8oXt+3Oq+iOXSZxVvRWdxrRpW2Vm5hi13zJaSwfinXaDH6H+fx+dzMGKW ZkBe01H7+h/xHNmBPst4kdUxUMAst7O6+wNKLrcNaENRKpN8VzTzkFv5ga9C4Zr9IB+q s+k5wx8oEq8eUkO2IO8B5IMzXk5q+06lfXRnhTaem7e6SOcRi8MnCkGZmPBtTYXEmrVq lnfA== 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=2X3LClvVib2/hNnEXNqeR2CvZH0rmRAd8DFSNKxgY5Q=; b=XZpxOdEyVl+edkwuo9m2LezFQT1zAguhcCt9lTYQu/1QPww1D8gctvSOfYQTmcpv1p OsVpJVTQEa64qlzzHk17f5rECKnZN73rwrl32r5MmWK7/bbPGmxXCG+/hTi8OxsNjFwf BXhmRSavm5xh84FslPnJXVJUxidR1oltx1AXY1ab3rzGJB5XNuugdzUbgqSticouaL6c AMN7ejINeZvlbsXye7GfnPk92Nd7pNGrdWSCyJ6ncNoayh3gSJcLzWPPjidRy0dm2jp9 pP8L+jinycAkK53209YinwJ6Fpm9/ckuuxJCHZm4VYRx8sBrehCGadfUvguJk81VhV67 vw5A== X-Gm-Message-State: AFqh2kqkN7gue5hSWyP9pjvT6fzdRVFLHKFH6xC97FE9Q/IlRZ6rByhG Ny47Fn8cVK1KV1HIY7LsAuyK0A== X-Received: by 2002:a19:7b01:0:b0:4b5:a64a:4408 with SMTP id w1-20020a197b01000000b004b5a64a4408mr17292512lfc.48.1672678238609; Mon, 02 Jan 2023 08:50:38 -0800 (PST) Received: from localhost.localdomain (abxi45.neoplus.adsl.tpnet.pl. [83.9.2.45]) by smtp.gmail.com with ESMTPSA id o8-20020ac24348000000b004b49025f96dsm4510491lfl.187.2023.01.02.08.50.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Jan 2023 08:50:37 -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 v2 1/2] dt-bindings: reserved-memory: rmtfs: Document qcom,assign-to-nav Date: Mon, 2 Jan 2023 17:50:33 +0100 Message-Id: <20230102165034.830620-1-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 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=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753930669835533505?= X-GMAIL-MSGID: =?utf-8?q?1753930669835533505?= 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, add a bool property to toggle this behavior. Signed-off-by: Konrad Dybcio Acked-by: Krzysztof Kozlowski --- v1 -> v2: - Rewrite the newly added description .../devicetree/bindings/reserved-memory/qcom,rmtfs-mem.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/reserved-memory/qcom,rmtfs-mem.yaml b/Documentation/devicetree/bindings/reserved-memory/qcom,rmtfs-mem.yaml index 2998f1c8f0db..4026788a4e40 100644 --- a/Documentation/devicetree/bindings/reserved-memory/qcom,rmtfs-mem.yaml +++ b/Documentation/devicetree/bindings/reserved-memory/qcom,rmtfs-mem.yaml @@ -31,6 +31,12 @@ properties: description: > vmid of the remote processor, to set up memory protection + qcom,assign-to-nav: + type: boolean + description: + Whether to also assign the region to a third (NAV) VM, as opposed to + the usual 2. + required: - qcom,client-id