From c6e0b30f07842e25d8841c51efe1c763b474c8e5 Mon Sep 17 00:00:00 2001 From: Vivek Kumar Date: Mon, 24 Jan 2022 15:17:31 +0530 Subject: [PATCH] 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 --- qcom/sm8150-dma-heaps.dtsi | 52 ++++++++++++++++++++++++++++++++++++++ qcom/sm8150.dtsi | 1 + 2 files changed, 53 insertions(+) create mode 100644 qcom/sm8150-dma-heaps.dtsi diff --git a/qcom/sm8150-dma-heaps.dtsi b/qcom/sm8150-dma-heaps.dtsi new file mode 100644 index 00000000..3b46c5b0 --- /dev/null +++ b/qcom/sm8150-dma-heaps.dtsi @@ -0,0 +1,52 @@ +#include + +&soc { + qcom,dma-heaps { + compatible = "qcom,dma-heaps"; + + qcom,adsp { + qcom,dma-heap-name = "qcom,adsp"; + qcom,dma-heap-type = ; + memory-region = <&adsp_mem>; + }; + + qcom,secure_cdsp { + qcom,dma-heap-name = "qcom,secure-cdsp"; + qcom,dma-heap-type = ; + memory-region = <&cdsp_sec_mem>; + qcom,token = <0x20000000>; + }; + + qcom,sp_hlos { + qcom,dma-heap-name = "qcom,sp-hlos"; + qcom,dma-heap-type = ; + memory-region = <&sp_mem>; + }; + + qcom,user_contig { + qcom,dma-heap-name = "qcom,user-contig"; + qcom,dma-heap-type = ; + memory-region = <&user_contig_mem>; + }; + + qcom,qseecom { + qcom,dma-heap-name = "qcom,qseecom"; + qcom,dma-heap-type = ; + memory-region = <&qseecom_mem>; + }; + + qcom,qseecom_ta { + qcom,dma-heap-name = "qcom,qseecom-ta"; + qcom,dma-heap-type = ; + memory-region = <&qseecom_ta_mem>; + }; + + qcom,display { + qcom,dma-heap-name = "qcom,display"; + qcom,dma-heap-type = ; + qcom,max-align = <9>; + memory-region = <&secure_display_memory>; + }; + + }; +}; diff --git a/qcom/sm8150.dtsi b/qcom/sm8150.dtsi index 2ac66ba2..782e95cb 100644 --- a/qcom/sm8150.dtsi +++ b/qcom/sm8150.dtsi @@ -619,3 +619,4 @@ #include "sm8150-regulator.dtsi" #include "sm8150-pinctrl.dtsi" +#include "sm8150-dma-heaps.dtsi"