mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
ARM: dts: msm: Add secure dma-buf heap support for neo
Added below secure dma-buf pool support for neo. 1. qcom,secure_lsr_lefteye 2. qcom,secure_lsr_righteye 3. qcom,secure_lsr_depth 4. qcom,secure_lsr_misc Usecase demands contigious memory, so allocated from HEAP_TYPE_SECURE_CARVEOUT. Change-Id: I0cb82251f7fa00cb9b75dcf6faac35758b330acb
This commit is contained in:
@@ -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>;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user