From 19bd95a82b102f987e4acd0cb23021de07fb78ef Mon Sep 17 00:00:00 2001 From: Manoj Prabhu B Date: Fri, 24 Jul 2020 13:14:26 +0530 Subject: [PATCH] ARM: dts: msm: Add memshare for holi Memshare driver allocates and share the memory with the modem clients for their use. The device tree information for memshare driver on holi are added to specify client details. Change-Id: Id12ee52a8a8f4614e95cf1f8b1f05dd50cc2aa1b --- qcom/holi.dtsi | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/qcom/holi.dtsi b/qcom/holi.dtsi index 30b9a08dc5a3..097f89fec0dc 100644 --- a/qcom/holi.dtsi +++ b/qcom/holi.dtsi @@ -935,6 +935,33 @@ status = "disabled"; }; + 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";