From patchwork Fri Apr 7 19:54:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 81013 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp503723vqo; Fri, 7 Apr 2023 13:07:15 -0700 (PDT) X-Google-Smtp-Source: AKy350ZkDeBbpsnWGJ/rokX5hFAY9Z4mYlD6CzlXM0m5VoJgdZSlaC8K1np+LoZD59TA11877/bd X-Received: by 2002:a17:906:ae41:b0:946:c1d2:8b5d with SMTP id lf1-20020a170906ae4100b00946c1d28b5dmr460509ejb.17.1680898035119; Fri, 07 Apr 2023 13:07:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680898035; cv=none; d=google.com; s=arc-20160816; b=hc6YeHkZlfAPJrcyG5WUznVS1LvlQNvRBLJDEER2eNlNMYvZ8SAdH5XtMB/3/lHxtb uoiHZYy/zBJv3CPCjTISiZLBZKhrikMgAjHE3dxnxSyLCNdKaRlKTKo4MwqBLGyjkagi 7CpzerXMvhGB88KVrPi/pmWvlDCfyRYQhoVPIQoutCpsgEe0YDmoQE/lyabY1qmLqXN8 70DUm3G65xdwsceYmz9VWaGRNr+jCv4NmwJgeqBn31Hq9e63vf+Lh3JsRS2VysL3lS+d DMX13RAjMNJcAKnx+Dl93uEReCHLjRCWpmsodpCI6rAR9Z2zQNbvElRA8c+IPk1OqBVL iP5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=5hc2CsV2PdwIrwzsquuwQ6o8Ebf/JgkdU7cj1UvOiFY=; b=QB4lSA3Y5uef/eT1tsU0prPVeB2pbUM06hj6POLtG8BgUm2qobFSLarWSfqPCp7oTd nud+MTIsFUvStbaPRon+YiNyQpJMC2fQOXVaboDM5d9nLC+69+gtoD8G8C4VZO9pxFRt P7ihGkAhMpEjnFMCCfjo8h0xqqDJe2juXXSWdlwEWc56E6WkWxoJXnOpw1Vn50WkEJkT XH2fDZCRcJFJx8eHwaklWsR/cRJ4t/90HdDckDMkmPgRsOmkKxYNrJVs5eyllKsCuV/P 62FsROI1DIqxLPaSNkElHiHMuGt1nw0LNEm1I9xeGW37g18xYyfk158wtqxMdgoiqcL4 cXiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QvQt0Ei+; 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 u6-20020aa7d0c6000000b004fba7349857si3637039edo.421.2023.04.07.13.06.50; Fri, 07 Apr 2023 13:07:15 -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=QvQt0Ei+; 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 S231390AbjDGTzJ (ORCPT + 99 others); Fri, 7 Apr 2023 15:55:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231293AbjDGTyw (ORCPT ); Fri, 7 Apr 2023 15:54:52 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52722A5D5 for ; Fri, 7 Apr 2023 12:54:51 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id c9so45220890lfb.1 for ; Fri, 07 Apr 2023 12:54:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680897289; 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=5hc2CsV2PdwIrwzsquuwQ6o8Ebf/JgkdU7cj1UvOiFY=; b=QvQt0Ei+1MDhYXEJ07cnGLSac1IxZsgQMdLEILTL+nv/+Ks/4Lvaa4cLWm4j6nQp9L mGDwAyQIExKHg3wa/3GtozueaeeN67KgioUY05VLevyQMgj5ti2Cqjgm3krfDrcHsFwV KLcP9mqjtpfTGMyL94juV8bN4Wsf9kS/+NOtVNjTkuYJSJKXDqIVA9fvJ1GSTMN1ILBF eh8SGNJe6V6Tdpkfknv+D0p+xd3H9ha4z1ojcZRWKk6rBqGmGlXFmkivHsao/pVW6LmX fSiVaN+bmiRngu5fAPM8jmFcEKL/R6oIa7BrDU/rmVJFFMvZM78E5tlWSTXnV3ItxSsB n8pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680897289; 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=5hc2CsV2PdwIrwzsquuwQ6o8Ebf/JgkdU7cj1UvOiFY=; b=3H23B1+9D7wJIX+U3FE+AQMiqt6ARqrD6GxfNuCngEkoWm7ygMUgUXd+9/CKW2H6NH Vi+7KAZxJ3bvqkgLlEan+6t7JU6g2Ux9n9JzZ0KxLc7P7pPzINqDiDki/lkaIFIbhCI7 8Dii21gk6UCwHB9wTC2bZc+fbE5vj0pKkmKqnrWy2q4Xi1CE7rX+MBOIPoSXkQoGRLXO pVmFnwmTyoXd27n3n+Kr0jmIhB8rUcC0f39gsTR5Kf9jIfNMZOddU+w8XWTP8ol6ygKi fbdr1CzQ/oDgu3cKsSACfH0fKbeP1vFTUbp9kwTzCGoyvw4+P/XsTZfJ4zNUscPSOobq mSNA== X-Gm-Message-State: AAQBX9czxJTR9+GRbUPPlYws8jlOD6ApTr6SZjEBP807jYjwgqY3z1To b1XJLFY1PhvLeZzMF5DiiEXSjQ== X-Received: by 2002:ac2:5094:0:b0:4eb:3cac:23b9 with SMTP id f20-20020ac25094000000b004eb3cac23b9mr764776lfm.9.1680897289310; Fri, 07 Apr 2023 12:54:49 -0700 (PDT) Received: from [192.168.1.101] (abxh37.neoplus.adsl.tpnet.pl. [83.9.1.37]) by smtp.gmail.com with ESMTPSA id u5-20020ac248a5000000b004d856fe5121sm839981lfg.194.2023.04.07.12.54.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 12:54:48 -0700 (PDT) From: Konrad Dybcio Date: Fri, 07 Apr 2023 21:54:42 +0200 Subject: [PATCH v2 2/4] arm64: dts: qcom: sm6115: Add RMTFS MIME-Version: 1.0 Message-Id: <20230406-topic-lenovo_features-v2-2-625d7cb4a944@linaro.org> References: <20230406-topic-lenovo_features-v2-0-625d7cb4a944@linaro.org> In-Reply-To: <20230406-topic-lenovo_features-v2-0-625d7cb4a944@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 , Dmitry Baryshkov X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1680897283; l=1251; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=IIk+twEwz0LlHdxtIsrn9UJGLOCT8VZyIM/WB4QSvH0=; b=I9rgSh4Kma+lc/Zkd3I2PwnJjpRVICDW88ksWJU/j7VwMjJs4MCqm1bT39j3aVdu+jnXciLSG1Pj CxRQkMzUDTkGjcgbvNxsfMJQzXoTENCv6Wxik2nL2Z6arW/YRZv8 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762549337867217396?= X-GMAIL-MSGID: =?utf-8?q?1762549337867217396?= Add a node for RMTFS and associate it with MSA and NAV IDs to enable modem functionality on SM6115. Reviewed-by: Dmitry Baryshkov Signed-off-by: Konrad Dybcio --- 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 {