ARM: dts: msm: Add memshare for tuna

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: I586040870c763494c18b273692d578b9b1a0bc10
Signed-off-by: Fenil Panwala <quic_fpanwala@quicinc.com>
This commit is contained in:
Fenil Panwala
2024-11-28 14:11:08 +05:30
parent 1c735f1609
commit 71b8a2ffaf

View File

@@ -2048,6 +2048,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";
};
};
google,debug-kinfo { google,debug-kinfo {
compatible = "google,debug-kinfo"; compatible = "google,debug-kinfo";
memory-region = <&kinfo_mem>; memory-region = <&kinfo_mem>;