Merge "ARM: dts: msm: Add secure dma-buf heap support for neo"

This commit is contained in:
qctecmdr
2022-05-12 09:05:21 -07:00
committed by Gerrit - the friendly Code Review server
2 changed files with 60 additions and 0 deletions

View File

@@ -28,6 +28,34 @@
memory-region = <&lsr_misc_mem_heap>;
};
qcom,secure_lsr_lefteye {
qcom,dma-heap-name = "qcom,secure_lsr_lefteye";
qcom,dma-heap-type = <HEAP_TYPE_SECURE_CARVEOUT>;
memory-region = <&secure_lsr_lefteye_mem_heap>;
qcom,token = <0x80000>;
};
qcom,secure_lsr_righteye {
qcom,dma-heap-name = "qcom,secure_lsr_righteye";
qcom,dma-heap-type = <HEAP_TYPE_SECURE_CARVEOUT>;
memory-region = <&secure_lsr_righteye_mem_heap>;
qcom,token = <0x80000>;
};
qcom,secure_lsr_depth {
qcom,dma-heap-name = "qcom,secure_lsr_depth";
qcom,dma-heap-type = <HEAP_TYPE_SECURE_CARVEOUT>;
memory-region = <&secure_lsr_depth_mem_heap>;
qcom,token = <0x80000>;
};
qcom,secure_lsr_misc {
qcom,dma-heap-name = "qcom,secure_lsr_misc";
qcom,dma-heap-type = <HEAP_TYPE_SECURE_CARVEOUT>;
memory-region = <&secure_lsr_misc_mem_heap>;
qcom,token = <0x80000>;
};
qcom,user_contig {
qcom,dma-heap-name = "qcom,user-contig";
qcom,dma-heap-type = <HEAP_TYPE_CMA>;

View File

@@ -331,6 +331,38 @@
alignment = <0x0 0x400000>;
size = <0x0 0x2800000>;
};
secure_lsr_lefteye_mem_heap: secure_lsr_lefteye_region {
compatible = "shared-dma-pool";
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
no-map;
alignment = <0x0 0x400000>;
size = <0x0 0xC00000>;
};
secure_lsr_righteye_mem_heap: secure_lsr_righteye_region {
compatible = "shared-dma-pool";
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
no-map;
alignment = <0x0 0x400000>;
size = <0x0 0xC00000>;
};
secure_lsr_depth_mem_heap: secure_lsr_depth_region {
compatible = "shared-dma-pool";
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
no-map;
alignment = <0x0 0x400000>;
size = <0x0 0x100000>;
};
secure_lsr_misc_mem_heap: secure_lsr_misc_region {
compatible = "shared-dma-pool";
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
no-map;
alignment = <0x0 0x400000>;
size = <0x0 0x2800000>;
};
};
&soc {