From 93d11bc446324ae5998bb8aa8f6a68fbfe556740 Mon Sep 17 00:00:00 2001 From: Manoj Prabhu B Date: Thu, 10 Nov 2022 13:56:14 +0530 Subject: [PATCH] ARM: dts: msm: Enable memshare allocations for ravelin Enable memshare allocations for ravelin. Overwrite the memory requirement of diag memory client from memshare driver for ravelin-4gb in its variant dtsi. Change-Id: Ib209ce439f462c47d03bda2a9b9fc7234ec895e1 --- qcom/ravelin-4gb.dtsi | 4 ++++ qcom/ravelin.dtsi | 27 +++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/qcom/ravelin-4gb.dtsi b/qcom/ravelin-4gb.dtsi index 4a2add1a..898bec7f 100644 --- a/qcom/ravelin-4gb.dtsi +++ b/qcom/ravelin-4gb.dtsi @@ -2,5 +2,9 @@ / { }; +&mem_client_3_size { + qcom,peripheral-size = <0x200000>; +}; + &soc { }; diff --git a/qcom/ravelin.dtsi b/qcom/ravelin.dtsi index 1285b084..97ae8376 100644 --- a/qcom/ravelin.dtsi +++ b/qcom/ravelin.dtsi @@ -702,6 +702,33 @@ #mbox-cells = <2>; }; + qcom,memshare { + compatible = "qcom,memshare"; + + qcom,client_1 { + compatible = "qcom,memshare-peripheral"; + qcom,peripheral-size = <0x0>; + qcom,client-id = <0>; + qcom,allocate-boot-time; + label = "modem"; + }; + + qcom,client_2 { + compatible = "qcom,memshare-peripheral"; + qcom,peripheral-size = <0x0>; + qcom,client-id = <2>; + label = "modem"; + }; + + mem_client_3_size: qcom,client_3 { + compatible = "qcom,memshare-peripheral"; + qcom,peripheral-size = <0x500000>; + qcom,client-id = <1>; + qcom,allocate-on-request; + label = "modem"; + }; + }; + clocks { xo_board: xo_board { compatible = "fixed-clock";