From 45ca3e5e38384cc089c74a14f17e02af5aaee881 Mon Sep 17 00:00:00 2001 From: Fenil Panwala Date: Mon, 2 Dec 2024 11:12:15 +0530 Subject: [PATCH] ARM: dts: msm: Add memshare for Kera Memshare driver allocates and share the memory with the modem clients for their use. The device tree information for memshare driver on tuna is added to specify client details. Change-Id: I577cccac63d4aeb54dcf7a9470cd8672c6c016d4 Signed-off-by: Fenil Panwala --- qcom/kera.dtsi | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/qcom/kera.dtsi b/qcom/kera.dtsi index 24e7166a..13d4b103 100644 --- a/qcom/kera.dtsi +++ b/qcom/kera.dtsi @@ -1486,6 +1486,51 @@ }; }; + 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_ims_1 { + compatible = "qcom,memshare-peripheral"; + qcom,peripheral-size = <0x100000>; + qcom,client-id = <7>; + qcom,allocate-on-request; + qcom,shared; + label = "modem"; + }; + + qcom,client_ims_2 { + compatible = "qcom,memshare-peripheral"; + qcom,peripheral-size = <0x100000>; + qcom,client-id = <8>; + qcom,allocate-on-request; + qcom,shared; + label = "modem"; + }; + }; + eud: qcom,msm-eud@88e0000 { compatible = "qcom,msm-eud"; interrupt-names = "eud_irq";