dt-bindings: Remove user_contig_region CMA region

Free reserved memory from user_contig_region on parrot so
that it can be used as a non reserved memory. Also add a
separate prorperty no-user-contig-mem to make sure that
user-contig-mem reserved memory is not present even as a
node in qseecom.c .

Change-Id: If0f3a86e3ec79b4358ea2821f6f2663824accc09
This commit is contained in:
Sonal Aggarwal
2022-08-01 18:37:51 +05:30
parent 09b8883dd1
commit 27eedab268
2 changed files with 1 additions and 15 deletions

View File

@@ -28,12 +28,6 @@
memory-region = <&non_secure_display_memory>;
};
qcom,user_contig {
qcom,dma-heap-name = "qcom,user-contig";
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
memory-region = <&user_contig_mem>;
};
qcom,qseecom {
qcom,dma-heap-name = "qcom,qseecom";
qcom,dma-heap-type = <HEAP_TYPE_CMA>;

View File

@@ -447,14 +447,6 @@
alignment = <0x0 0x400000>;
};
user_contig_mem: user_contig_region {
compatible = "shared-dma-pool";
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
reusable;
alignment = <0x0 0x400000>;
size = <0x0 0x1000000>;
};
qseecom_mem: qseecom_region {
compatible = "shared-dma-pool";
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
@@ -1803,7 +1795,6 @@
memory-region = <&qseecom_mem>;
qseecom_mem = <&qseecom_mem>;
qseecom_ta_mem = <&qseecom_ta_mem>;
user_contig_mem = <&user_contig_mem>;
qcom,hlos-num-ce-hw-instances = <1>;
qcom,hlos-ce-hw-instance = <0>;
qcom,qsee-ce-hw-instance = <0>;
@@ -1812,6 +1803,7 @@
qcom,appsbl-qseecom-support;
qcom,commonlib64-loaded-by-uefi;
qcom,qsee-reentrancy-support = <2>;
qcom,no-user-contig-mem-support;
};
qcom_cedev: qcedev@1de0000 {