From e436a968e32e6b5a4688a766229bb30c42161488 Mon Sep 17 00:00:00 2001 From: Manoj Prabhu B Date: Tue, 7 Apr 2020 13:26:39 +0530 Subject: [PATCH] ARM: dts: msm: Add memshare for lahaina Memshare driver allocates and share the memory with the modem clients for their use. The device tree information for memshare driver on lahaina are added to specify client details. Change-Id: I1ec3f9ed9cf4d7bfba8eea19574b15fe473c18ad --- qcom/lahaina.dtsi | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index d72db9a2a2c2..66756625bd34 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -2247,6 +2247,33 @@ qcom,coresight-jtagmm-cpu = <&CPU7>; }; + 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"; + }; + + 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";