ARM: dts: msm: Add secure display heap configuration for Yupik

Add secure display heap configuration to enable secure memory
allocations for secure display/camera usecases.

Change-Id: I27132f3b1d85458fc9dc77d4969a42c5aa29ad09
This commit is contained in:
Rajeshwar Kurapaty 2020-11-05 12:02:46 +05:30
commit 949604ed19
2 changed files with 14 additions and 0 deletions

View file

@ -15,6 +15,12 @@
reg = <ION_SECURE_HEAP_ID>;
qcom,ion-heap-type = "SYSTEM_SECURE";
};
qcom,ion-heap@10 { /* SECURE DISPLAY HEAP */
reg = <ION_SECURE_DISPLAY_HEAP_ID>;
memory-region = <&secure_display_memory>;
qcom,ion-heap-type = "HYP_CMA";
};
};
};

View file

@ -322,6 +322,14 @@
reg = <0x0 0xc0000000 0x0 0x5100000>;
};
secure_display_memory: secure_display_region {
compatible = "shared-dma-pool";
alloc-ranges = <0 0x00000000 0 0xffffffff>;
reusable;
alignment = <0 0x400000>;
size = <0 0x8c00000>;
};
/* global autoconfigured region for contiguous allocations */
linux,cma {
compatible = "shared-dma-pool";