From 8d54d3baa827afcfda0a323876a6cba900dc112d Mon Sep 17 00:00:00 2001 From: Vijayanand Jitta Date: Tue, 15 Oct 2024 12:00:44 +0530 Subject: [PATCH] ARM: dts: msm: Add mem-offline device for tuna Add the device-tree node for the mem-offline driver to enable memory offlining and convey the sizes of the offlineable memory. Describe the communication channel used to communicate with the firmware which supports onlining and offlining of memory. Change-Id: I448969b10b0e29f44ca2b7949472ea21c63ffb3a Signed-off-by: Vijayanand Jitta --- qcom/tuna.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/qcom/tuna.dtsi b/qcom/tuna.dtsi index 028f99f5..60ca71d4 100644 --- a/qcom/tuna.dtsi +++ b/qcom/tuna.dtsi @@ -44,6 +44,13 @@ ddr-regions { }; + mem-offline { + compatible = "qcom,mem-offline"; + offline-sizes = <0x2 0xc0000000 0x1 0x0>; + granule = <512>; + qcom,qmp = <&aoss_qmp>; + }; + firmware: firmware { qcom_scm: qcom_scm {}; };