mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 05:00:27 +00:00
ARM: dts: msm: Add the dma-buf heaps device node for sm8150
Add the dma-buf heaps device node for the dma-buf heaps driver on sm8150. Change-Id: Ide986ed6a376c063b9fd0009a4f28034154617ad
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
3d11fbaef1
commit
c6e0b30f07
52
qcom/sm8150-dma-heaps.dtsi
Normal file
52
qcom/sm8150-dma-heaps.dtsi
Normal file
@@ -0,0 +1,52 @@
|
||||
#include <dt-bindings/arm/msm/qcom_dma_heap_dt_constants.h>
|
||||
|
||||
&soc {
|
||||
qcom,dma-heaps {
|
||||
compatible = "qcom,dma-heaps";
|
||||
|
||||
qcom,adsp {
|
||||
qcom,dma-heap-name = "qcom,adsp";
|
||||
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
|
||||
memory-region = <&adsp_mem>;
|
||||
};
|
||||
|
||||
qcom,secure_cdsp {
|
||||
qcom,dma-heap-name = "qcom,secure-cdsp";
|
||||
qcom,dma-heap-type = <HEAP_TYPE_SECURE_CARVEOUT>;
|
||||
memory-region = <&cdsp_sec_mem>;
|
||||
qcom,token = <0x20000000>;
|
||||
};
|
||||
|
||||
qcom,sp_hlos {
|
||||
qcom,dma-heap-name = "qcom,sp-hlos";
|
||||
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
|
||||
memory-region = <&sp_mem>;
|
||||
};
|
||||
|
||||
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>;
|
||||
memory-region = <&qseecom_mem>;
|
||||
};
|
||||
|
||||
qcom,qseecom_ta {
|
||||
qcom,dma-heap-name = "qcom,qseecom-ta";
|
||||
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
|
||||
memory-region = <&qseecom_ta_mem>;
|
||||
};
|
||||
|
||||
qcom,display {
|
||||
qcom,dma-heap-name = "qcom,display";
|
||||
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
|
||||
qcom,max-align = <9>;
|
||||
memory-region = <&secure_display_memory>;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
@@ -619,3 +619,4 @@
|
||||
|
||||
#include "sm8150-regulator.dtsi"
|
||||
#include "sm8150-pinctrl.dtsi"
|
||||
#include "sm8150-dma-heaps.dtsi"
|
||||
|
||||
Reference in New Issue
Block a user