OSDN Git Service

ARM: dts: msm: Enable memory allocation for diag on triton
authorManoj Prabhu B <bmanoj@codeaurora.org>
Thu, 10 Nov 2016 08:19:23 +0000 (13:49 +0530)
committerManoj Prabhu B <bmanoj@codeaurora.org>
Fri, 11 Nov 2016 08:56:22 +0000 (14:26 +0530)
The new diag client requires additional memory from hlos.
This patch caters to diag memory requirement.

CRs-Fixed: 1079523
Change-Id: Ief14bb96bfdc1998b7b9423755daae8d93964672
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
arch/arm/boot/dts/qcom/msmtriton.dtsi

index 8374d27..f5ae92c 100644 (file)
                qcom,pipe-attr-ee;
        };
 
+       qcom,memshare {
+               compatible = "qcom,memshare";
+
+               qcom,client_1 {
+                       compatible = "qcom,memshare-peripheral";
+                       qcom,peripheral-size = <0x200000>;
+                       qcom,client-id = <0>;
+                       qcom,allocate-boot-time;
+                       label = "modem";
+               };
+
+               qcom,client_2 {
+                       compatible = "qcom,memshare-peripheral";
+                       qcom,peripheral-size = <0x300000>;
+                       qcom,client-id = <2>;
+                       label = "modem";
+               };
+
+               mem_client_3_size: qcom,client_3 {
+                       compatible = "qcom,memshare-peripheral";
+                       qcom,peripheral-size = <0x0>;
+                       qcom,client-id = <1>;
+                       label = "modem";
+               };
+       };
+
        tsens: tsens@10ad000 {
                compatible = "qcom,msmtriton-tsens";
                reg = <0x10ad000 0x2000>;