From 7643ea63a8facfb2d373b3d076197fcfa22418d0 Mon Sep 17 00:00:00 2001 From: Manoj Prabhu B Date: Mon, 18 Dec 2023 13:11:17 +0530 Subject: [PATCH] ARM: dts: msm: Add more memshare client nodes Memshare driver allocates and share the memory with the modem clients for their use. The device tree information for memshare driver on sun are added to specify client details of gps, ftm and diag. Change-Id: I2dbe8729da13e40cebf4b2fd2e0722eb97c50f9e Signed-off-by: Manoj Prabhu B --- qcom/sun.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/qcom/sun.dtsi b/qcom/sun.dtsi index 61a7b6c0..427ec21c 100644 --- a/qcom/sun.dtsi +++ b/qcom/sun.dtsi @@ -1312,6 +1312,29 @@ 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"; + }; + qcom,client_4 { compatible = "qcom,memshare-peripheral"; qcom,peripheral-size = <0x1000000>;