From 1cdd2197d2c0fe2eac791dc9add144fc171e7f34 Mon Sep 17 00:00:00 2001 From: Yadu MG Date: Wed, 9 Nov 2022 14:59:21 +0530 Subject: [PATCH] ARM: dts: msm: Add secure display dma buf heap for Lemans Add secure display dma buf heap nodes for dma-buf heaps dirver on Lemans. Change-Id: I7d196ecea83a655d61b16d7ebc6505dee0be5637 --- qcom/lemans-dma-heaps.dtsi | 6 ++++++ qcom/lemans.dtsi | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/qcom/lemans-dma-heaps.dtsi b/qcom/lemans-dma-heaps.dtsi index 4bf89fdf..87f446c4 100644 --- a/qcom/lemans-dma-heaps.dtsi +++ b/qcom/lemans-dma-heaps.dtsi @@ -24,6 +24,12 @@ memory-region = <&non_secure_display_memory>; }; + qcom,secure_display { + qcom,dma-heap-name = "qcom,secure-display"; + qcom,dma-heap-type = ; + memory-region = <&secure_display_memory>; + }; + qcom,adsp { qcom,dma-heap-name = "qcom,adsp"; qcom,dma-heap-type = ; diff --git a/qcom/lemans.dtsi b/qcom/lemans.dtsi index d69a1497..96e6f72b 100644 --- a/qcom/lemans.dtsi +++ b/qcom/lemans.dtsi @@ -422,6 +422,14 @@ alignment = <0x0 0x400000>; }; + secure_display_memory: secure_display_region { + compatible = "shared-dma-pool"; + alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; + reusable; + alignment = <0x0 0x400000>; + size = <0x0 0xA000000>; + }; + user_contig_mem: user_contig_region { compatible = "shared-dma-pool"; alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;