From patchwork Thu Apr 6 15:25:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 670837 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 205CAC77B6F for ; Thu, 6 Apr 2023 15:26:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238989AbjDFP0R (ORCPT ); Thu, 6 Apr 2023 11:26:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239563AbjDFP0E (ORCPT ); Thu, 6 Apr 2023 11:26:04 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D75DC9EC8 for ; Thu, 6 Apr 2023 08:25:55 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id c9so40867107lfb.1 for ; Thu, 06 Apr 2023 08:25:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680794754; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Jwso8CqMD9AGHGBLzSp/xS2037BXb0OXe0Wu07iPUOQ=; b=cA/bfLPj9+BwjNIqRC0zghZhU6bgLWHjXQwJz6MmGu3QnF6uAny7yFGb6gUAK0Uk5+ eGwnzH39ZK75mleQ6YcSq9VXgfZhQGIajeoh6EsXd0EHELEDv3FqL7y6uF9rAwG6UtGk BV+wUN7SmS+mHdzBAlvhcb0kKOptn7ZfTirH74DHdAimg44O4LStFBXLepNqgtEJwMEH Q2P9i6wWFdTphkDa513cqhkSvxfN/+ZebPf4isxcuKwauXEYkT8vkZ4Y89ePgaotEe0p DlwZQflBWacu5/NZ1V+qZH2oYH1aFsdW+P7zoyZn++yhBuMDKjJkfopsnRoYrD6Q6uIk ODiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680794754; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Jwso8CqMD9AGHGBLzSp/xS2037BXb0OXe0Wu07iPUOQ=; b=08786LUz6q+1bzR0GntjT4Ym/Rzlx+gaM7sHvKsw0KJYuf1dJbOJAQfQpuagNow2aB RLP5RG1zr+knzmzTmPu8HwYgVgpIOB5jaQfgB/fTlI/49dgikoa0rvGL1WDrqPqlkIy5 2YOIbyzXavl0GMbuRaRLufVz5SMmzQy/rBKipbgfzJSU4iJBNnK0TS9rDsHPLhyrZmR5 Q4e3w5a7RbQL9dxiQaayEdIb1YQFIPVk+VMQQw5dovdJZ3bq3UvfpkKU556PZ0vglnqZ 4q61IRua97pAwT6bySGeRoNZCOoSN23Sqtr86WmLJodrt0i6OqhRYGjP2AjkwwY3Dhac 0Pkw== X-Gm-Message-State: AAQBX9crByAW912ddlk/7lCtiKD1sOrgxjwc3fWiu0JqIdflOvB3tCvy Xb8IDT45V2CKASJX/yvOBKFsGA== X-Google-Smtp-Source: AKy350aVCrtbH2QN4u3ULqVcBzcc3Rj4cuJ2LPxL+8YdRjJLX6wp7mlc6IklNtrpx3ZZQ05cSLw8hg== X-Received: by 2002:ac2:43db:0:b0:4cb:4374:cc78 with SMTP id u27-20020ac243db000000b004cb4374cc78mr3040252lfl.26.1680794754131; Thu, 06 Apr 2023 08:25:54 -0700 (PDT) Received: from [192.168.1.101] (abxh37.neoplus.adsl.tpnet.pl. [83.9.1.37]) by smtp.gmail.com with ESMTPSA id h4-20020a197004000000b004cc9042c9cfsm300103lfc.158.2023.04.06.08.25.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Apr 2023 08:25:53 -0700 (PDT) From: Konrad Dybcio Date: Thu, 06 Apr 2023 17:25:51 +0200 Subject: [PATCH 2/4] arm64: dts: qcom: sm6115: Add RMTFS MIME-Version: 1.0 Message-Id: <20230406-topic-lenovo_features-v1-2-c73a5180e48e@linaro.org> References: <20230406-topic-lenovo_features-v1-0-c73a5180e48e@linaro.org> In-Reply-To: <20230406-topic-lenovo_features-v1-0-c73a5180e48e@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Kees Cook , Tony Luck , "Guilherme G. Piccoli" Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1680794750; l=1190; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=x5MHZmqmlYV5OLUnYudsfP3G5g0esVKENrYXJUkL5oQ=; b=VVfhbTr+seJhYw5dXlK2ZZ/smRaMydn7EPAaLxiaGdLgCfiJtXPhhuQGGi98A5cb+iOH19h7/glX a5xxtdBvB3Ydn2SBKN6NJ5/o3bP7fXo0IV5/F6U9wM+Hn4xA1NLP X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add a node for RMTFS and associate it with MSA and NAV IDs to enable modem functionality on SM6115. Signed-off-by: Konrad Dybcio Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 2505c815c65a..99c6550663c8 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -290,6 +291,15 @@ removed_mem: memory@60000000 { reg = <0x0 0x60000000 0x0 0x3900000>; no-map; }; + + rmtfs_mem: memory@89b01000 { + compatible = "qcom,rmtfs-mem"; + reg = <0x0 0x89b01000 0x0 0x200000>; + no-map; + + qcom,client-id = <1>; + qcom,vmid = ; + }; }; rpm-glink {