From 8a97afb80c7d944f513120d3471347b3f5df5277 Mon Sep 17 00:00:00 2001 From: Sanjay Date: Mon, 19 Sep 2022 13:51:27 +0530 Subject: [PATCH] ARM: dts: msm: Add memshare for scuba_auto Add memshare dt node for scuba_auto Change-Id: Ie5f121fc2d6511465a5b8b08f28850cc3f65c216 --- qcom/scuba_auto.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/qcom/scuba_auto.dtsi b/qcom/scuba_auto.dtsi index b1ed5250..2c7d2fe0 100644 --- a/qcom/scuba_auto.dtsi +++ b/qcom/scuba_auto.dtsi @@ -1055,6 +1055,34 @@ qcom,client-id = <0x00000001>; qcom,guard-memory; }; + + 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>; + memory-region = <&memshare_mem>; + qcom,client-id = <1>; + qcom,allocate-on-request; + label = "modem"; + }; + }; }; #include "pm2250-rpm-regulator.dtsi"